summaryrefslogtreecommitdiffstats
path: root/Tools/gdb
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-14 08:54:40 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-14 08:54:40 (GMT)
commitb639c14c32a737224382bfc5a690e0c05766e090 (patch)
tree4f4f24a411309a92c5253bd3eef03f73a271ba26 /Tools/gdb
parentb0eb5da018785ca384679b990b8548338883c645 (diff)
downloadcpython-b639c14c32a737224382bfc5a690e0c05766e090.zip
cpython-b639c14c32a737224382bfc5a690e0c05766e090.tar.gz
cpython-b639c14c32a737224382bfc5a690e0c05766e090.tar.bz2
#9235: fix missing import of sys.
Diffstat (limited to 'Tools/gdb')
-rw-r--r--Tools/gdb/libpython.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/gdb/libpython.py b/Tools/gdb/libpython.py
index 0d59981..ac4aff5 100644
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -43,6 +43,7 @@ The module also extends gdb with some python-specific commands.
from __future__ import with_statement
import gdb
import locale
+import sys
# Look up the gdb.Type for some standard types:
_type_char_ptr = gdb.lookup_type('char').pointer() # char*