[issue34989] python-gdb.py fails with TypeError("'FakeRepr' object is not subscriptable") is gdb fails to read debug symbols

2018-10-16 Thread STINNER Victor
STINNER Victor added the comment: Thanks Ɓukasz Langa for the review! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34989] python-gdb.py fails with TypeError("'FakeRepr' object is not subscriptable") is gdb fails to read debug symbols

2018-10-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset aadb44ee98bc73bc5132acea5848ac6aef1ff8c0 by Victor Stinner in branch '2.7': bpo-34989: python-gdb.py: fix current_line_num() (GH-9889) (GH-9899) https://github.com/python/cpython/commit/aadb44ee98bc73bc5132acea5848ac6aef1ff8c0 --

[issue34989] python-gdb.py fails with TypeError("'FakeRepr' object is not subscriptable") is gdb fails to read debug symbols

2018-10-15 Thread miss-islington
miss-islington added the comment: New changeset 71e601eb0857fb03c1dd3c349afb030ef84f95d0 by Miss Islington (bot) in branch '3.6': bpo-34989: python-gdb.py: fix current_line_num() (GH-9889) https://github.com/python/cpython/commit/71e601eb0857fb03c1dd3c349afb030ef84f95d0 --

[issue34989] python-gdb.py fails with TypeError("'FakeRepr' object is not subscriptable") is gdb fails to read debug symbols

2018-10-15 Thread miss-islington
miss-islington added the comment: New changeset fcea3ddc4a7e756fa8f182789e886ccd3d524484 by Miss Islington (bot) in branch '3.7': bpo-34989: python-gdb.py: fix current_line_num() (GH-9889) https://github.com/python/cpython/commit/fcea3ddc4a7e756fa8f182789e886ccd3d524484 -- nosy:

[issue34989] python-gdb.py fails with TypeError("'FakeRepr' object is not subscriptable") is gdb fails to read debug symbols

2018-10-15 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9261 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34989] python-gdb.py fails with TypeError("'FakeRepr' object is not subscriptable") is gdb fails to read debug symbols

2018-10-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +9260 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34989] python-gdb.py fails with TypeError("'FakeRepr' object is not subscriptable") is gdb fails to read debug symbols

2018-10-15 Thread miss-islington
Change by miss-islington : -- pull_requests: +9259 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34989] python-gdb.py fails with TypeError("'FakeRepr' object is not subscriptable") is gdb fails to read debug symbols

2018-10-15 Thread STINNER Victor
STINNER Victor added the comment: New changeset 2e438cc2554495b28480a3ffe5cdf41b6ab823a0 by Victor Stinner in branch 'master': bpo-34989: python-gdb.py: fix current_line_num() (GH-9889) https://github.com/python/cpython/commit/2e438cc2554495b28480a3ffe5cdf41b6ab823a0 --

[issue34989] python-gdb.py fails with TypeError("'FakeRepr' object is not subscriptable") is gdb fails to read debug symbols

2018-10-15 Thread STINNER Victor
STINNER Victor added the comment: The bug can be reproduced using this change: diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py index bf4047419e..f973d4d4bd 100755 --- a/Tools/gdb/libpython.py +++ b/Tools/gdb/libpython.py @@ -402,6 +402,7 @@ class PyObjectPtr(object):

[issue34989] python-gdb.py fails with TypeError("'FakeRepr' object is not subscriptable") is gdb fails to read debug symbols

2018-10-15 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9252 stage: -> patch review ___ Python tracker ___ ___

[issue34989] python-gdb.py fails with TypeError("'FakeRepr' object is not subscriptable") is gdb fails to read debug symbols

2018-10-15 Thread STINNER Victor
New submission from STINNER Victor : 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