[Bug 1435157] [NEW] runtime-gdb.py incompatible version with gdb
Konstantin Astrakhantsev
comdiv at meta.ua
Mon Mar 23 06:49:49 UTC 2015
Public bug reported:
In Ubuntu 14.10 trying to debug using gdb some program writed on Go is
failed. Because of gdb linked with libpython3.4m.so.1.0 =>
/usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0 but runtime-gdb.py writed
on python2
$ gdb go.prog
GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
...
File "/usr/share/go/src/pkg/runtime/runtime-gdb.py", line 359
print s, ptr['goid'], "%8s" % sts[long((ptr['status']))], blk.function
^
SyntaxError: invalid syntax
$apt-cache policy golang
golang:
Installed: 2:1.2.1-2ubuntu1
Candidate: 2:1.2.1-2ubuntu1
$apt-cache policy gdb
gdb:
Installed: 7.8-1ubuntu4
Candidate: 7.8-1ubuntu4
** Affects: golang (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to golang in Ubuntu.
https://bugs.launchpad.net/bugs/1435157
Title:
runtime-gdb.py incompatible version with gdb
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang/+bug/1435157/+subscriptions
More information about the Ubuntu-server-bugs
mailing list