jiwen zhang a écrit : > Hello : Hi, > i am trying debugging the nesc code. > the version of avarice i am using is 2.4. i find a problem that some > times i can connect but sometimes not when i use the same setting , and > also i can't see the C source , only see assembler code(tinyos1.15) . (i > am using jtagICE mkii ) to see the C/nesc source code you need to build with '-g' compiler flags or just make XXX debug under tinyos which is adding the proper flags to gcc without those flags the debugger don't know the relationships between the assembly and the C source line, however if you build with optimizations (-Os) then the assembly/C relations might look weird because of the optimizations.
> after i connected , i set a breakpoint and click "run" , i find it > never stop at the breakpoint. > so i click the "stop" , and click "run" > again, it gives an error that "can't connect". i am puzzled. I have trouble too with the stop like commands, breakpoints work fine however... > so i doubt the version of avarice . so i want to update it . i have a > question : > > i have download the avarice from www.sourceforge.net > <http://www.sourceforge.net> , the version is 2.7 . there are two > packets named "avarice-2.7.tar.bz2" and "avarice-2.7.tar.bz2.sig". > 1. what is the useness of the "avarice-2.7.tar.bz2.sig "? It's a signature of the file, you may ignore it, you can find more details on gnupg.org if you want to check the signature > 2.they are used for linux . can they be used in cygwin ? probably, I haven't personnaly tried cheers Aurélien _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
