Author Topic: Custom makefile..debugging???  (Read 2539 times)

Offline deadneurons

  • Multiple posting newcomer
  • *
  • Posts: 39
Custom makefile..debugging???
« on: November 25, 2007, 09:09:07 pm »
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.
Code
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.




« Last Edit: November 25, 2007, 09:15:56 pm by deadneurons »

Offline deadneurons

  • Multiple posting newcomer
  • *
  • Posts: 39
Re: Custom makefile..debugging???
« Reply #1 on: November 30, 2007, 05:49:00 pm »
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.