2011-05-16 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Mon, 16 May 2011 13:56:41 +0000 (13:56 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 16 May 2011 13:56:41 +0000 (13:56 +0000)
gdb/testsuite/
* gdb.ada/start.exp: Call untested with the correct test filename.
* gdb.arch/i386-bp_permanent.exp: Call untested with the correct
test filename.  Make the test's binary unique.
* gdb.arch/i386-signal.exp: Call untested with the correct test
filename.
* gdb.arch/i386-size-overlap.exp: Ditto.
* gdb.arch/Makefile.in (EXECUTABLES): Update.
* gdb.base/gcore-buffer-overflow.exp: Ditto.
* gdb.cp/call-c.exp: Ditto.
* gdb.mi/mi-reverse.exp: Call untested with the correct test
filename.  Make the test's binary unique.
* gdb.mi/Makefile.in (EXECUTABLES): Update.
* gdb.python/py-mi.exp: Ditto.
* gdb.python/Makefile.in (EXECUTABLES): Update.
* gdb.reverse/i386-precsave.exp: Ditto.
* gdb.reverse/i387-env-reverse.exp: Call untested with the correct
test filename.
* gdb.reverse/i387-stack-reverse.exp: Ditto.
* gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
unique.
* gdb.reverse/sigall-reverse.exp: Call untested with the correct
test filename.
* gdb.reverse/Makefile.in (EXECUTABLES): Update.
* gdb.trace/tfile.exp: Ditto.

19 files changed:
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/start.exp
gdb/testsuite/gdb.arch/Makefile.in
gdb/testsuite/gdb.arch/i386-bp_permanent.exp
gdb/testsuite/gdb.arch/i386-signal.exp
gdb/testsuite/gdb.arch/i386-size-overlap.exp
gdb/testsuite/gdb.base/gcore-buffer-overflow.exp
gdb/testsuite/gdb.cp/call-c.exp
gdb/testsuite/gdb.mi/Makefile.in
gdb/testsuite/gdb.mi/mi-reverse.exp
gdb/testsuite/gdb.python/Makefile.in
gdb/testsuite/gdb.python/py-mi.exp
gdb/testsuite/gdb.reverse/Makefile.in
gdb/testsuite/gdb.reverse/i386-precsave.exp
gdb/testsuite/gdb.reverse/i387-env-reverse.exp
gdb/testsuite/gdb.reverse/i387-stack-reverse.exp
gdb/testsuite/gdb.reverse/sigall-precsave.exp
gdb/testsuite/gdb.reverse/sigall-reverse.exp
gdb/testsuite/gdb.trace/tfile.exp

index ba3c9f3..22f0fd4 100644 (file)
@@ -1,3 +1,30 @@
+2011-05-16  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.ada/start.exp: Call untested with the correct test filename.
+       * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
+       test filename.  Make the test's binary unique.
+       * gdb.arch/i386-signal.exp: Call untested with the correct test
+       filename.
+       * gdb.arch/i386-size-overlap.exp: Ditto.
+       * gdb.arch/Makefile.in (EXECUTABLES): Update.
+       * gdb.base/gcore-buffer-overflow.exp: Ditto.
+       * gdb.cp/call-c.exp: Ditto.
+       * gdb.mi/mi-reverse.exp: Call untested with the correct test
+       filename.  Make the test's binary unique.
+       * gdb.mi/Makefile.in (EXECUTABLES): Update.
+       * gdb.python/py-mi.exp: Ditto.
+       * gdb.python/Makefile.in (EXECUTABLES): Update.
+       * gdb.reverse/i386-precsave.exp: Ditto.
+       * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
+       test filename.
+       * gdb.reverse/i387-stack-reverse.exp: Ditto.
+       * gdb.reverse/sigall-precsave.exp: Ditto.  Make the test's binary
+       unique.
+       * gdb.reverse/sigall-reverse.exp: Call untested with the correct
+       test filename.
+       * gdb.reverse/Makefile.in (EXECUTABLES): Update.
+       * gdb.trace/tfile.exp: Ditto.
+
 2011-05-14  Yao Qi  <yao@codesourcery.com>
 
        * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
index e14ecde..2e16bad 100644 (file)
@@ -24,7 +24,7 @@ if { [skip_ada_tests] } { return -1 }
 # This testcase verifies the behavior of the `start' command, which
 # does not work when we use the gdb stub...
 if [target_info exists use_gdb_stub] {
-    untested exec_changed.exp
+    untested start.exp
     return
 }
 
index b30af2b..a86edaf 100644 (file)
@@ -2,8 +2,8 @@ VPATH = @srcdir@
 srcdir = @srcdir@
 
 EXECUTABLES = altivec-abi altivec-regs amd64-byte amd64-disp-step \
-       amd64-dword amd64-i386-address amd64-word i386-permbkpt \
-       i386-signal i386-sse
+       amd64-dword amd64-i386-address amd64-word i386-bp_permanent \
+       i386-permbkpt i386-avx i386-signal i386-sse
 
 all info install-info dvi install uninstall installcheck check:
        @echo "Nothing to be done for $@..."
index d099745..3b39d78 100644 (file)
@@ -27,8 +27,8 @@ if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"]) || ![is_ilp32_target] }
     return
 }
 
