From 19ea9e7332dd9266954e7e90b9419a0999b53a67 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Wed, 29 Jan 2003 23:25:43 +0000 Subject: [PATCH] 2003-01-29 Michael Snyder * gdb.base/args.exp: Skip if target does not support args passing. --- gdb/testsuite/ChangeLog | 6 +++++- gdb/testsuite/gdb.base/args.exp | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) 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} -- 2.30.2