Files
linux/arch/mips/kernel
Jason Wessel 5dd11d5d47 mips,kgdb: kdb low level trap catch and stack trace
The only way the debugger can handle a trap in inside rcu_lock,
notify_die, or atomic_notifier_call_chain without a recursive fault is
to have a low level "first opportunity handler" do_trap_or_bp() handler.

Generally this will be something the vast majority of folks will not
need, but for those who need it, it is added as a kernel .config
option called KGDB_LOW_LEVEL_TRAP.

Also added was a die notification for oops such that kdb can catch an
oops for analysis.

There appeared to be no obvious way to pass the struct pt_regs from
the original exception back to the stack back tracer, so a special
case was added to show_stack() for when kdb is active because you
generally desire to generally look at the back trace of the original
exception.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
2010-05-20 21:04:26 -05:00
..
2008-05-01 08:03:58 -07:00
2009-12-10 15:02:50 +01:00
2010-04-12 17:26:14 +01:00
2009-08-03 17:52:40 +01:00
2009-07-12 12:22:34 -07:00
2010-03-12 15:52:39 -08:00
2006-12-10 21:52:11 +00:00
2010-04-12 17:26:14 +01:00
2009-06-24 18:34:40 +01:00
2009-12-17 01:57:30 +00:00
2010-04-12 17:26:14 +01:00