User forums > Using Code::Blocks

Howto - Cross Compiling in Linux using MingW32

<< < (14/25) > >>

defcronyke:

--- Quote from: defcronyke on August 03, 2009, 06:19:16 am ---I have the debugger running just fine...

--- End quote ---

I shouldn't have said this, as I hadn't really tested debugging. I am actually having a problem with the debugger (windows version of GNU gdb 5.2.1 in wine wrapper script).

The Debugger starts fine but doesn't allow me to step through the program. Sometimes the output says "No symbol table is loaded.  Use the "file" command." While other times, it says "The program is not being run". I have selected the "Produce debugging symbols [-g]" option in my build target options...

Any ideas on how to debug a win32 target?

Jenna:

--- Quote from: defcronyke on October 09, 2009, 09:12:18 pm ---Any ideas on how to debug a win32 target?

--- End quote ---

Read my comments about cross-debugging:
http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux#Debugging


By the way:
gdb 5.2.1 does not even work correctly if you do not use it as cross-platform debugger, because it's a little bit outdated.

defcronyke:
Thanks for the tip. I tried gdb v7.0 and it works great!

Green::horn:

--- Quote from: wilbefast on October 06, 2009, 06:09:16 pm ---Is the first page still up-to-date? 2006 seems a bit far back, and no "insight" to be found (the link doesn't work)  :?

Just thought I'd ask before breaking something.


William

--- End quote ---
Hi,

you can find and download the "insight.exe" from here:
http://sourceforge.net/projects/mingw/files/User%20Contributed/insight/


Greenhorn

kencamargo:

--- Quote from: defcronyke on October 10, 2009, 10:43:11 pm ---Thanks for the tip. I tried gdb v7.0 and it works great!

--- End quote ---

No matter what version of the debugger I try, I get errors and no debugging (either it aborts or I get a segfault). I am using a 64 bit version of Ubuntu, might this be getting in the way?

Thans in advance,
Ken

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version