From: Nathan Sidwell Date: Mon, 24 Jul 2006 14:20:50 +0000 (+0000) Subject: * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets. X-Git-Tag: newlib-csl-sourcerygxx-3_4_4-25~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0155cc767d61af1d5bd6745f00af79eabea6c72d;p=platform%2Fupstream%2Fbinutils.git * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets. * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c4f4e8a..641cdd2 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-07-24 Nathan Sidwell + + * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets. + * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load. + 2006-07-21 Andrew Stubbs * gdb.base/default.exp: Update source command error message. 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 c3ddc55..8dbd5fa 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 }