This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/53477] pretty printer fails with: Python Exception <type 'exceptions.IndexError'> list index out of range
- From: "asmwarrior at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 03 Jun 2013 07:34:09 +0000
- Subject: [Bug libstdc++/53477] pretty printer fails with: Python Exception <type 'exceptions.IndexError'> list index out of range
- Auto-submitted: auto-generated
- References: <bug-53477-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53477
--- Comment #7 from asmwarrior <asmwarrior at gmail dot com> ---
Ok, I found another issue on the line "return 0", see the GDB log:
[debug]> p m
[debug]$2 = std::map with 1 elements = {[3] = std::set with 2 elements = {[0] =
5, [1] = 6}}
[debug]>>>>>>cb_gdb:
[debug]> p m[3]
[debug]Attempt to take address of value not located in memory.
[debug]>>>>>>cb_gdb:
"p m" shows the correct value, but I'm not sure why "p m[3]" failed? Is it a
GDB bug?