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: Cannot see local variables in C++ constructors


On Fri, Feb 20, 2009 at 06:00:15PM +0000, Peter Wainwright wrote:
> I'm using gdb 6.8 with C++ code compiled by g++ 4.2.4 on Ubuntu 8.04.
> 
> I cannot print the value of local variables inside constructors (e.g. I
> get 'No symbol "wire" in current context').  The code is compiled with
> -g and NO optimization.
> 
> This symptom seems similar to
> http://sourceware.org/bugzilla/show_bug.cgi?id=8246
> 
> But that's a really ancient bug (2003!): has anyone else seen this kind
> of trouble recently?

It's probably http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27574


-- 
Daniel Jacobowitz
CodeSourcery


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