I have the same for trivial hello world program written in go
go build prog.go
gdb prog
File "/usr/share/go/src/pkg/runtime/runtime-gdb.py", line 358
print s, ptr['goid'], "%8s" % sts[long((ptr['status']))], blk.function
^
SyntaxError: invalid syntax
---
When gdb is switched to use python3 in plugins, then the packaged
plugins need to be updated correspondingly as well. Please don't just
switch it in gdb and leave stuff like C++ and go pretty printing
packages broken.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258642
Title:
gdb: Python 3 incompatible with libstdc++ pretty printers.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/1258642/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs