summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-14 08:55:55 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-14 08:55:55 (GMT)
commiteefec7b85793b08ed5a6fc5d2cfd0eb214f7e139 (patch)
tree258c3eb4ed35d350b1b5174c654cf508743d319d /Tools
parent5d2b68571718406e1a71bea11bc0cd5602ed94b3 (diff)
downloadcpython-eefec7b85793b08ed5a6fc5d2cfd0eb214f7e139.zip
cpython-eefec7b85793b08ed5a6fc5d2cfd0eb214f7e139.tar.gz
cpython-eefec7b85793b08ed5a6fc5d2cfd0eb214f7e139.tar.bz2
Merged revisions 82872,82874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82872 | georg.brandl | 2010-07-14 10:53:18 +0200 (Mi, 14 Jul 2010) | 1 line Remove XXX from text. ........ r82874 | georg.brandl | 2010-07-14 10:54:40 +0200 (Mi, 14 Jul 2010) | 1 line #9235: fix missing import of sys. ........
Diffstat (limited to 'Tools')
-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 3481f71..22c0066 100644
--- a/Tools/gdb/libpython.py
+++ b/Tools/gdb/libpython.py
@@ -41,6 +41,7 @@ The module also extends gdb with some python-specific commands.
'''
from __future__ import with_statement
import gdb
+import sys
# Look up the gdb.Type for some standard types:
_type_char_ptr = gdb.lookup_type('char').pointer() # char*