[Tinyos-help] one question about using avr-gdb to debug TinyOS program

Gary Lee gary.lee1978 at gmail.com
Tue Aug 14 13:24:37 PDT 2012


Hi,

I am using TinyOS 2.1.1 and using avr-gdb to debug BlinkToRadio app. I use
avrora gdbserver at the server side.

then I run

# avr-gdb BlinkToRadio.elf
(gdb) target remote :10001
Remote debugging using :10001
0x00000000 in __vectors ()
(gdb)break BlinkToRadioC__Timer0__fired
Function "BlinkToRadioC__Timer0__fired" not defined.

Function "BlinkToRadioC__Timer0__fired" is indeed defined in app.c file.

How can I decide what functions/names can I use to set breakpoint?

Thanks a lot,

Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20120814/66585e8d/attachment.htm 


More information about the Tinyos-help mailing list