Probe catch syscall support
authorYao Qi <yao.qi@linaro.org>
Tue, 28 Jun 2016 11:02:35 +0000 (12:02 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 28 Jun 2016 11:03:28 +0000 (12:03 +0100)
commita31d2f068fa1384c505b540ea595d2d97813ba5f
treeffd9ad9973ea5a03e93a318e79dc0b2687cb6ffd
parent7160c10d6530b79ea45d435933b07765f610f54d
Probe catch syscall support

In 82075af2c14b1f8a54fa5796fb63f7ef23f98d9d (Implement 'catch syscall'
for gdbserver), only x86 is supported, but the test can still be run
on other linux targets, like aarch64 and ppc, with native-gdbserver.
This causes many new fails.

This patch removes the check on isnative and on target triplets.
Instead, we can insert catch point, and resume the program to see whether
catch syscall is supported or not.

gdb/testsuite:

2016-06-28  Yao Qi  <yao.qi@linaro.org>

* gdb.base/catch-syscall.exp: Remove check on isnative and target
triplets.  Start gdb, execute catch syscall, and continue.  Check
gdb's output to determine catch syscall is supported.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/catch-syscall.exp
This page took 0.048429 seconds and 4 git commands to generate.