Skip to content

Commit

Permalink
kgdb: print breakpoint removed on exception
Browse files Browse the repository at this point in the history
If kgdb does remove a breakpoint that had a problem on the recursion
check, it should also print the address of the breakpoint.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Jason Wessel authored and Ingo Molnar committed Apr 17, 2008
1 parent 7c3078b commit 67baf94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel/kgdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,8 @@ static int kgdb_reenter_check(struct kgdb_state *ks)
exception_level = 0;
kgdb_skipexception(ks->ex_vector, ks->linux_regs);
kgdb_activate_sw_breakpoints();
printk(KERN_CRIT "KGDB: re-enter error: breakpoint removed\n");
printk(KERN_CRIT "KGDB: re-enter error: breakpoint removed %lx\n",
addr);
WARN_ON_ONCE(1);

return 1;
Expand Down

0 comments on commit 67baf94

Please sign in to comment.