aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2003-01-29 23:25:43 +0000
committerMichael Snyder <msnyder@vmware.com>2003-01-29 23:25:43 +0000
commit19ea9e7332dd9266954e7e90b9419a0999b53a67 (patch)
tree1c3b49a004c758afba426d60a276d4c1fe3bb83a /gdb
parentb92225a1b9a88ec3925125e8f25b547a1ba692dc (diff)
downloadgdb-19ea9e7332dd9266954e7e90b9419a0999b53a67.zip
gdb-19ea9e7332dd9266954e7e90b9419a0999b53a67.tar.gz
gdb-19ea9e7332dd9266954e7e90b9419a0999b53a67.tar.bz2
2003-01-29 Michael Snyder <msnyder@redhat.com>
* gdb.base/args.exp: Skip if target does not support args passing.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/args.exp5
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 51cec4e..428ab95 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,6 +1,10 @@
+2003-01-29 Michael Snyder <msnyder@redhat.com>
+
+ * gdb.base/args.exp: Skip if target does not support args passing.
+
2003-01-22 Daniel Jacobowitz <drow@mvista.com>
- * 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 d3c5470..ff7ccab 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}