mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
gdb_spawn_attach_cmdline: use unsupported instead of untested
In a previous commit (b750766ac9
: gdb/testsuite: Introduce and use
gdb_spawn_attach_cmdline), if gdb_spawn_attach_cmdline cannot have GDB
attach to the process because of ptrace restrictions (operation not
permitted), the proc issues UNTESTED. This should really be
UNSUPPORTED, as it is done in gdb_attach.
This patch fixes this oversight.
Change-Id: Ib87e33b9230f3fa7a85e06220ef4c63814b71f7d
This commit is contained in:
parent
9d748d023d
commit
78088b8960
@ -5205,7 +5205,7 @@ proc_with_prefix gdb_spawn_attach_cmdline { testpid } {
|
||||
|
||||
gdb_test_multiple "" "$test" {
|
||||
-re -wrap "ptrace: Operation not permitted\\." {
|
||||
untested "$gdb_test_name (operation not permitted)"
|
||||
unsupported "$gdb_test_name (operation not permitted)"
|
||||
return 0
|
||||
}
|
||||
-re -wrap "ptrace: No such process\\." {
|
||||
|
Loading…
Reference in New Issue
Block a user