This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
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