Can gdb set a breakpoint on a tsan-detected race condition?

Viewed 79

I am testing some code using Google's tsan thread sanitizer. Tsan is telling me that I have a race condition in a particular function, but it is not clear to me from looking at the output what the problem is. Is it possible to set a breakpoint in gdb to break on the spot where tsan generates the warning?

0 Answers
Related