2007-05-14 Denis Pilat <denis.pilat@st.com>
authorDenis Pilat <denis.pilat@st.com>
Mon, 14 May 2007 08:14:05 +0000 (08:14 +0000)
committerDenis Pilat <denis.pilat@st.com>
Mon, 14 May 2007 08:14:05 +0000 (08:14 +0000)
* gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.

14 files changed:
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/gdb669.exp
gdb/testsuite/gdb.mi/mi-cli.exp
gdb/testsuite/gdb.mi/mi-console.exp
gdb/testsuite/gdb.mi/mi-disassemble.exp
gdb/testsuite/gdb.mi/mi-regs.exp
gdb/testsuite/gdb.mi/mi-stepi.exp
gdb/testsuite/gdb.mi/mi-syn-frame.exp
gdb/testsuite/gdb.mi/mi2-cli.exp
gdb/testsuite/gdb.mi/mi2-console.exp
gdb/testsuite/gdb.mi/mi2-disassemble.exp
gdb/testsuite/gdb.mi/mi2-regs.exp
gdb/testsuite/gdb.mi/mi2-stepi.exp
gdb/testsuite/gdb.mi/mi2-syn-frame.exp

index 908bd3fd979f31698f3cd444d929d9e6b2c918d2..fabd894a131c9bf1599b5f3897788a474dee473f 100644 (file)
@@ -1,3 +1,11 @@
+2007-05-14  Denis Pilat  <denis.pilat@st.com>
+
+       * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
+       gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
+       gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
+       gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
+       gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
+
 2007-05-11  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
 
        * gdb.base/overlays.exp: Add support for targets with only code
index c926a70bf21778cb9e3b4767704b0a83909e14e3..c68c20cab4f0f0930d21f14431085a7911012f22 100644 (file)
@@ -183,9 +183,6 @@ if {[gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $option
     return -1
 }
 
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_load $binfile
-
 mi_run_to_main
 check_mi_and_console_threads "at main"
 
index 06343a9c9513dfc116f66b563692323c4add26ac..b9d906de0415094e8e22194c2f68761f79de8347 100644 (file)
@@ -36,8 +36,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      return -1
 }
 
-mi_gdb_reinitialize_dir $srcdir/$subdir
-
 mi_gdb_test "-interpreter-exec" \
   {\^error,msg="mi_cmd_interpreter_exec: Usage: -interpreter-exec interp command"} \
   "-interpreter-exec with no arguments"
index 5066457459d23c28b75eb7a5dabe4110f4c022a7..21cb49834057188dc267ea529c6018362491fb19 100644 (file)
@@ -49,10 +49,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      return -1
 }
 
-mi_delete_breakpoints
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_load ${binfile}
-
 mi_run_to_main
 
 # Next over the hello() call which will produce lots of output
index d717b01e6745c0ea44c041f514ed26ba0929edc0..ff2ce5f5a4805d2ef726553cdba326afd3dcb212 100644 (file)
@@ -38,10 +38,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      return -1
 }
 
-mi_delete_breakpoints
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_load ${binfile}
-
 proc test_disassembly_only {} {
     global mi_gdb_prompt
     global hex
index c5767396df751315a74b906c02fa6e7db6490538..e5920bb41660f424811555f474e7e4bc046e7c86 100644 (file)
@@ -42,10 +42,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      return -1
 }
 
-mi_delete_breakpoints
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_load ${binfile}
-
 proc sparc_register_tests_no_exec { } {
        # Test the generic IDT chip.
        mi_gdb_test "111-data-list-register-values" \
index b5e3c0a8ed2256259b518e8e5e9df74bc3e19346..436a5f6521e246fc6543802aa22b539f88b1b1bd 100644 (file)
@@ -40,11 +40,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      return -1
 }
 
-mi_delete_breakpoints
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_load ${binfile}
-
 proc test_stepi_nexti {} {
     global mi_gdb_prompt
     global hex fullname_syntax srcfile
index 53d1ff9202a946c8c6de63c9ff38e16e43075ed5..73623748b249f1b48ff48167d1a5b74817a369ba 100644 (file)
@@ -38,9 +38,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
 
 mi_gdb_exit
 mi_gdb_start
-mi_delete_breakpoints
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_load ${binfile}
 mi_run_to_main
 
 mi_gdb_test "400-break-insert foo" \
index 9c8403aa57b3793a7a08c3fca14543e046eb5d84..a46d7e51df4b5786c852a7ff1311f8a17978b916 100644 (file)
@@ -36,8 +36,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      return -1
 }
 
-mi_gdb_reinitialize_dir $srcdir/$subdir
-
 mi_gdb_test "-interpreter-exec" \
   {\^error,msg="mi_cmd_interpreter_exec: Usage: -interpreter-exec interp command"} \
   "-interpreter-exec with no arguments"
index 252bed6ccd41643e684577e0a703ee6474dcb5c1..fa4c1d5bfc40aab04730d376fce56cebd2d10307 100644 (file)
@@ -49,10 +49,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      return -1
 }
 
-mi_delete_breakpoints
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_load ${binfile}
-
 mi_run_to_main
 
 # Next over the hello() call which will produce lots of output
index e332c623ba9c363d3d6d9bc6da907a461226d746..42eb336034332f7aaaa0f256a23e2dc7d4150809 100644 (file)
@@ -38,10 +38,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      return -1
 }
 
-mi_delete_breakpoints
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_load ${binfile}
-
 proc test_disassembly_only {} {
     global mi_gdb_prompt
     global hex
index 7aa79f9bc320c05787025cf99f4e148ed0831dcf..39c9cf437c8e0a3120c72724f8b91372ca0f89e0 100644 (file)
@@ -42,10 +42,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      return -1
 }
 
-mi_delete_breakpoints
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_load ${binfile}
-
 proc sparc_register_tests_no_exec { } {
        # Test the generic IDT chip.
        mi_gdb_test "111-data-list-register-values" \
index 991f9718341803ba1e4f30eb40c786671f80cfe7..d975dd85950247cb5ef82643ea9015158be21678 100644 (file)
@@ -40,11 +40,6 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      return -1
 }
 
-mi_delete_breakpoints
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_load ${binfile}
-
 proc test_stepi_nexti {} {
     global mi_gdb_prompt
     global hex fullname_syntax srcfile
index b568f00ab39fbba310a7f9588a9632e71f6b15af..d99508499c09c6615f7a6246b5d579920e44c674 100644 (file)
@@ -40,9 +40,6 @@ set my_mi_gdb_prompt "\\(gdb\\)\[ \]*\[\r\n\]*"
 
 mi_gdb_exit
 mi_gdb_start
-mi_delete_breakpoints
-mi_gdb_reinitialize_dir $srcdir/$subdir
-mi_gdb_load ${binfile}
 mi_run_to_main
 
 mi_gdb_test "400-break-insert foo" \