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.

_exit in a Semi-hosted application



Hi Champs,

I am building an application for A8 target using GCC tools and am using semi-hosting in this application. Everything works well except the _exit() function. _exit() internally calls _kill() which makes an SVC call to report to the debugger the execution has completed (ADP_Stopped_ApplicationExit). I expected this to halt the execution, however, I dont see that happen. The _exit() function returns.

I wanted to know what is the expected behavior when _exit() is called ? Isnt the CCS debugger suppose to halt the application ?


Thanks,

Ashish