From: Yao Qi Date: Fri, 10 Oct 2014 12:52:25 +0000 (+0800) Subject: Don't check noargs in remotetimeout.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb99c4726c8926b943e0f525247d2ce0d7ffe6d1;p=binutils-gdb.git Don't check noargs in remotetimeout.exp 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 * gdb.base/remotetimeout.exp: Remove noargs checking. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 52640875be8..0ef1f9044a9 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-10-16 Yao Qi + + * gdb.base/remotetimeout.exp: Remove noargs checking. + 2014-10-15 Pedro Alves PR breakpoints/9649 diff --git a/gdb/testsuite/gdb.base/remotetimeout.exp b/gdb/testsuite/gdb.base/remotetimeout.exp index b19deecd05d..c1f511c2672 100644 --- a/gdb/testsuite/gdb.base/remotetimeout.exp +++ b/gdb/testsuite/gdb.base/remotetimeout.exp @@ -21,11 +21,6 @@ global GDBFLAGS -# Skip test if target does not support argument passing. -if [target_info exists noargs] { - return -} - # # Test that -l is processed correctly. #