← Back to team overview

touch-packages team mailing list archive

[Bug 591023] Re: AttributeError: 'gdb.Frame' object has no attribute 'function'

 

apparently fixed in 14.04 LTS

** Changed in: gdb (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/591023

Title:
  AttributeError: 'gdb.Frame' object has no attribute 'function'

Status in “gdb” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: gdb

  On Lucid, the py-bt gdb macro is broken.  To reproduce, run python
  under gdb and try using it.  For example:

  exarkun@up:/tmp$ gdb python
  GNU gdb (GDB) 7.1-ubuntu
  Copyright (C) 2010 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
  and "show warranty" for details.
  This GDB was configured as "i486-linux-gnu".
  For bug reporting instructions, please see:
  <http://www.gnu.org/software/gdb/bugs/>...
  Reading symbols from /usr/bin/python...Reading symbols from /usr/lib/debug/usr/bin/python2.6...done.
  done.
  (gdb) run
  Starting program: /usr/bin/python
  [Thread debugging using libthread_db enabled]
  Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
  [GCC 4.4.3] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>>
  Program received signal SIGINT, Interrupt.
  0x0012d422 in __kernel_vsyscall ()
  (gdb) py-bt
  Traceback (most recent call last):
    File "/usr/lib/debug/usr/bin/python2.6-gdb.py", line 1323, in invoke
      frame = Frame.get_selected_python_frame()
    File "/usr/lib/debug/usr/bin/python2.6-gdb.py", line 1172, in get_selected_python_frame
      if frame.is_evalframeex():
    File "/usr/lib/debug/usr/bin/python2.6-gdb.py", line 1136, in is_evalframeex
      if self._gdbframe.function():
  AttributeError: 'gdb.Frame' object has no attribute 'function'
  Error occurred in Python command: 'gdb.Frame' object has no attribute 'function'
  (gdb) quit

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