This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Variable locations in a loaded kernel (bsd.gdb)
- To: Joshua Lamorie <jpl at xiphos dot ca>
- Subject: Re: Variable locations in a loaded kernel (bsd.gdb)
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Mon, 27 Aug 2001 19:25:23 +0300 (IDT)
- cc: gdb at sourceware dot cygnus dot com
On Mon, 27 Aug 2001, Joshua Lamorie wrote:
> I'm trying to find how a specific variable is referenced in an
> OpenBSD 2.8 kernel. I build a kernel with symbols, and load it into gdb,
> however I can't find a way to see where a specific variable is stored
> (stack, memory, register etc...). I can't run the kernel, and when I type
> 'p function::variable' it responds with...
>
> No frame is currently executing in block scpshc_decompress.
Does the command "info address" help?