[New-bugs-announce] [issue29680] gdb/libpython.py does not work with gdb 7.2
Alexander Belopolsky
report at bugs.python.org
Tue Feb 28 21:36:44 EST 2017
New submission from Alexander Belopolsky:
Printing the backtrace in gdb results in Python errors:
(gdb) bt
...
#6 0x00007ffff7ba9745 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7ffff1983f40>, globals=Traceback (most recent call last):
File "/home/a/.virtualenvs/3.6g/bin/python3.6-gdb.py", line 1358, in to_string
return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
File "/home/a/.virtualenvs/3.6g/bin/python3.6-gdb.py", line 243, in get_truncated_repr
self.write_repr(out, set())
File "/home/a/.virtualenvs/3.6g/bin/python3.6-gdb.py", line 702, in write_repr
for pyop_key, pyop_value in self.iteritems():
File "/home/a/.virtualenvs/3.6g/bin/python3.6-gdb.py", line 669, in iteritems
entries, nentries = self._get_entries(keys)
File "/home/a/.virtualenvs/3.6g/bin/python3.6-gdb.py", line 717, in _get_entries
except gdb.error:
AttributeError: 'module' object has no attribute 'error'
...
----------
assignee: belopolsky
messages: 288730
nosy: belopolsky
priority: normal
severity: normal
status: open
title: gdb/libpython.py does not work with gdb 7.2
type: behavior
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29680>
_______________________________________
More information about the New-bugs-announce
mailing list