I'm working a project using the Tiva processor family, which I debug over JTAG using an XDS100v2 debugger.
When I build the project using TI's ARM compiler, assertion failures result in a nice message printed out to the debug console. This is fantastic, but the project usually requires me to build the project using GCC, and when I fail assertions while debugging these builds, I just get kicked to my program's exit point, which is a little less helpful.
I understand that this is probably a feature of the TI ARM compiler, so I don't expect GCC in CCS to support this out of the box or anything. I'm just curious if anyone knows anything about how the TI ARM compiler implements its printing during assertions, and how this behaviour might be ported to another compiler. I don't know if it's remotely feasible to add this functionality to a non-TI compiler, but I thought I might as well ask. I took a look at the differences between the two compiler's assert.h files in their standard libraries, but I'm not particularly literate in dense preprocessor code so I got a little lost.
I'm not looking for anyone to implement this or give me specific instructions on how to get it done; I'm just looking for some input on whether or not this is possible and how one might go about starting it.
Thanks!
