Some of the CI runners disable ptrace, as they’re running inside a container and ptrace would allow container escape. On those systems, gdb can’t work, so skip the gdb test.
Add some additional stderr debug output to make it clear that’s the case.
Signed-off-by: Philip Withnall pwithnall@endlessos.org