Hello,

On 15/09/2020 12:58, small...@aliyun.com wrote:
I am developing applications in rtems 5.1. As we know, my application and rtems kernel are both in the same address space. So if my application access an invalid address or encounter other fatal errors, I want the kernel not just being hunging, but create a core dump file. This file contains the whole contents of memory and I could use a debuger to analyse the file to handle the bug.
The question arise because I do not want always debug rtems in the bsp.

in addition to dumping the current state of the application, you can use the event recording to get a bit of the dynamic behaviour before the crash:

https://docs.rtems.org/branches/master/user/tracing/eventrecording.html

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to