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: "info locals" -- is variable initialized


On Fri, Sep 02, 2005 at 01:53:41PM +0400, Vladimir Prus wrote:
> So, there's a window there variable does not exists according to C++, but
> exists according to gdb. 

With better debug information, this doesn't happen (or the window is
reduced to an instruction or two in the call sequence for the
constructor).  GCC 4's variable tracking feature does this passably
well, IIRC, by use of dwarf2 location lists.

In general no there is nothing gdb can do.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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