gdb: testsuite: remove attach test from can_spawn_for_attach
authorTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 16 Mar 2022 06:36:09 +0000 (14:36 +0800)
committerTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 23 Mar 2022 03:56:34 +0000 (11:56 +0800)
commit11c19d73c35e6ce74a51302233199ddaa9551f09
tree2228d02c464fafa229baeb807cf4036911debef3
parent9457d59e9d11520e356ec7c974272d555ea8154b
gdb: testsuite: remove attach test from can_spawn_for_attach

As Pedro Alves said, caching procs should not issue pass/fail [1],
this commit removes attach test from can_spawn_for_attach, at the
same time, use "verbose -log" instead of "unsupported" to get a
trace about why a test run doesn't support spawning for attach.

[1] https://sourceware.org/pipermail/gdb-patches/2022-March/186311.html

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
gdb/testsuite/lib/gdb.exp