diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2010-11-15 14:07:35 (GMT) |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-11-17 19:54:57 (GMT) |
commit | 10a6e67648d4b47769953bd24759ba9609bf00df (patch) | |
tree | 87a7381db182f858bda6b275c421ee01f674b5de /lib/iomap_copy.c | |
parent | 5450d904054b4ed582793ad6ecb5469f03cc4c46 (diff) | |
download | linux-fsl-qoriq-10a6e67648d4b47769953bd24759ba9609bf00df.tar.xz |
kgdb,x86: fix regression in detach handling
The fix from ba773f7c510c0b252145933926c636c439889207
(x86,kgdb: Fix hw breakpoint regression) was not entirely complete.
The kgdb_remove_all_hw_break() function also needs to call the
hw_break_release_slot() or else a breakpoint can get activated again
after the debugger has detached.
The kgdb test suite exposes the behavior in the form of either a hang
or repetitive failure. The kernel config that exposes the problem
contains all of the following:
CONFIG_DEBUG_RODATA=y
CONFIG_KGDB_TESTS=y
CONFIG_KGDB_TESTS_ON_BOOT=y
CONFIG_KGDB_TESTS_BOOT_STRING="V1F100"
Reported-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Tested-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'lib/iomap_copy.c')
0 files changed, 0 insertions, 0 deletions