On Mon, 27 Dec 2021, Jon Turney wrote: > On 24/12/2021 00:29, Jeremy Drake via Cygwin-patches wrote: > > again, so I can't confirm this. I took a core with 'dumper' but gdb > > doesn't want to load it (it says Core file format not supported, maybe > > something with msys2's gdb?). > > I think you need gdb 11 (for this patch set [1], which is also in cygwin's > gdb 10 package) to read x86_64 cygwin core dumps. > > [1] https://sourceware.org/pipermail/gdb-patches/2020-August/171232.html
Thanks, this was the problem. But the core dump wasn't much help anyway, the stuff I was interested in was pre-exception, and the backtrace seemed to stop at the exception handling (unlike when 'live' debugging when the stack trace continued).