This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: c++ member arrays with variable size
- From: D Haley <mycae at yahoo dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: gdb at sourceware dot org
- Date: Sun, 4 Nov 2007 03:26:50 -0800 (PST)
- Subject: Re: c++ member arrays with variable size
Hi Daniel,
> Most of the time, if a variable does not show up in
> "info locals",
> that means your compiler has not emitted debug info
> for it. I tried
> your example with G++ 4.2 on x86_64-linux, and did
> see the local
> array.
Hmm, I tried on another machine and yes, i can see it.
For the record on the non-working version I am using
apple-darwin8-g++ (GCC) 4.0.1. Minus one point for
apple :( .
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com