| View previous topic :: View next topic |
| Author |
Message |
Progman3K Guru


Joined: 03 Jan 2004 Posts: 470
|
Posted: Tue Dec 11, 2012 11:30 pm Post subject: debugging with i686-pc-mingw32-gdb ? |
|
|
Hi!
I have cross-i686-pc-mingw32/mingw-runtime-3.18 installed and it works perfectly; I can produce Win32 binaries and run them with Wine and also run them in VirtualBoxed WindowsXP VMs
However, I've gotten quite used to using ddd (via gdb) to debug the linux-native apps that I write and I would really like to continue using it to debug the Windows applications too.
Reading the MinGW manual http://mingw-cross.sourceforge.net/cross_debug.html#ddd
This appears to be possible and I appear to have all the required components EXCEPT the i686-pc-mingw32-gdb binary.
How is that installed? I checked the USE flags for the mingw-runtime and it doesn't seem to be an option.
Does anyone have any experience doing this?
Thanks! |
|
| Back to top |
|
 |
Hu Watchman

Joined: 06 Mar 2007 Posts: 7616
|
Posted: Wed Dec 12, 2012 2:29 am Post subject: |
|
|
| I expect this would be installed by the cross-mingw32 version of the gdb package. If you installed with crossdev, it should be able to build a cross-gdb for you. |
|
| Back to top |
|
 |
|