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.
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 (ptr['status' ]))], blk.function
print s, ptr['goid'], "%8s" % sts[long(
^
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.