commit | 147fe7f9fb9a89b217d11d73053f53e8edacf90f | [log] [tgz] |
---|---|---|
author | Tom de Vries <tdevries@suse.de> | Mon May 06 14:27:09 2024 +0200 |
committer | Tom de Vries <tdevries@suse.de> | Mon May 06 14:27:09 2024 +0200 |
tree | 8640ea8b8f2345cbc947483ca8c3b53b2a281965 | |
parent | 5edbb6ed920057df4cca423e3fc54f27f7685def [diff] |
[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>