This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to find where specified variable is declared?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]