diff options
author | Hui Zhu <teawater@gmail.com> | 2014-06-04 14:37:34 +0800 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2014-06-04 14:38:16 +0800 |
commit | 9f5a4cef68413e211bc765e969bf6778150231db (patch) | |
tree | 7d4225a2cfa4130213188cb205335c723eacf2c7 /gdb/testsuite/ChangeLog | |
parent | 90a45c4d5f59bf512cc101802fbfb430f7e9248f (diff) | |
download | binutils-9f5a4cef68413e211bc765e969bf6778150231db.zip binutils-9f5a4cef68413e211bc765e969bf6778150231db.tar.gz binutils-9f5a4cef68413e211bc765e969bf6778150231db.tar.bz2 |
Add system test before "set remote system-call-allowed 1" to fileio.exp
This patch is update version according to the discussion in
https://www.sourceware.org/ml/gdb-patches/2009-11/msg00090.html.
If test get the target doesn't support fileio system according to the
remote log. It will set this test as "unsupported".
Before I made this patch, I want add a check before all of tests in this
file. But I found that the target maybe support one call but not others.
For example: my target support Fwrite, Fopen and so on. But not Fgettimeofday.
And it doesn't support Fsystem NULL but it support Fsystem not NULL.
So I think if we want to check target support fileio, we need check them
one by one.
2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
Hui Zhu <hui@codesourcery.com>
* gdb.base/fileio.exp: Add test for shell not available as well as
available.
* gdb.base/fileio.c (test_system): Check for shell twice.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r-- | gdb/testsuite/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e15237c..2720d70 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2014-06-04 Nathan Sidwell <nathan@codesourcery.com> + Hui Zhu <hui@codesourcery.com> + + * gdb.base/fileio.exp: Add test for shell not available as well as + available. + * gdb.base/fileio.c (test_system): Check for shell twice. + 2014-06-04 Yao Qi <yao@codesourcery.com> * gdb.base/auto-connect-native-target.exp: Remove redundant |