This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mingw-w64's GDB 64-bit/32-bit debugging


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]