diff options
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r-- | gdb/testsuite/gdb.python/py-pp-cast.py | 1 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-pp-re-notag.py | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-prettyprint-stub.py | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.python/py-pp-cast.py b/gdb/testsuite/gdb.python/py-pp-cast.py index 6eff800..a0c48f9 100644 --- a/gdb/testsuite/gdb.python/py-pp-cast.py +++ b/gdb/testsuite/gdb.python/py-pp-cast.py @@ -13,6 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +import gdb.printing class PpIntPrinter(object): def __init__(self, val): diff --git a/gdb/testsuite/gdb.python/py-pp-re-notag.py b/gdb/testsuite/gdb.python/py-pp-re-notag.py index 6aefad1..3bbf588 100644 --- a/gdb/testsuite/gdb.python/py-pp-re-notag.py +++ b/gdb/testsuite/gdb.python/py-pp-re-notag.py @@ -16,7 +16,7 @@ from time import asctime, gmtime import gdb # silence pyflakes - +import gdb.printing class TimePrinter: def __init__(self, val): diff --git a/gdb/testsuite/gdb.python/py-prettyprint-stub.py b/gdb/testsuite/gdb.python/py-prettyprint-stub.py index 565ae19..75d5f35 100644 --- a/gdb/testsuite/gdb.python/py-prettyprint-stub.py +++ b/gdb/testsuite/gdb.python/py-prettyprint-stub.py @@ -16,6 +16,7 @@ # This file is part of the GDB testsuite. # It tests Python-based pretty-printing of stubs. +import gdb.printing class SPrinter: def __init__(self, val): |