This commit broke gdb, since any BREAK or TRAP instruction cause SIGSEGV.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
die_if_kernel("Break instruction in kernel code", regs);
force_sig(SIGTRAP, current);
}
die_if_kernel("Break instruction in kernel code", regs);
force_sig(SIGTRAP, current);
}
out_sigsegv:
force_sig(SIGSEGV, current);
out_sigsegv:
force_sig(SIGSEGV, current);
die_if_kernel("Trap instruction in kernel code", regs);
force_sig(SIGTRAP, current);
}
die_if_kernel("Trap instruction in kernel code", regs);
force_sig(SIGTRAP, current);
}
out_sigsegv:
force_sig(SIGSEGV, current);
out_sigsegv:
force_sig(SIGSEGV, current);