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: c++ member arrays with variable size


On Sat, Nov 03, 2007 at 06:52:51PM -0700, D Haley wrote:
> Is it possible to identify these in GDB, or
> alternatively how else can I view these arrays in the
> debugger, short of rewriting it?

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.

-- 
Daniel Jacobowitz
CodeSourcery


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