Using Eclipse to debug assembly source
I am new to the ARM platform, and I'm working on getting my development tools set up. I have I am using the LPC2103 (on olimex header board) with the olimex arm-usb-tiny JTAG adapter. I used the included CD to install eclplise, OpenOCD, and the required plugins.
The IDE is working well, I can compile C code and debug in eclipse. However, I would also like to be able to write and debug assembly code, especially while I am learning about the platform. Is there a way to do this through the same IDE, besides putting inline assembly in a C program?
I am using a slightly different set of tools, but am able to debug arm assembly code (e.g. IntAsm.s) through the Eclipse IDE. There should be a small drop down box that allows you to select SRC, ASM, MIXED, and one other option IIRC.
> There should be a small drop down box that allows you to select SRC,
> ASM, MIXED, and one other option IIRC.
It should auto-detect any .s/.asm files in the source folder of a CDT
project. Debugging should also work out of the box... provided the
source files haven't moved since the last compile (locations and names
are stored in the debugging information).
Senior Systems Developer,
TTE Systems Ltd