-set testfile "i386-prologue"
-set srcfile ${testfile}.c
+set testfile "i386-bp_permanent"
+set srcfile i386-prologue.c
 set binfile ${objdir}/${subdir}/${testfile}
 
 # some targets have leading underscores on assembly symbols.
@@ -41,7 +41,7 @@ if [istarget "i?86-*-cygwin*"] then {
 # Don't use "debug", so that we don't have line information for the assembly
 # fragments.
 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list $additional_flags]] != "" } {
-    untested i386-prologue.exp
+    untested ${testfile}.exp
     return -1
 }
 
index 66f3117..5a9f003 100644 (file)
@@ -26,7 +26,7 @@ set binfile ${objdir}/${subdir}/${testfile}
 
 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
          executable { debug }] != "" } {
-    untested i386-sigframe.exp
+    untested ${testfile}.exp
     return -1
 }
 
index c12befb..96ec641 100644 (file)
@@ -39,7 +39,7 @@ if [istarget "i?86-*-cygwin*"] then {
 
 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
          executable [list debug $additional_flags]] != "" } {
-    untested "i386-size"
+    untested ${testfile}.exp
     return -1
 }
 
index 7b9b990..bd101a7 100644 (file)
@@ -28,7 +28,7 @@ set pattern  0123456789012345678901234567890123456789012345678901234567890123456
 set binfile  ${objdir}/${subdir}/${testfile}-${pattern}
 
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-     untested gcore.exp
+     untested ${testfile}.exp
      return -1
 }
 
index 3479c73..dbcf380 100644 (file)
@@ -30,7 +30,7 @@ set objfilecpp ${objdir}/${subdir}/${testfile}.o
 if {[gdb_compile "${srcfilec}" "${objfilec}" object {debug}] != ""
     || [gdb_compile "${srcfilecpp}" "${objfilecpp}" object {c++ debug}] != ""
     || [gdb_compile "${objfilecpp} ${objfilec}" "${binfile}" executable {c++ debug}] != ""} {
-    untested hang.exp
+    untested ${testfile}.exp
     return -1
 }
 
index be0526d..e8754f4 100644 (file)
@@ -1,17 +1,19 @@
 VPATH = @srcdir@
 srcdir = @srcdir@
 
