News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Custom makefile..debugging???

Started by deadneurons, November 25, 2007, 09:09:07 PM

Previous topic - Next topic

deadneurons

Hi, I know this has been asked before, I searched the forum but didn't get definitive answer.
I'm learning to program arm uC specifically lpc2138, all is good I'm loving CB ide. I want to use the debugger now so I could actually learn how to use it.

this is what I get from the log.

Building to ensure sources are up-to-date
Build succeeded
Selecting target:
Debug
Adding source dir: C:\CodeBlocks\nc\
Adding source dir: C:\CodeBlocks\NC\
Adding source dir: C:\CodeBlocks\NC\
Changing directory to: ../NC

Adding file: main.elf
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.6


nothing gets loaded in any of the debugging windows except the breakpoint.
when I tried to stepinto, the debugger just quits.

I am using svn4675, (after many tries I was able to get my very first compilation of an svn ever :) )
and WinARM GCC toolchain.





deadneurons

I'm guessing I posted on the wrong forum :( , if so kindly move it to the right place mods. ty.

I have just found out about GDB Insight, and the neat Tools menu in CB, I passed -se filename to Insight and I got something new to play with. Tho I really like to learn how to do it inside CB instead.