diff options
author | Yao Qi <yao@codesourcery.com> | 2014-10-10 20:52:25 +0800 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2014-10-16 12:55:01 +0800 |
commit | bb99c4726c8926b943e0f525247d2ce0d7ffe6d1 (patch) | |
tree | 2f3492d854a8b6af381a6efe6081e6c56342becd | |
parent | 459609d6f8f65d4b4440385499b84cc8c1804f65 (diff) | |
download | gdb-bb99c4726c8926b943e0f525247d2ce0d7ffe6d1.zip gdb-bb99c4726c8926b943e0f525247d2ce0d7ffe6d1.tar.gz gdb-bb99c4726c8926b943e0f525247d2ce0d7ffe6d1.tar.bz2 |
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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/remotetimeout.exp | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5264087..0ef1f90 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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 diff --git a/gdb/testsuite/gdb.base/remotetimeout.exp b/gdb/testsuite/gdb.base/remotetimeout.exp index b19deecd..c1f511c 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. # |