diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2006-07-24 13:31:34 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2006-07-24 13:31:34 +0000 |
commit | c542c4feaea051d77c561c1a6b335bbbbf90f8a5 (patch) | |
tree | 5194db08afe8b783d3b1d67bd5506a9551b455e5 | |
parent | fc468d8235102ec26340c840a213680d3b4b5935 (diff) | |
download | fsf-binutils-gdb-c542c4feaea051d77c561c1a6b335bbbbf90f8a5.zip fsf-binutils-gdb-c542c4feaea051d77c561c1a6b335bbbbf90f8a5.tar.gz fsf-binutils-gdb-c542c4feaea051d77c561c1a6b335bbbbf90f8a5.tar.bz2 |
gdb/testsuite/
* gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
* gdb.base/cursal.exp: Revert my 2006-06-09 change. Use
gdb_file_cmd followed by gdb_load.
* gdb.base/dbx.exp: Revert my 2006-06-09 change.
-rw-r--r-- | ChangeLog.csl | 8 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/auxv.exp | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/cursal.exp | 6 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/dbx.exp | 1 |
4 files changed, 15 insertions, 5 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl index 9813b70..08dc717 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,11 @@ +2006-07-24 Nathan Sidwell <nathan@codesourcery.com> + + gdb/testsuite/ + * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets. + * gdb.base/cursal.exp: Revert my 2006-06-09 change. Use + gdb_file_cmd followed by gdb_load. + * gdb.base/dbx.exp: Revert my 2006-06-09 change. + 2006-07-23 Kazu Hirata <kazu@codesourcery.com> readline/ diff --git a/gdb/testsuite/gdb.base/auxv.exp b/gdb/testsuite/gdb.base/auxv.exp index dd43d85..ad4462b 100644 --- a/gdb/testsuite/gdb.base/auxv.exp +++ b/gdb/testsuite/gdb.base/auxv.exp @@ -23,6 +23,11 @@ # This file is based on corefile.exp which was written by Fred # Fish. (fnf@cygnus.com) +if { ! [istarget "*-*-linux*"] && ! [istarget "*-*-solaris*"] } { + verbose "Skipping auxv.exp because of lack of support." + return +} + if $tracelevel then { strace $tracelevel } diff --git a/gdb/testsuite/gdb.base/cursal.exp b/gdb/testsuite/gdb.base/cursal.exp index d35c3ac..8dbd5fa 100644 --- a/gdb/testsuite/gdb.base/cursal.exp +++ b/gdb/testsuite/gdb.base/cursal.exp @@ -34,17 +34,15 @@ if {[gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug gdb_exit gdb_start gdb_reinitialize_dir $srcdir/$subdir -gdb_load ${binfile} +gdb_file_cmd ${binfile} gdb_test "set listsize 1" \ ".*" -gdb_test "break main" ".*Breakpoint.* at .*" "set breakpoint at main" -gdb_run_cmd # initial sal should be first statement in main gdb_test "list" \ "v0 = 0;" \ "list before run" - +gdb_load if {! [runto_main]} { return -1 } diff --git a/gdb/testsuite/gdb.base/dbx.exp b/gdb/testsuite/gdb.base/dbx.exp index b77e58f..161333c 100644 --- a/gdb/testsuite/gdb.base/dbx.exp +++ b/gdb/testsuite/gdb.base/dbx.exp @@ -262,7 +262,6 @@ proc gdb_file_cmd {arg} { # proc test_breakpoints { } { gdb_test "stop in main" "Breakpoint.*at.*: file.*average\.c, line 38\." - gdb_run_cmd gdb_test "status" "Num.*Type.*Disp.*Enb.*Address.*What\r\n1\[ \r\]+breakpoint\[ \r\]+keep y.*in main at.*average\.c:38.*" gdb_test "stop at 43" "Breakpoint.*at.*: file.*average\.c, line 43.*" gdb_test "stop in 43" "Usage: stop in <function . address>" |