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)
commitbb99c4726c8926b943e0f525247d2ce0d7ffe6d1
tree2f3492d854a8b6af381a6efe6081e6c56342becd
parent459609d6f8f65d4b4440385499b84cc8c1804f65
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  <yao@codesourcery.com>

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