Thanks for sharing! Yeah, the Win32 debugging API is richer and more
capable than ptrace, though it also doesn't quite fit into GDB's
architecture. I recently used one little piece of dbghelp.dll myself in
vc++filt:
https://github.com/skeeto/w64devkit/blob/master/src/vc%2B%2Bfilt.c
Poor native testing support explains the frequent regressions, as those
would, in practice, only get caught through manual testing. I didn't know
about that problem. It's also interesting that their best option for
building GDB is cross-compilation, essentially the same conclusion I had
reached.