runtime-gdb.py incompatible version with gdb

Bug #1435157 reported by Konstantin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
golang (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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

Revision history for this message
Matthias Klose (doko) wrote :

14.10 is EOL

Changed in golang (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.