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: Variable objects and STL containers


On Tue, Feb 05, 2008 at 07:33:40PM +1300, Nick Roberts wrote:
> Are iterators available to GDB, or just the executable?  I only seem able to
> access those methods which are used by my program, e.g.,

That's generally correct; there's nothing in the debug info explaining
what template or inline methods do which are not instantiated
out-of-line somewhere in the program.  With optimization you may not
be able to call them even if they are used.

-- 
Daniel Jacobowitz
CodeSourcery


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