aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-init.h
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-12-16 15:28:27 +0100
committerTom de Vries <tdevries@suse.de>2022-12-16 15:28:27 +0100
commit832a980e1725a4a7fa527f2dcd92a64d7e68ab0f (patch)
treee9b093bcdef66a36b675874c42cd25e9bb38febe /opcodes/i386-init.h
parentc3efaf0afd9d37004c42cdfd3ce0c1bfa979c45e (diff)
downloadbinutils-832a980e1725a4a7fa527f2dcd92a64d7e68ab0f.zip
binutils-832a980e1725a4a7fa527f2dcd92a64d7e68ab0f.tar.gz
binutils-832a980e1725a4a7fa527f2dcd92a64d7e68ab0f.tar.bz2
[gdb/testsuite] Fix race in gdb.threads/detach-step-over.exp
Once in a while I run into: ... FAIL: gdb.threads/detach-step-over.exp: \ breakpoint-condition-evaluation=host: target-non-stop=off: non-stop=off: \ displaced=off: iter 1: all threads running ... In can easily reproduce this by doing: ... # Wait a bit, to give time for the threads to hit the # breakpoint. - sleep 1 return true ... Fix this by counting the running threads in a loop, effectively allowing 10 seconds (instead of 1) for the threads to start running, but only sleeping if needed. Reduces total execution time from 1m27s to 56s. Tested on x86_64-linux.
Diffstat (limited to 'opcodes/i386-init.h')
0 files changed, 0 insertions, 0 deletions