aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-thread-exited.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-08-04 15:05:57 +0200
committerTom de Vries <tdevries@suse.de>2023-08-04 15:05:57 +0200
commit1f83e2cd3f512f68751b76d1cb5dd1e38a5a2fbf (patch)
treed113f1ce36fe605d02c620d548dc9e31c3bb5da5 /gdb/testsuite/gdb.python/py-thread-exited.c
parent0961970dea995ce9f8750bd615a534bbbd23cefd (diff)
downloadbinutils-1f83e2cd3f512f68751b76d1cb5dd1e38a5a2fbf.zip
binutils-1f83e2cd3f512f68751b76d1cb5dd1e38a5a2fbf.tar.gz
binutils-1f83e2cd3f512f68751b76d1cb5dd1e38a5a2fbf.tar.bz2
[gdb/testsuite] Move "maint wait-for-index-cache" ALAP in gdb.base/index-cache.exp
In test-case gdb.base/index-cache.exp proc run_test_with_flags contains: ... clean_restart ${testfile} # The tests generally want to check the cache, so make sure it # has completed its work. gdb_test_no_output "maintenance wait-for-index-cache" ... This however hides data races between: - index-cache writing (due to file $exec), and - symbol lookups (due to subsequent ptype commands). Fix this by: - moving the "maintenance wait-for-index-cache" to proc check_cache_stats, and - moving all calls to proc check_cache_stats ALAP. Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-thread-exited.c')
0 files changed, 0 insertions, 0 deletions