Hi all,
I try to debug my tinyos code with the avr dragon and avarice and Yeti2 but
there is a problem with the breakpoint "Unresolved Breakpoint". I compiled with
the debug option (ncc -o build/meshbean/main.exe -Os -O1 -g -fnesc-no-inline
-g), the main.exe does not contain all debug symbols. If I use the binary
search and search for the Symbols just some filenames are available. What are
the right compile parameter? Does someone have any advice for me?
Eclipse log:
run: "make" "-C" "/home/student/workspace/Serial_send" "-f"
"/home/student/workspace/Serial_send/TinyOS_Plugin_Makefile" "meshbean" "debug"
"debugopt"
at 11.11.2010 11:22:53
set: TOSROOT = /opt/tinyos-2.1.1
set: TOSDIR = /opt/tinyos-2.1.1/tos
set: ECLIPSE_PROJECT = /home/student/workspace/Serial_send
set: PFLAGS = \"-I/home/student/workspace/Serial_send/src\"
\"-I/home/student/workspace/Serial_send/build/meshbean\"
set: MAKERULES = /opt/tinyos-2.1.1/support/make/Makerules
set: COMPONENT = /home/student/workspace/Serial_send/src/TestSerialAppC
make: Gehe in Verzeichnis '/home/student/workspace/Serial_send'
mkdir -p build/meshbean
compiling /home/student/workspace/Serial_send/src/TestSerialAppC to a
meshbean binary
ncc -o build/meshbean/main.exe -Os -O1 -g -fnesc-no-inline -g
"-I/home/student/workspace/Serial_send/src"
"-I/home/student/workspace/Serial_send/build/meshbean" -fnesc-separator=__
-Wall -Wshadow -Wnesc-all -target=meshbean -fnesc-cfile=build/meshbean/app.c
-board= -DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
-DIDENT_APPNAME=\"/home/student/w\" -DIDENT_USERNAME=\"student\"
-DIDENT_HOSTNAME=\"student-desktop\" -DIDENT_USERHASH=0xf2f906a7L
-DIDENT_TIMESTAMP=0x4cdbc3fdL -DIDENT_UIDHASH=0xb1ea2ff8L -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/meshbean/wiring-check.xml
/home/student/workspace/Serial_send/src/TestSerialAppC.nc -lm
compiled /home/student/workspace/Serial_send/src/TestSerialAppC to
build/meshbean/main.exe
6826 bytes in ROM
283 bytes in RAM
avr-objcopy --output-target=srec build/meshbean/main.exe
build/meshbean/main.srec
avr-objcopy --output-target=ihex build/meshbean/main.exe
build/meshbean/main.ihex
writing TOS image
make: Verlasse Verzeichnis '/home/student/workspace/Serial_send'
finished (exit code: '0', took: 00:05.224)
Cheers,
Mario
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help