Date: Tue, 06 Jan 2004 14:46:05 +0000 From: Peter Edwards <petere@openet-telecom.com> To: Ian Dowse <iedowse@maths.tcd.ie> Cc: shoesoft@gmx.net Subject: Re: gdb stack frames (was Re: page fault panic tracked down...) Message-ID: <3FFACA2D.3080706@openet-telecom.com> In-Reply-To: <200401052146.aa91449@salmon.maths.tcd.ie> References: <200401052146.aa91449@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
Ian Dowse wrote: >Of course this doesn't explain why gdb mostly works on userland >programs, so it could just be that I didn't try hard enough to find >the right registers. Certainly as-is, gdb does not know how to >retrieve all the saved registers from a kernel trap frame itself. > > Hi Ian, Whatever about the rest of the trap frame, unwinding through traps has been broken for some time due to some FreeBSD specific code not being actually compiled into GDB: See PR 60732 >Of course this doesn't explain why gdb mostly works on userland >programs, > Obviously you don't debug mutithreaded programs:-) (There's some old PRs lying about for that too...) -- Peter.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FFACA2D.3080706>