From: Michael Snyder Date: Wed, 29 Jan 2003 23:25:43 +0000 (+0000) Subject: 2003-01-29 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19ea9e7332dd9266954e7e90b9419a0999b53a67;p=binutils-gdb.git 2003-01-29 Michael Snyder * gdb.base/args.exp: Skip if target does not support args passing. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 51cec4e3121..428ab950c65 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,6 +1,10 @@ +2003-01-29 Michael Snyder + + * gdb.base/args.exp: Skip if target does not support args passing. + 2003-01-22 Daniel Jacobowitz - * gdb.exp (gdb_test_multiple): New function, cloned from + * lib/gdb.exp (gdb_test_multiple): New function, cloned from gdb_test. Accept a list of expect arguments as the third parameter. (gdb_test): Use it. diff --git a/gdb/testsuite/gdb.base/args.exp b/gdb/testsuite/gdb.base/args.exp index d3c5470a8c2..ff7ccab741b 100644 --- a/gdb/testsuite/gdb.base/args.exp +++ b/gdb/testsuite/gdb.base/args.exp @@ -26,6 +26,11 @@ if $tracelevel then { global GDBFLAGS +# Skip test if target does not support argument passing. +if [target_info exists noargs] { + return; +} + set testfile "args" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile}