This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/59170] pretty printers: end iterator invalid pointer
- From: "jan.kratochvil at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 18 Nov 2013 13:41:49 +0000
- Subject: [Bug debug/59170] pretty printers: end iterator invalid pointer
- Auto-submitted: auto-generated
- References: <bug-59170-4 at http dot gcc dot gnu dot org/bugzilla/>
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.