The correct symbol name is LedsM$Leds$redOff not LedsC...

If gdb complains saying it can not find a symbol, you should open
build/pc/app.c for your application and try to find the right name for
the symbol on which you want to set a breakpoint.

- om_p

------

I wish I could help but I never really learned to use a debuggerer
due to multi-platform-embeded-whatever vagaries...plus they always
crash when I finally get to the iteration of the thread I want...

but try:  man gdb  in the bash shell and see if it helps with the basics.
MS

Abu Amprayil wrote:
> I don't get GDB to work...
>
>  >From Tut5, while in the CntToLedsAndRfm directory I try the following...
>
>  gdb build/pc/main.exe  // start gdb
>
> (gdb) break *LedsC$Leds$redOff
>
> And the response I get is...
> ' No symbol "LedsC$Leds$redOff" in current context '
>
> Please help... i can't seem to get it to work...
>
> Thanks,
> Abu
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to