I changed writing of vgcore to make it obvious which thread has crashed.
This is done by moving the thread info for the crashing thread to be the
If thread 5 crashed, gdb opening vgcore still shows thread 1 as active.
After my change, thread 5 is the active one.
Question: How to create a test for this?
My naive idea: The test needs to run valgrind until the client app crashes,
and then open vgcore in gdb to issue "bt" and check if this is the