Don't check noargs in remotetimeout.exp
authorYao Qi <yao@codesourcery.com>
Fri, 10 Oct 2014 12:52:25 +0000 (20:52 +0800)
committerYao Qi <yao@codesourcery.com>
Thu, 16 Oct 2014 04:55:01 +0000 (12:55 +0800)
The condition [target_info exists noargs] is checked when
remotetimeout.exp was added
https://sourceware.org/ml/gdb-patches/2005-02/msg00052.html

noargs means GDB does not support argument passing for inferior,
rather than doesn't support argument passing to GDB.  remotetimeout.exp
passes -l to GDB only, doesn't pass any arguments to the inferior.

This patch is to remove such unnecessary checking, and
remotetimeout.exp then can be run with native-gdbserver board file.

gdb/testsuite:

2014-10-16  Yao Qi  <yao@codesourcery.com>

* gdb.base/remotetimeout.exp: Remove noargs checking.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/remotetimeout.exp

index 52640875be8ae965d2bb1ba763a250b1f2f4b945..0ef1f9044a9ee6ec36004406657fa0014a3e7a19 100644 (file)
@@ -1,3 +1,7 @@
+2014-10-16  Yao Qi  <yao@codesourcery.com>
+
+       * gdb.base/remotetimeout.exp: Remove noargs checking.
+
 2014-10-15  Pedro Alves  <palves@redhat.com>
 
        PR breakpoints/9649
index b19deecd05def5fb607ad8e33db10e1cc4061093..c1f511c2672eaa4bc67e6381603abfeb9c1437c4 100644 (file)
 
 global GDBFLAGS
 
-# Skip test if target does not support argument passing.
-if [target_info exists noargs] {
-    return
-}
-
 #
 # Test that -l is processed correctly.
 #