This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug debug/59170] pretty printers: end iterator invalid pointer


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.


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