aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-05-06 14:27:09 +0200
committerTom de Vries <tdevries@suse.de>2024-05-06 14:27:09 +0200
commit147fe7f9fb9a89b217d11d73053f53e8edacf90f (patch)
tree8640ea8b8f2345cbc947483ca8c3b53b2a281965 /gdbsupport
parent5edbb6ed920057df4cca423e3fc54f27f7685def (diff)
downloadbinutils-147fe7f9fb9a89b217d11d73053f53e8edacf90f.zip
binutils-147fe7f9fb9a89b217d11d73053f53e8edacf90f.tar.gz
binutils-147fe7f9fb9a89b217d11d73053f53e8edacf90f.tar.bz2
[gdb/testsuite] Handle ptrace operation not permitted in can_spawn_for_attach
When running the testsuite on a system with kernel.yama.ptrace_scope set to 1, we run into attach failures. Fix this by recognizing "ptrace: Operation not permitted" in can_spawn_for_attach. Tested on aarch64-linux and x86_64-linux. Approved-By: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'gdbsupport')
0 files changed, 0 insertions, 0 deletions