[Bug 1241668] Re: gdb embeds python3.3, but support scripts are not compatible
Matthias Klose
doko at ubuntu.com
Sun Oct 20 12:42:22 UTC 2013
** Changed in: gdb (Ubuntu)
Importance: Undecided => Medium
** Changed in: gdb (Ubuntu)
Status: Confirmed => Triaged
** Also affects: python2.7 (Ubuntu)
Importance: Undecided
Status: New
** Also affects: python3.3 (Ubuntu)
Importance: Undecided
Status: New
** Changed in: gdb (Ubuntu)
Status: Triaged => Invalid
** Changed in: python2.7 (Ubuntu)
Importance: Undecided => Medium
** Changed in: python2.7 (Ubuntu)
Status: New => Triaged
** Changed in: python3.3 (Ubuntu)
Importance: Undecided => Medium
** Changed in: python3.3 (Ubuntu)
Status: New => Triaged
** Also affects: gdb (Ubuntu Saucy)
Importance: Undecided
Status: New
** Also affects: python2.7 (Ubuntu Saucy)
Importance: Undecided
Status: New
** Also affects: python3.3 (Ubuntu Saucy)
Importance: Undecided
Status: New
** Changed in: gdb (Ubuntu Saucy)
Status: New => Invalid
** Changed in: python2.7 (Ubuntu Saucy)
Importance: Undecided => Medium
** Changed in: python2.7 (Ubuntu Saucy)
Status: New => Triaged
** Changed in: python3.3 (Ubuntu Saucy)
Importance: Undecided => Medium
** Changed in: python3.3 (Ubuntu Saucy)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/1241668
Title:
gdb embeds python3.3, but support scripts are not compatible
Status in Python:
New
Status in “gdb” package in Ubuntu:
Invalid
Status in “python2.7” package in Ubuntu:
Triaged
Status in “python3.3” package in Ubuntu:
Triaged
Status in “gdb” source package in Saucy:
Invalid
Status in “python2.7” source package in Saucy:
Triaged
Status in “python3.3” source package in Saucy:
Triaged
Bug description:
The saucy gdb appears to be linked against libpython3.3.
This results in a conflict when trying to debug python2.7 programs,
which use the python2.7-dbg.py scripts from python2.7-dbg. This makes
debugging Python programs difficult.
File "/usr/lib/debug/usr/bin/python2.7-gdb.py", line 54
Py_TPFLAGS_HEAPTYPE = (1L << 9)
^
SyntaxError: invalid syntax
File "/usr/lib/debug/usr/bin/python2.7-gdb.py", line 54
Py_TPFLAGS_HEAPTYPE = (1L << 9)
There are also invalid print statements that show up as well.
If these are updated, then the file parses, but `py-bt` fails with:
Error occurred in Python command: global name 'long' is not defined
Updating all of the long() references to int() doesn't work:
Error occurred in Python command: 'gdb.Value' object cannot be
interpreted as an integer
To manage notifications about this bug go to:
https://bugs.launchpad.net/python/+bug/1241668/+subscriptions
More information about the foundations-bugs
mailing list