Can't use GDB 7.6.1-ubuntu with libstdc++ pretty printers, nor use it for debbuging Go
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdb (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
As mentioned in Bug #1166304, because of use of python 3 for building GDB, a lot of python 2 plugins seems to not be supported anymore by default??
Yesterday I was trying to debug STL stuff and stumbled upon the same errors as referred in #1166304.
Today when trying to debug Go I stumbled upon:
GNU gdb (GDB) 7.6.1-ubuntu
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://
Lendo símbolos de /home/francisco
File "/usr/local/
print s, ptr['goid'], "%8s" % sts[long(
^
SyntaxError: invalid syntax
(gdb) q
So, it seems with the default GDB I can't do several things because of adoption of python 3 (http://
Can I switch it to use python 2 so it's usable again, or should I just build my own gdb as I'm about to do?
description: | updated |
description: | updated |
Go's upstream issue: https:/ /code.google. com/p/go/ issues/ detail? id=6698