remote kernel gdb stack frames corrupted after breakpoint or step
kmcatee at firetide.com
Wed Sep 15 14:04:26 PDT 2004
I'm building on 5.3-BETA4 (and 6.0 current)
with gdb (and kgdb) 6.1.1.
I can get into the remote kernel debugger with
I can set a breakpoint and continue.
When it hits the breakpoint I get:
Breakpoint 2, wakeup (ident=0xc0c0f9e8) at ../../../kern/kern_synch.c:253
253 sleepq_broadcast(ident, SLEEPQ_MSLEEP, -1);
Program received signal SIGSEGV, Segmentation fault.
Looking at the backtrace implies that the stack frames
are not displayed correctly. I'm setting:
All flavors of step, next, etc are failing, but I
can dereference variables in the current stack frame.
More information about the freebsd-current