diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-07-28 19:10:30 -0500 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-07-28 19:10:30 -0500 |
commit | ba773f7c510c0b252145933926c636c439889207 (patch) | |
tree | 97983dc7a149487a7926f1efc2619fafcc8cc93c /fs/debugfs | |
parent | fc0f5ac8fe693d1b05f5a928cc48135d1c8b7f2e (diff) |
x86,kgdb: Fix hw breakpoint regression
HW breakpoints events stopped working correctly with kgdb
as a result of commit: 018cbffe6819f6f8db20a0a3acd9bab9bfd667e4
(Merge commit 'v2.6.33' into perf/core).
The regression occurred because the behavior changed for setting
NOTIFY_STOP as the return value to the die notifier if the breakpoint
was known to the HW breakpoint API. Because kgdb is using the HW
breakpoint API to register HW breakpoints slots, it must also now
implement the overflow_handler call back else kgdb does not get to see
the events from the die notifier.
The kgdb_ll_trap function will be changed to be general purpose code
which can allow an easy way to implement the hw_breakpoint API
overflow call back.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Acked-by: Dongdong Deng <dongdong.deng@windriver.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions