3 ms·
I want this capability for embedded ARM systems. I should be able to call a function to have the current stack trace printed: https://communities.mentor.com/t
by jhallenworld 8y ago
I want this capability for embedded ARM systems. I should be able to call a function to have the current stack trace printed:
https://communities.mentor.com/thread/16468 https://communities.mentor.com/thread/16468
- monocasa 8y agoI've done it, but it increases binary size by a whole lot. What worked better was a last chance hardware fault handler that wrote a partial core dump out to flash, and a tool to create an ELF core dump file from that that GDB can accept.
- stefan_ 8y agoThe most widely distributed embedded ARM system software in the world, Android, offers this. They use mini debug info (normal debug info sections compressed, IIRC) and then you can signal a daemon in the background to do a stacktrace on your application. Not on production images, though.
- monocasa 8y ago> The most widely distributed embedded ARM system software in the world, Android [citation needed] Also, when talking about embedded systems, people aren't normally talking about full Linux distros.