-PROGS = basics c_variable cpp_variable var-cmd dw2-ref-missing-frame \
-       gdb669-pthreads gdb701 gdb792 mi-async mi-basics mi-break \
-       mi-cli mi-console mi-disassemble mi-eval mi-file mi-file-transfer \
-       mi-non-stop mi-non-stop-exit mi-ns-stale-regcache mi-nsintrall \
-       mi-nsmoribund mi-nsthrexec mi-pending mi-pthreads mi-read-memory \
-       mi-regs mi-return mi-simplerun mi-stack mi-stepi mi-syn-frame \
-       mi-var-block mi-var-child mi-var-cmd mi-var-cp mi-var-display \
-       mi-var-invalidate mi-var-invalidate_bis mi-watch mi2-basics \
-       mi2-break mi2-cli mi2-disassemble mi2-eval mi2-file mi2-pthreads \
-       mi2-regs mi2-return mi2-simplerun mi2-stepi mi2-var-block \
-       mi2-var-child mi2-var-cmd mi2-var-display mi2-watch until
+PROGS = basics c_variable cpp_variable var-cmd dw2-ref-missing-frame   \
+       gdb669-pthreads gdb701 gdb792 mi-async mi-basics mi-break       \
+       mi-cli mi-console mi-disassemble mi-eval mi-file                \
+       mi-file-transfer mi-non-stop mi-non-stop-exit                   \
+       mi-ns-stale-regcache mi-nsintrall mi-nsmoribund mi-nsthrexec    \
+       mi-pending mi-pthreads mi-read-memory mi-regs mi-return         \
+       mi-reverse mi-simplerun mi-stack mi-stepi mi-syn-frame          \
+       mi-var-block mi-var-child mi-var-cmd mi-var-cp mi-var-display   \
+       mi-var-invalidate mi-var-invalidate_bis mi-watch mi2-basics     \
+       mi2-break mi2-cli mi2-disassemble mi2-eval mi2-file             \
+       mi2-pthreads mi2-regs mi2-return mi2-simplerun mi2-stepi        \
+       mi2-var-block mi2-var-child mi2-var-cmd mi2-var-display         \
+       mi2-watch until
 
 MISCELLANEOUS = mi-pendshr.sl
 
index d6c4a62..3805544 100644 (file)
@@ -39,11 +39,11 @@ if [mi_gdb_start] {
     continue\r
 }\r
 \r
-set testfile "basics"\r
-set srcfile ${testfile}.c\r
+set testfile mi-reverse\r
+set srcfile basics.c\r
 set binfile ${objdir}/${subdir}/mi2-reverse\r
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DFAKEARGV}] != "" } {\r
-     untested mi2-reverse.exp\r
+     untested ${testfile}.exp\r
      return -1\r
 }\r
 \r
index 5b2b7b0..9c98db9 100644 (file)
@@ -4,7 +4,7 @@ srcdir = @srcdir@
 EXECUTABLES = py-type py-value py-prettyprint py-template py-block \
        py-symbol py-mi py-breakpoint py-inferior py-infthread \
        py-shared python lib-types py-events py-evthreads py-frame \
-       py-pp-maint py-progspace py-section-script py-objfile
+       py-mi py-pp-maint py-progspace py-section-script py-objfile
 
 MISCELLANEOUS = py-shared-sl.sl
 
index 37359e9..2e4d12b 100644 (file)
@@ -24,11 +24,12 @@ if [mi_gdb_start] {
     continue
 }
 
-set testfile "py-prettyprint"
-set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/py-mi
+set testfile "py-mi"
+set srcfile py-prettyprint.c
+set binfile ${objdir}/${subdir}/${testfile}
+set pyfile py-prettyprint.py
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug additional_flags=-DMI}] != "" } {
-    untested mi2-var-child.exp
+    untested ${testfile}.exp
     return -1
 }
 
@@ -43,11 +44,11 @@ if {[lsearch -exact [mi_get_features] python] < 0} {
 
 mi_runto main
 
-set remote_python_file [remote_download host ${srcdir}/${subdir}/${testfile}.py]
+set remote_python_file [remote_download host ${srcdir}/${subdir}/${pyfile}]
 
 mi_gdb_test "python execfile ('${remote_python_file}')" ""
 
-mi_continue_to_line [gdb_get_line_number {MI breakpoint here} ${testfile}.c] \
+mi_continue_to_line [gdb_get_line_number {MI breakpoint here} ${srcfile}] \
   "step to breakpoint"
 
 mi_create_dynamic_varobj container c \
@@ -221,7 +222,7 @@ mi_varobj_update_dynamic container2 \
     } {} {}
 
 mi_continue_to_line \
-    [gdb_get_line_number {MI outer breakpoint here} ${testfile}.c] \
+    [gdb_get_line_number {MI outer breakpoint here} ${srcfile}] \
     "step to outer breakpoint"
 
 mi_create_dynamic_varobj outer outer \
@@ -244,14 +245,14 @@ mi_gdb_test "-var-update outer" \
   "update after updating element of outer"
 
 mi_continue_to_line \
