mingw-w64's GDB 64-bit/32-bit debugging
Eli Zaretskii
eliz@gnu.org
Tue Dec 6 03:34:00 GMT 2016
> From: Luis Machado <lgustavo@codesourcery.com>
> Date: Mon, 5 Dec 2016 20:36:50 -0600
>
> Is a native mingw-w64 gdb capable of debugging 64-bit and 32-bit Windows
> processes or do we need a 32-bit gdb for a 32-bit process and a 64-bit
> gdb for a 64-bit process?
The latter, I'm afraid.
> Doing some tests i noticed ming-w64's 64-bit GDB doesn't quite like the
> 32-bit executable, choking on some 64-bit Windows symbol files and
> eventually getting an unexpected signal.
Yes, GDB doesn't yet have code that implements the protocol for
debugging WOW64 applications, and the unexpected and unhandled
exception you see is a sign of that. I'm quite sure patches to that
effect will be appreciated.
More information about the Gdb
mailing list