Content originally posted in LPCWare by babaluis on Fri Jan 27 09:31:16 MST 2012
I'm running a "makefile" project that I imported into LPCXpresso. I do not have the --gc-sections options set anywhere that I can see. I would like to get display of the local variables when I enter a function and hit a breakpoint.
Further, I haven't found any discussion of which options to set on the command line for gcc or ln when I'm building code for debugging using LPCXpresso and Red Probe.
Currently I have -g -O0 set on the compile line. My link command is creating a ".elf" file.
Could someone please help me with this?