aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-01-08 16:07:08 +0100
committerTom de Vries <tdevries@suse.de>2025-01-08 16:07:08 +0100
commit3573490bf0e5d2c550cebed5f4e1a8be0fab2c71 (patch)
tree5666f4036607e082c27afc669edafa9a6613009a /gdb/python
parent9e5d27a53096033a5749e2001a0eca48e4b8b472 (diff)
downloadbinutils-3573490bf0e5d2c550cebed5f4e1a8be0fab2c71.zip
binutils-3573490bf0e5d2c550cebed5f4e1a8be0fab2c71.tar.gz
binutils-3573490bf0e5d2c550cebed5f4e1a8be0fab2c71.tar.bz2
[gdb/testsuite] Require can_spawn_for_attach in gdb.base/gstack.exp
I ran test-case gdb.base/gstack.exp on a machine with kernel.yama.ptrace_scope set to 1 and ran into: ... PASS: gdb.base/gstack.exp: spawn gstack ptrace: Operation not permitted.^M GSTACK-END^M PASS: gdb.base/gstack.exp: gstack exits with no error PASS: gdb.base/gstack.exp: gstack's exit status is 0 FAIL: gdb.base/gstack.exp: got backtrace ... Fix this by requiring can_spawn_for_attach. Tested on x86_64-linux.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions