When investigating core files from crashes, one can quite easily
figure out which query crashed, as we've
Sometimes you want to just list all the currently executing statements, this is useful for diagnosing hangs or corruptions.
At least GDB 7 supports python macros, which can help us a lot here. I use a core file from 5.5.27, also a non-debug build but not …