aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-11-22 13:37:24 +0100
committerTom de Vries <tdevries@suse.de>2024-11-22 13:37:24 +0100
commitb200576fa04421d4c8e8da3082afcbfb986aac45 (patch)
tree17ed614912dad99518ad6f8e81ff10b3303526c1 /gdb/python/python.c
parentc4df8ad79cc62509af85311a6e03806d94f6c75b (diff)
downloadgdb-b200576fa04421d4c8e8da3082afcbfb986aac45.zip
gdb-b200576fa04421d4c8e8da3082afcbfb986aac45.tar.gz
gdb-b200576fa04421d4c8e8da3082afcbfb986aac45.tar.bz2
[gdb/testsuite] Fix gdb.base/bg-exec-sigint-bp-cond.exp for signal merging
The test-case gdb.base/bg-exec-sigint-bp-cond.exp sends 10 SIGINTS to gdb, and counts whether 10 have arrived. Occasionally, less than 10 arrive due to signal merging [1]. This is more likely to happen when building gdb with -fsanitize=thread. Fix this by instead, sending one SIGINT at a time, and waiting for it to arrive. This still makes the test-case fail if the fix fixing the PR that the test-case was introduced for is reverted. Tested on aarch64-linux and x86_64-linux. PR testsuite/32329 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32329 [1] https://www.gnu.org/software/libc/manual/html_node/Merged-Signals.html
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions