aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/kgdb.c
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2008-02-15 15:55:55 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 14:05:39 -0400
commit67baf94cd260dc37504dbd15ba3faa2d8cf8a444 (patch)
tree0a162e5ddb4166862bb2ba002efa18a0bcb83a57 /kernel/kgdb.c
parent7c3078b637882303b1dcf6a16229d0e35f6b60a5 (diff)
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 <jason.wessel@windriver.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/kgdb.c')
-rw-r--r--kernel/kgdb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/kgdb.c b/kernel/kgdb.c
index e3f603740425..319c08c92ee2 100644
--- a/kernel/kgdb.c
+++ b/kernel/kgdb.c
@@ -1327,7 +1327,8 @@ static int kgdb_reenter_check(struct kgdb_state *ks)
1327 exception_level = 0; 1327 exception_level = 0;
1328 kgdb_skipexception(ks->ex_vector, ks->linux_regs); 1328 kgdb_skipexception(ks->ex_vector, ks->linux_regs);
1329 kgdb_activate_sw_breakpoints(); 1329 kgdb_activate_sw_breakpoints();
1330 printk(KERN_CRIT "KGDB: re-enter error: breakpoint removed\n"); 1330 printk(KERN_CRIT "KGDB: re-enter error: breakpoint removed %lx\n",
1331 addr);
1331 WARN_ON_ONCE(1); 1332 WARN_ON_ONCE(1);
1332 1333
1333 return 1; 1334 return 1;