-    [gdb_get_line_number {Another MI breakpoint} ${testfile}.c] \
+    [gdb_get_line_number {Another MI breakpoint} ${srcfile}] \
     "step to second breakpoint"
 
 mi_varobj_update_with_type_change container int 0 "update after type change"
 
 
 mi_continue_to_line \
-    [gdb_get_line_number {break to inspect struct and union} ${testfile}.c] \
+    [gdb_get_line_number {break to inspect struct and union} ${srcfile}] \
     "step to outer breakpoint"
 
 mi_create_dynamic_varobj nscont nstype \
@@ -305,7 +306,7 @@ if {[lsearch -exact [mi_get_features] python] < 0} {
 
 mi_runto main
 mi_continue_to_line \
-    [gdb_get_line_number {break to inspect struct and union} ${testfile}.c] \
+    [gdb_get_line_number {break to inspect struct and union} ${srcfile}] \
     "step to breakpoint"
 
 # Test python/12531.  Install visualizer on a cplus_fake_child.
index bbde519..f5c4ff6 100644 (file)
@@ -2,8 +2,9 @@ VPATH = @srcdir@
 srcdir = @srcdir@
 
 EXECUTABLES   = break-reverse consecutive-reverse finish-reverse \
+       i386-precsave i386-reverse i386-sse-reverse \
        machinestate solib-reverse step-reverse until-reverse \
-       watch-reverse i386-reverse
+       watch-reverse sigall-reverse sigall-precsave
 
 MISCELLANEOUS = 
 
index 2b437b1..bb3feca 100644 (file)
@@ -34,8 +34,8 @@ if ![istarget "i?86-*linux*"] then {
     return
 }
 
-set testfile "i386-reverse"
-set srcfile ${testfile}.c
+set testfile "i386-precsave"
+set srcfile i386-reverse.c
 set binfile ${objdir}/${subdir}/${testfile}
 
 # some targets have leading underscores on assembly symbols.
@@ -46,7 +46,7 @@ if [istarget "i?86-*-cygwin*"] then {
 }
 
 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug $additional_flags]] != "" } {
-    untested i386-reverse
+    untested ${testfile}.exp
     return -1
 }
 
index caf524a..57b4346 100644 (file)
@@ -37,7 +37,7 @@ if [istarget "i?86-*-cygwin*"] then {
 }
 
 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug $additional_flags]] != "" } {
-    untested i387-float-reverse
+    untested ${testfile}.exp
     return -1
 }
 
index eaa8e04..14b1b7e 100644 (file)
@@ -37,7 +37,7 @@ if [istarget "i?86-*-cygwin*"] then {
 }
 
 if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug $additional_flags]] != "" } {
-    untested i387-float-reverse
+    untested ${testfile}.exp
     return -1
 }
 
index 1919028..94144d3 100644 (file)
@@ -14,7 +14,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 if [target_info exists gdb,nosignals] {
-    verbose "Skipping sigall-reverse.exp because of nosignals."
+    verbose "Skipping sigall-precsave.exp because of nosignals."
     return
 }
 
@@ -31,11 +31,11 @@ gdb_exit
 gdb_start
 gdb_reinitialize_dir $srcdir/$subdir
 
-set testfile sigall-reverse
-set srcfile ${testfile}.c
+set testfile sigall-precsave
+set srcfile sigall-reverse.c
 set binfile ${objdir}/${subdir}/${testfile}
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-     untested sigall.exp
+     untested ${testfile}.exp
      return -1
 }
 
index fac353e..d152965 100644 (file)
@@ -35,7 +35,7 @@ set testfile sigall-reverse
 set srcfile ${testfile}.c
 set binfile ${objdir}/${subdir}/${testfile}
 if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
-     untested sigall.exp
+     untested ${testfile}.exp
      return -1
 }
 
index 0614423..37a7f42 100644 (file)
@@ -39,7 +39,7 @@ set srcfile ${testfile}.c
 set binfile $objdir/$subdir/$testfile
 if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
          executable {debug nowarnings}] != "" } {
-    untested file.exp
+    untested ${testfile}.exp
     return -1
 }
 gdb_reinitialize_dir $srcdir/$subdir