aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/args.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/args.exp')
-rw-r--r--gdb/testsuite/gdb.base/args.exp5
1 files changed, 5 insertions, 0 deletions
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}