Re: gdb stack frames (was Re: page fault panic tracked down...)

From: Peter Edwards <petere_at_openet-telecom.com>
Date: Tue, 06 Jan 2004 14:46:05 +0000
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.
Received on Tue Jan 06 2004 - 05:47:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:36 UTC