Re:CodeSourcery, DriverLib and first steps
Thank you ravaz for your patience!
I'm using the EK-LM3S6965 board and the following examples: hello world, blinky, uart echo.
I admit I was wrong when I said the -g option is not included. Actually it is, but it is under a ifdef:
ifdef DEBUG CFLAGS+=-g -D DEBUG endif
How to set the environment variable DEBUG? Which value should it have? I tried to set to '1' in Eclipse under C/C++ Build -> Build variable and C/C++ Build -> Environment, but I'm not sure I did the right thing.
Same thing applies if I create a new "make target" and pass the "all DEBUG=1" parameter to make command.
Anyway, the debugger (when working) tells me "No symbol table is loaded. Use the "file" command." And no source file is shown in debug perspective.
I don't know why only one time I was able to debug. Perhaps I did the right thing without know what I was doing :(
Thanks again Marco
Post edited by: femtotech, at: 2008/07/08 00:34
login or register to reply
|