diff options
author | Alan Hayward <alan.hayward@arm.com> | 2018-09-26 14:06:54 +0100 |
---|---|---|
committer | Alan Hayward <alan.hayward@arm.com> | 2018-09-27 10:48:20 +0100 |
commit | 9fc3183f0f8ab8ec85f0e5f65bae9e18ddf545a0 (patch) | |
tree | 844bce4744e06f5979038b1fb3a7115de550c0f2 /gdb/NEWS | |
parent | 115d0c14437a07c686e58d8c0bf30755fb379c68 (diff) | |
download | gdb-9fc3183f0f8ab8ec85f0e5f65bae9e18ddf545a0.zip gdb-9fc3183f0f8ab8ec85f0e5f65bae9e18ddf545a0.tar.gz gdb-9fc3183f0f8ab8ec85f0e5f65bae9e18ddf545a0.tar.bz2 |
testsuite: Fix race condition in check-libthread-db
It is possible for the created thread to reach the breakpoint before
the main thread has set errno to 23.
Prevent this using a pthread barrier.
* gdb.threads/check-libthread-db.c (thread_routine): Use a
pthread barrier.
(main): Likewise.
Diffstat (limited to 'gdb/NEWS')
0 files changed, 0 insertions, 0 deletions