Skip to content
Commit 147fe7f9 authored by Tom de Vries's avatar Tom de Vries
Browse files

[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: default avatarPedro Alves <pedro@palves.net>
parent 5edbb6ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment