summaryrefslogtreecommitdiffstats
path: root/Tools/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/gdb')
-rwxr-xr-xTools/gdb/libpython.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 4f45256..0e9df2b 100755
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -715,7 +715,7 @@ class PyDictObjectPtr(PyObjectPtr):
try:
# <= Python 3.5
return keys['dk_entries'], dk_size
- except gdb.error:
+ except RuntimeError:
# >= Python 3.6
pass