This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: how to find where specified variable is declared?
- From: Daniel Jacobowitz <drow at false dot org>
- To: Bogdan Slusarczyk <bodzio131 at op dot pl>
- Cc: gdb at sourceware dot org
- Date: Tue, 2 Oct 2007 08:07:16 -0400
- Subject: Re: how to find where specified variable is declared?
- References: <470233D9.1030207@op.pl>
On Tue, Oct 02, 2007 at 02:04:41PM +0200, Bogdan Slusarczyk wrote:
> Hi,
> Does gdb have information about source file for specified variable (I want to
> find where such variable is declared)?.
Try "list varname"?
--
Daniel Jacobowitz
CodeSourcery