how to find where specified variable is declared?

Daniel Jacobowitz drow@false.org
Tue Oct 2 12:07:00 GMT 2007


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



More information about the Gdb mailing list