Thanks! It's helps me! Only one correction: __attribute__((noinline)) void breakHere(void) not void breakHere(void) __attribute__((noinline))
12.08.2011 13:27, David Brown пишет: > A good way to make it easier to put in a breakpoint is to add an extra > function that the compiler will definitely call, and put the breakpoint > there. For example: > > static volatile uint8_t vol; > extern "C" void breakHere(void); > void breakHere(void) __attribute__((noinline)) { > vol = 1; > } > > > void foo(void) { > ... > breakHere(); > ... > } > ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users