This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Variable values before initialisaton
On Thu, Nov 23, 2006 at 05:32:39PM +0000, Rob Quill wrote:
> How could I go about looking into a fix? I wouldn't really know where
> to start, but it is quite annoying for what am trying to do.
You have to emit proper debug info from the compiler. It's the only
thing that knows. However, for things where initialization is
complicated (like classes), there's basically no way to get it right.
--
Daniel Jacobowitz
CodeSourcery