summaryrefslogtreecommitdiffstats
path: root/Tools/gdb
diff options
context:
space:
mode:
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*