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 /elfcpp/x86_64.h | |
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 'elfcpp/x86_64.h')
0 files changed, 0 insertions, 0 deletions