diff options
author | Denis Pilat <denis.pilat@st.com> | 2007-05-14 08:14:05 +0000 |
---|---|---|
committer | Denis Pilat <denis.pilat@st.com> | 2007-05-14 08:14:05 +0000 |
commit | 2e74ed18043f3cc9d8edc3fe4beb82cca6bbc30e (patch) | |
tree | 93d2e463a9cb8714e2299c87b5df7a1c99e5a688 /gdb | |
parent | 74f2e02bf4ceb4b0f1440f4eba247a467c45ed35 (diff) | |
download | gdb-2e74ed18043f3cc9d8edc3fe4beb82cca6bbc30e.zip gdb-2e74ed18043f3cc9d8edc3fe4beb82cca6bbc30e.tar.gz gdb-2e74ed18043f3cc9d8edc3fe4beb82cca6bbc30e.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/gdb669.exp | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-cli.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-console.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-disassemble.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-regs.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-stepi.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi-syn-frame.exp | 3 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-cli.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-console.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-disassemble.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-regs.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-stepi.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-syn-frame.exp | 3 |
14 files changed, 8 insertions, 47 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 908bd3f..fabd894 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.mi/gdb669.exp b/gdb/testsuite/gdb.mi/gdb669.exp index c926a70..c68c20c 100644 --- a/gdb/testsuite/gdb.mi/gdb669.exp +++ b/gdb/testsuite/gdb.mi/gdb669.exp @@ -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" diff --git a/gdb/testsuite/gdb.mi/mi-cli.exp b/gdb/testsuite/gdb.mi/mi-cli.exp index 06343a9..b9d906d 100644 --- a/gdb/testsuite/gdb.mi/mi-cli.exp +++ b/gdb/testsuite/gdb.mi/mi-cli.exp @@ -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" diff --git a/gdb/testsuite/gdb.mi/mi-console.exp b/gdb/testsuite/gdb.mi/mi-console.exp index 5066457..21cb498 100644 --- a/gdb/testsuite/gdb.mi/mi-console.exp +++ b/gdb/testsuite/gdb.mi/mi-console.exp @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi-disassemble.exp b/gdb/testsuite/gdb.mi/mi-disassemble.exp index d717b01..ff2ce5f 100644 --- a/gdb/testsuite/gdb.mi/mi-disassemble.exp +++ b/gdb/testsuite/gdb.mi/mi-disassemble.exp @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi-regs.exp b/gdb/testsuite/gdb.mi/mi-regs.exp index c576739..e5920bb 100644 --- a/gdb/testsuite/gdb.mi/mi-regs.exp +++ b/gdb/testsuite/gdb.mi/mi-regs.exp @@ -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" \ diff --git a/gdb/testsuite/gdb.mi/mi-stepi.exp b/gdb/testsuite/gdb.mi/mi-stepi.exp index b5e3c0a..436a5f6 100644 --- a/gdb/testsuite/gdb.mi/mi-stepi.exp +++ b/gdb/testsuite/gdb.mi/mi-stepi.exp @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi-syn-frame.exp b/gdb/testsuite/gdb.mi/mi-syn-frame.exp index 53d1ff9..7362374 100644 --- a/gdb/testsuite/gdb.mi/mi-syn-frame.exp +++ b/gdb/testsuite/gdb.mi/mi-syn-frame.exp @@ -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" \ diff --git a/gdb/testsuite/gdb.mi/mi2-cli.exp b/gdb/testsuite/gdb.mi/mi2-cli.exp index 9c8403a..a46d7e5 100644 --- a/gdb/testsuite/gdb.mi/mi2-cli.exp +++ b/gdb/testsuite/gdb.mi/mi2-cli.exp @@ -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" diff --git a/gdb/testsuite/gdb.mi/mi2-console.exp b/gdb/testsuite/gdb.mi/mi2-console.exp index 252bed6..fa4c1d5 100644 --- a/gdb/testsuite/gdb.mi/mi2-console.exp +++ b/gdb/testsuite/gdb.mi/mi2-console.exp @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi2-disassemble.exp b/gdb/testsuite/gdb.mi/mi2-disassemble.exp index e332c62..42eb336 100644 --- a/gdb/testsuite/gdb.mi/mi2-disassemble.exp +++ b/gdb/testsuite/gdb.mi/mi2-disassemble.exp @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi2-regs.exp b/gdb/testsuite/gdb.mi/mi2-regs.exp index 7aa79f9..39c9cf4 100644 --- a/gdb/testsuite/gdb.mi/mi2-regs.exp +++ b/gdb/testsuite/gdb.mi/mi2-regs.exp @@ -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" \ diff --git a/gdb/testsuite/gdb.mi/mi2-stepi.exp b/gdb/testsuite/gdb.mi/mi2-stepi.exp index 991f971..d975dd8 100644 --- a/gdb/testsuite/gdb.mi/mi2-stepi.exp +++ b/gdb/testsuite/gdb.mi/mi2-stepi.exp @@ -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 diff --git a/gdb/testsuite/gdb.mi/mi2-syn-frame.exp b/gdb/testsuite/gdb.mi/mi2-syn-frame.exp index b568f00..d995084 100644 --- a/gdb/testsuite/gdb.mi/mi2-syn-frame.exp +++ b/gdb/testsuite/gdb.mi/mi2-syn-frame.exp @@ -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" \ |