Hi jiwen jiwen zhang a écrit : > Hello Aurélien Francillon : > thank you for your reply . > 1.when i compile the application , i use the command make mica2 > debug . when i debug the application , i still can't see the NesC source > in tinyos1.15(avarice version 2.4) > , but i can see the NesC source in tinyos2.x(avarice version 2.4-1) , i > think it should not be the problem of version, because if it is the > problem of version , then you can't debug the app in tinyos1.x because > you only see assembler code. why ?
Maybe the tinyos-1.x makefiles do not add the proper debug flags when built with debug keyword, you can try to build with : CFLAGS="-v" make mica2 debug the -v make the build very verbose check that the line calling avr-gcc has the -g and -ggdb flags set, if not then use : CFLAGS="-v -g -ggdb" make mica2 debug with the above command you should see the source with the debugger ... > 2. i want to know how to update my tools in tinyos . if the format of > tools are *. tar.bz2 , how to update ? can you tell me ? > thank you !!! well usually if it's a tar.bz2 then you need to unpapck, ./configure, make make install or similar, search on google or in the included readme in your tools package... Cheers Aurélien _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
