diff options
author | Tom de Vries <tdevries@suse.de> | 2024-05-06 14:27:09 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-05-06 14:27:09 +0200 |
commit | 147fe7f9fb9a89b217d11d73053f53e8edacf90f (patch) | |
tree | 8640ea8b8f2345cbc947483ca8c3b53b2a281965 /gdb/configure | |
parent | 5edbb6ed920057df4cca423e3fc54f27f7685def (diff) | |
download | binutils-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 'gdb/configure')
0 files changed, 0 insertions, 0 deletions