does rtems 5.1 support create a core dump file when accessing a invalid address or other fatal errors?
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Sep 17 16:00:24 UTC 2020
Hello,
On 15/09/2020 12:58, smallphd at 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
More information about the devel
mailing list