Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
debugging with i686-pc-mingw32-gdb ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Progman3K
Guru
Guru


Joined: 03 Jan 2004
Posts: 520

PostPosted: Tue Dec 11, 2012 11:30 pm    Post subject: debugging with i686-pc-mingw32-gdb ? Reply with quote

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
View user's profile Send private message
Hu
Watchman
Watchman


Joined: 06 Mar 2007
Posts: 8595

PostPosted: Wed Dec 12, 2012 2:29 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum