Re: mingw-w64's GDB 64-bit/32-bit debugging
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
> From: Luis Machado <[email protected]> > 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.