summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.kgdb
diff options
context:
space:
mode:
authorJason Wessel2010-05-21 04:04:25 +0200
committerJason Wessel2010-05-21 04:04:25 +0200
commitba797b28131b1f1367b662936ea370239d603cff (patch)
tree3939c2cf1ced75fc9a14339cf369a32c85c7f7fe /lib/Kconfig.kgdb
parentx86,kgdb: Add low level debug hook (diff)
downloadkernel-qcow2-linux-ba797b28131b1f1367b662936ea370239d603cff.tar.gz
kernel-qcow2-linux-ba797b28131b1f1367b662936ea370239d603cff.tar.xz
kernel-qcow2-linux-ba797b28131b1f1367b662936ea370239d603cff.zip
powerpc,kgdb: Introduce low level trap catching
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 allow the kernel debugger to handle the exception first in program_check_exception(). The other change here is to make sure that kgdb_handle_exception() is called with correct parameters when catching an oops, because kdb needs to know if the entry was an oops, single step, or breakpoint exception. [benh@kernel.crashing.org: move debugger_bpt instead of #ifdef] CC: Paul Mackerras <paulus@samba.org> Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'lib/Kconfig.kgdb')
0 files changed, 0 insertions, 0 deletions