From: Jason Wessel Date: Fri, 15 Feb 2008 20:55:55 +0000 (-0600) Subject: kgdb: print breakpoint removed on exception X-Git-Tag: v2.6.26-rc1~1153^2~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67baf94cd260dc37504dbd15ba3faa2d8cf8a444;p=linux-2.6 kgdb: print breakpoint removed on exception 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 Signed-off-by: Ingo Molnar --- diff --git a/kernel/kgdb.c b/kernel/kgdb.c index e3f6037404..319c08c92e 100644 --- a/kernel/kgdb.c +++ b/kernel/kgdb.c @@ -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;