mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-89419: gdb: fix bug causing AttributeError
in py-locals when no frame is available (#100611)
This commit is contained in:
parent
8b1f125121
commit
8586949833
2 changed files with 2 additions and 0 deletions
|
@ -2108,6 +2108,7 @@ class PyLocals(gdb.Command):
|
|||
while True:
|
||||
if not pyop_frame:
|
||||
print(UNABLE_READ_INFO_PYTHON_FRAME)
|
||||
break
|
||||
if pyop_frame.is_shim():
|
||||
break
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue