Message327742
On Fedora 28, gdb fails to read (some?) debug symbols:
"Dwarf Error: could not find partial DIE containing offset 0x316 [in module /usr/lib/debug/usr/bin/python3.6-3.6.6-1.fc28.x86_64.debug]"
https://bugzilla.redhat.com/show_bug.cgi?id=1613614
In this case, the "py-bt" command of python-gdb.py fails with a TypeError:
(gdb) py-bt
Traceback (most recent call first):
<unknown at remote 0x7ffff7e5f7e0>
Python Exception <class 'TypeError'> 'FakeRepr' object is not subscriptable:
Error occurred in Python command: 'FakeRepr' object is not subscriptable
python-gdb.py shouldn't fail on such case, but handle the error.
Attached PR fix this issue. |
|
Date |
User |
Action |
Args |
2018-10-15 11:11:42 | vstinner | set | recipients:
+ vstinner |
2018-10-15 11:11:42 | vstinner | set | messageid: <1539601902.93.0.788709270274.issue34989@psf.upfronthosting.co.za> |
2018-10-15 11:11:42 | vstinner | link | issue34989 messages |
2018-10-15 11:11:42 | vstinner | create | |
|