gdb: Python 3 incompatible with libstdc++ pretty printers.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.8 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gdb (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
gdb is now linked against python 3 but python 3 is incompatible with libstdc++'s pretty printers:
Traceback (most recent call last):
File "<string>", line 4, in <module>
File "/usr/share/
raise ValueError, "Cannot find type %s::%s" % (str(orig), name)
SyntaxError: invalid syntax
/home/ruediger/
Error while executing Python code.
There is a proposed patch but it wasn't upstreamed yet: http://<email address hidden>
I'd propose either to continue using python2 for gdb, fixing the details to get the patch upstream, or use a patched version downstream for now.
Changed in gdb (Ubuntu): | |
importance: | Undecided → High |
Status changed to 'Confirmed' because the bug affects multiple users.