kgdb: print breakpoint removed on exception
authorJason Wessel <jason.wessel@windriver.com>
Fri, 15 Feb 2008 20:55:55 +0000 (14:55 -0600)
committerIngo Molnar <mingo@elte.hu>
Thu, 17 Apr 2008 18:05:39 +0000 (20:05 +0200)
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>
kernel/kgdb.c

index e3f6037404256412f595fb921ee0824640b9f184..319c08c92ee2c537d5ec1b09fdf6d1a0ab110217 100644 (file)
@@ -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;