[Bug 1435157] Re: runtime-gdb.py incompatible version with gdb

Matthias Klose doko at ubuntu.com
Sat Feb 20 17:59:09 UTC 2016


14.10 is EOL

** Changed in: golang (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to golang in Ubuntu.
https://bugs.launchpad.net/bugs/1435157

Title:
  runtime-gdb.py incompatible version with gdb

Status in golang package in Ubuntu:
  Invalid

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang/+bug/1435157/+subscriptions



More information about the foundations-bugs mailing list