Date: Wed, 15 Sep 2004 11:04:23 -1000 From: Kip McAtee <kmcatee@firetide.com> To: freebsd-current@freebsd.org Subject: remote kernel gdb stack frames corrupted after breakpoint or step Message-ID: <200409151104.23912.kmcatee@firetide.com>
next in thread | raw e-mail | index | archive | help
Greetings- 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 sysctl debug.kdb.enter=1 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); (kgdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. Looking at the backtrace implies that the stack frames are not displayed correctly. I'm setting: machine i386 cpu I486_CPU cpu I586_CPU options CPU_ELAN options CPU_GEODE makeoptions DEBUG=-g options KDB options DDB options GDB All flavors of step, next, etc are failing, but I can dereference variables in the current stack frame. Thanks- Kip
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409151104.23912.kmcatee>