[Bug debug/59170] pretty printers: end iterator invalid pointer
jan.kratochvil at redhat dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 18 13:41:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59170
Jan Kratochvil <jan.kratochvil at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
I realize it cannot be fixed. Iterator has no relationship to the object where
it points to. GDB cannot guess the bounds of the container.
Maybe there could be a new command:
(gdb) print_iterator vec begin
which could have the features requested above but that is a new feature, not
bug.
More information about the Gcc-bugs
mailing list