diff options
author | Don Breazeal <donb@codesourcery.com> | 2015-01-15 10:47:31 -0800 |
---|---|---|
committer | Don Breazeal <donb@codesourcery.com> | 2015-01-15 10:59:57 -0800 |
commit | d221e7efd61fc80f6fbf862b7e32927835575329 (patch) | |
tree | 525812dabb6b89b31d5d31e1986c34d9080d236b /gdb/gdb_obstack.c | |
parent | cd21f5daad4335b50366b838664ade64bec29957 (diff) | |
download | gdb-d221e7efd61fc80f6fbf862b7e32927835575329.zip gdb-d221e7efd61fc80f6fbf862b7e32927835575329.tar.gz gdb-d221e7efd61fc80f6fbf862b7e32927835575329.tar.bz2 |
Skip two more attach tests when testing against stub-like targets
This patch updates two attach tests to use utility procs for checking if
the attach test should run and for launching the program to be attached, as
follows:
1) Use can_spawn_for_attach instead of is_remote target
2) Use spawn_wait_for_attach instead of exec/sleep
Tested (1) with i686-mingw32 host and i686-pc-linux-gnu build/target and
both with x86_64 Ubuntu.
gdb/testsuite/ChangeLog:
* gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
instead of checking whether the target board is remote and
use spawn_wait_for_attach instead of exec/sleep.
* gdb.base/attach-twice.exp: Likewise.
Diffstat (limited to 'gdb/gdb_obstack.c')
0 files changed, 0 insertions, 0 deletions