aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/stackdepot.py
diff options
context:
space:
mode:
authorLeonard Crestez <[email protected]>2024-03-16 20:16:42 +0200
committerMathieu Poirier <[email protected]>2024-04-08 10:33:03 -0600
commitfec2601f2003b9e9820ab5057607df7fff61cfaf (patch)
tree5a8632e9d0141054e22c13a53452e91896a45e97 /scripts/gdb/linux/stackdepot.py
parent331f91d86f71d0bb89a44217cc0b2a22810bbd42 (diff)
remoteproc: zynqmp: Add coredump support
Supporting remoteproc coredump requires the platform-specific driver to register coredump segments to be dumped. Do this by calling rproc_coredump_add_segment for every carveout. Also call rproc_coredump_set_elf_info when then rproc is created. If the ELFCLASS parameter is not provided then coredump fails with an error. Other drivers seem to pass EM_NONE for the machine argument but for me this shows a warning in gdb. Pass EM_ARM because this is an ARM R5. Signed-off-by: Leonard Crestez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions