User forums > Using Code::Blocks
codeblocks cross compiler MinGW and gdb
Jenna:
--- Quote from: oBFusCATed on February 23, 2011, 11:26:59 pm ---Jens: Does stopping the debugger works, I'm sure it doesn't, but wine could do some trickery and make it work.
Also I don't know how we could make C::B to use the win32 api function (DebugBreakProcess) needed to stop the debugger :(
Probably a standalone breaker + simple script ("wine cb_break_debug").
--- End quote ---
6.8.50 stops, 7.x does not even start.
perosoft:
using
http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux#Debugging
is working fine with console programs, trying to debug a windows program gdb hang, at
--- Code: --- hStatic = CreateWindow( "static",
"",
WS_CHILD | WS_VISIBLE | WS_BORDER | SS_CENTER,
0, 0, 0, 0,
hwnd,
NULL,
//hInstance,
hInst,
NULL );
--- End code ---
debugger windows:
--- Code: ---#0 ( 0x6831b60a in ??() (??:??)
#1 ( 0x6831c09c in ??() (??:??)
#2 ( 0x6831c289 in ??() (??:??)
#3 ( 0x6831c92d in ??() (??:??)
#4 ( 0x6831f28a in ??() (??:??)
#5 ( 0x6831fc67 in ??() (??:??)
#6 ( 0x68bec7c0 in ??() (??:??)
#7 ( 0x68d88d4d in ??() (??:??)
#8 ( 0x68d8b77f in ??() (??:??)
#9 ( 0x68d8bb2c in ??() (??:??)
#10 ( 0x68beb512 in ??() (??:??)
#11 ( 0x68c1b91d in ??() (??:??)
#12 ( 0x68c1bcba in ??() (??:??)
#13 ( 0x68c1128a in ??() (??:??)
#14 ( 0x68c0a91d in ??() (??:??)
#15 ( 0x68c0c524 in ??() (??:??)
#16 ( 0x6838b3af in ??() (??:??)
#17 ( 0x68396e81 in ??() (??:??)
#18 ( 0x68396f2b in ??() (??:??)
#19 ( 0x6838f76f in ??() (??:??)
#20 ( 0x683896a4 in ??() (??:??)
#21 0x4a76dd WindowProcedure(hwnd=0x10054, message=1, wParam=0, lParam=10812028) (/media/xp/working.win/TaxeComune/main.cpp:490)
#22 ( 0x68397a5a in ??() (??:??)
#23 ( 0x6839830d in ??() (??:??)
#24 ( 0x6839ac40 in ??() (??:??)
#25 ( 0x6835e830 in ??() (??:??)
#26 ( 0x68363682 in ??() (??:??)
#27 ( 0x68363a9e in ??() (??:??)
#28 ( 0x6838fedd in ??() (??:??)
#29 ( 0x683896a4 in ??() (??:??)
--- End code ---
perosoft:
installed codeblocks 10.05 in wine, sorry but same problem with the mingw debugger, is not working.
i was really interested about mingw compiler, but is not working under wine, and mingw cross platform is not working under linux.
for both creating, compiling projects in c/c++ is working, but debugging no.
switching back to the old openwatcom compiler.
Jenna:
It works here, if I use your codesnippet to create a child window on a toplevel window.
Navigation
[0] Message Index
[*] Previous page
Go to full version