lkml.org 
[lkml]   [2008]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 4/7] kgdb-light-v10: print breakpoint removed on exception
Date
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>
---
kernel/kgdb.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/kgdb.c b/kernel/kgdb.c
index 9d42e0a..b516de0 100644
--- a/kernel/kgdb.c
+++ b/kernel/kgdb.c
@@ -1309,7 +1309,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;
--
1.5.4


\
 
 \ /
  Last update: 2008-02-15 22:01    [from the cache]
©2003-2011 Jasper Spaans