diff options
author | Joel Brobecker <brobecker@gnat.com> | 2009-09-09 17:45:42 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2009-09-09 17:45:42 +0000 |
commit | 5172aecbd2b65e71aedbd21c46253ca6a20227aa (patch) | |
tree | 879124432741656573e3a6f6a4c7b3a9dfb2ca8a /gdb/testsuite/gdb.python | |
parent | b83e9eb71cb4a21b31f8f47782da821a5a0ddb32 (diff) | |
download | gdb-5172aecbd2b65e71aedbd21c46253ca6a20227aa.zip gdb-5172aecbd2b65e71aedbd21c46253ca6a20227aa.tar.gz gdb-5172aecbd2b65e71aedbd21c46253ca6a20227aa.tar.bz2 |
Checking in this patch for Thiago: Rename python-* files into py-*,
more 8+3 friendly.
gdb/
* Makefile.in (py-cmd.o): Renamed from python-cmd.o. Updated
references.
(py-frame.o): Renamed from python-frame.o. Updated references.
(py-function.o): Renamed from python-function.o. Updated references.
(py-objfile.o): Renamed from python-objfile.o. Updated references.
(py-prettyprint.o): Renamed from python-prettyprint.o. Updated
+references.
(py-type.o): Renamed from python-type.o. Updated references.
(py-utils.o): Renamed from python-utils.o. Updated references.
(py-value.o): Renamed from python-value.o. Updated references.
* py-cmd.o: Renamed from python-cmd.o.
* py-frame.o: Renamed from python-frame.o.
* py-function.o: Renamed from python-function.o.
* py-objfile.o: Renamed from python-objfile.o.
* py-prettyprint.o: Renamed from python-prettyprint.o.
* py-type.o: Renamed from python-type.o.
* py-utils.o: Renamed from python-utils.o.
* py-value.o: Renamed from python-value.o.
gdb/testsuite/
* gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
names, add missing ones.
* gdb.python/py-cmd.exp: Rename from python-cmd.exp.
* gdb.python/py-frame.c: Rename from python-frame.c.
* gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
testfile name.
* gdb.python/py-function.exp: Rename from python-function.exp.
* gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
testfile name.
* gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
* gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
Adjust testfile name.
* gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
* gdb.python/py-template.cc: Rename from python-template.cc.
* gdb.python/py-template.exp: Rename from python-template.exp.
Adjust testfile name.
* gdb.python/py-value.c: Rename from python-value.c.
* gdb.python/py-value.exp: Rename from python-value.exp. Adjust
testfile name.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r-- | gdb/testsuite/gdb.python/Makefile.in | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-cmd.exp (renamed from gdb/testsuite/gdb.python/python-cmd.exp) | 0 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-frame.c (renamed from gdb/testsuite/gdb.python/python-frame.c) | 0 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-frame.exp (renamed from gdb/testsuite/gdb.python/python-frame.exp) | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-function.exp (renamed from gdb/testsuite/gdb.python/python-function.exp) | 0 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-mi.exp (renamed from gdb/testsuite/gdb.python/python-mi.exp) | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-prettyprint.c (renamed from gdb/testsuite/gdb.python/python-prettyprint.c) | 0 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-prettyprint.exp (renamed from gdb/testsuite/gdb.python/python-prettyprint.exp) | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-prettyprint.py (renamed from gdb/testsuite/gdb.python/python-prettyprint.py) | 0 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-template.cc (renamed from gdb/testsuite/gdb.python/python-template.cc) | 0 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-template.exp (renamed from gdb/testsuite/gdb.python/python-template.exp) | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-value.c (renamed from gdb/testsuite/gdb.python/python-value.c) | 0 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-value.exp (renamed from gdb/testsuite/gdb.python/python-value.exp) | 4 |
13 files changed, 7 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.python/Makefile.in b/gdb/testsuite/gdb.python/Makefile.in index 79be9e7..ca5cdc7 100644 --- a/gdb/testsuite/gdb.python/Makefile.in +++ b/gdb/testsuite/gdb.python/Makefile.in @@ -1,7 +1,7 @@ VPATH = @srcdir@ srcdir = @srcdir@ -EXECUTABLES = python-value +EXECUTABLES = py-value py-prettyprint py-template all info install-info dvi install uninstall installcheck check: @echo "Nothing to be done for $@..." diff --git a/gdb/testsuite/gdb.python/python-cmd.exp b/gdb/testsuite/gdb.python/py-cmd.exp index f6ef938..f6ef938 100644 --- a/gdb/testsuite/gdb.python/python-cmd.exp +++ b/gdb/testsuite/gdb.python/py-cmd.exp diff --git a/gdb/testsuite/gdb.python/python-frame.c b/gdb/testsuite/gdb.python/py-frame.c index 22eb9f2..22eb9f2 100644 --- a/gdb/testsuite/gdb.python/python-frame.c +++ b/gdb/testsuite/gdb.python/py-frame.c diff --git a/gdb/testsuite/gdb.python/python-frame.exp b/gdb/testsuite/gdb.python/py-frame.exp index 82b526e..a67eaa3 100644 --- a/gdb/testsuite/gdb.python/python-frame.exp +++ b/gdb/testsuite/gdb.python/py-frame.exp @@ -20,7 +20,7 @@ if $tracelevel then { strace $tracelevel } -set testfile "python-frame" +set testfile "py-frame" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { diff --git a/gdb/testsuite/gdb.python/python-function.exp b/gdb/testsuite/gdb.python/py-function.exp index 7feca2b..7feca2b 100644 --- a/gdb/testsuite/gdb.python/python-function.exp +++ b/gdb/testsuite/gdb.python/py-function.exp diff --git a/gdb/testsuite/gdb.python/python-mi.exp b/gdb/testsuite/gdb.python/py-mi.exp index 3258810..d3f44b2 100644 --- a/gdb/testsuite/gdb.python/python-mi.exp +++ b/gdb/testsuite/gdb.python/py-mi.exp @@ -24,7 +24,7 @@ if [mi_gdb_start] { continue } -set testfile "python-prettyprint" +set testfile "py-prettyprint" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DMI}] != "" } { diff --git a/gdb/testsuite/gdb.python/python-prettyprint.c b/gdb/testsuite/gdb.python/py-prettyprint.c index 3cafc48..3cafc48 100644 --- a/gdb/testsuite/gdb.python/python-prettyprint.c +++ b/gdb/testsuite/gdb.python/py-prettyprint.c diff --git a/gdb/testsuite/gdb.python/python-prettyprint.exp b/gdb/testsuite/gdb.python/py-prettyprint.exp index 01d4a06..d2db5bc 100644 --- a/gdb/testsuite/gdb.python/python-prettyprint.exp +++ b/gdb/testsuite/gdb.python/py-prettyprint.exp @@ -20,7 +20,7 @@ if $tracelevel then { strace $tracelevel } -set testfile "python-prettyprint" +set testfile "py-prettyprint" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} diff --git a/gdb/testsuite/gdb.python/python-prettyprint.py b/gdb/testsuite/gdb.python/py-prettyprint.py index bf009a1..bf009a1 100644 --- a/gdb/testsuite/gdb.python/python-prettyprint.py +++ b/gdb/testsuite/gdb.python/py-prettyprint.py diff --git a/gdb/testsuite/gdb.python/python-template.cc b/gdb/testsuite/gdb.python/py-template.cc index bd6a212..bd6a212 100644 --- a/gdb/testsuite/gdb.python/python-template.cc +++ b/gdb/testsuite/gdb.python/py-template.cc diff --git a/gdb/testsuite/gdb.python/python-template.exp b/gdb/testsuite/gdb.python/py-template.exp index 1ace5d6..cea6ae0 100644 --- a/gdb/testsuite/gdb.python/python-template.exp +++ b/gdb/testsuite/gdb.python/py-template.exp @@ -20,7 +20,7 @@ if $tracelevel then { strace $tracelevel } -set testfile "python-template" +set testfile "py-template" set srcfile ${testfile}.cc set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable \ diff --git a/gdb/testsuite/gdb.python/python-value.c b/gdb/testsuite/gdb.python/py-value.c index f3d6284..f3d6284 100644 --- a/gdb/testsuite/gdb.python/python-value.c +++ b/gdb/testsuite/gdb.python/py-value.c diff --git a/gdb/testsuite/gdb.python/python-value.exp b/gdb/testsuite/gdb.python/py-value.exp index 19cabeb..9b4190d 100644 --- a/gdb/testsuite/gdb.python/python-value.exp +++ b/gdb/testsuite/gdb.python/py-value.exp @@ -20,7 +20,7 @@ if $tracelevel then { strace $tracelevel } -set testfile "python-value" +set testfile "py-value" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { @@ -257,7 +257,7 @@ proc test_value_in_inferior {} { # A few objfile tests. proc test_objfiles {} { - gdb_test "python\nok=False\nfor file in gdb.objfiles():\n if 'python-value' in file.filename:\n ok=True\nprint ok\nend" "True" + gdb_test "python\nok=False\nfor file in gdb.objfiles():\n if 'py-value' in file.filename:\n ok=True\nprint ok\nend" "True" gdb_test "python print gdb.objfiles()\[0\].pretty_printers" "\\\[\\\]" |