diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2006-07-24 14:20:50 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2006-07-24 14:20:50 +0000 |
commit | 0155cc767d61af1d5bd6745f00af79eabea6c72d (patch) | |
tree | 79edde845a978cdc3b5a583990ec499a81724b21 /gdb/testsuite/gdb.base/cursal.exp | |
parent | b45619c047b9bcea43bebfd63d2489301262b481 (diff) | |
download | binutils-gdb-0155cc767d61af1d5bd6745f00af79eabea6c72d.tar.gz |
* gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
* gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
Diffstat (limited to 'gdb/testsuite/gdb.base/cursal.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/cursal.exp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/cursal.exp b/gdb/testsuite/gdb.base/cursal.exp index c3ddc554349..8dbd5fa2550 100644 --- a/gdb/testsuite/gdb.base/cursal.exp +++ b/gdb/testsuite/gdb.base/cursal.exp @@ -34,8 +34,7 @@ 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" \ ".*" @@ -43,7 +42,7 @@ gdb_test "set listsize 1" \ gdb_test "list" \ "v0 = 0;" \ "list before run" - +gdb_load if {! [runto_main]} { return -1 } |