This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am trying to use C style labels are breakpoints for verification purpose. Each of the C style labels should have memory associated with it, for the Code Composer IDE to set breakpoint. but the C labels do not get memory associated until the control is transferred to C function containing the Label. My understanding is this may be because the memory to the label are given from the stack and hence requires the related function to be called before accessing them
Is there any option in either CCS IDE or any complier option to make the C Style label global. I am using CCS 3.1
Per the ANSI standard, C labels are scoped to the function in which they appear. So, from the perspective of CCS, such labels are "live" only when the function is executing. The same is true of function arguments and local variables. So, it is not possible for a C label to have global scope.
Thanks and regards,
-George