Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tools] Add ability to coredump from GDB directly #961

Merged
merged 1 commit into from
Feb 20, 2023

Conversation

salkinium
Copy link
Member

@salkinium salkinium commented Feb 19, 2023

By using GDB you can dump all volatile memories including heap and backup memories. This works even without an ELF file in case it is not at hand right away. To find the right ELF file later, the GNU build ID can also be extracted from the firmware.

This removes the copying of the CrashDebug binaries into the generated modm folder, instead you must provide them in your PATH.

  • Test changes to Makefile
  • Test changes to CMakefiles
  • Test changes to SCons
  • Tested in Hardware on STM32F103 and STM32F429

By using GDB you can dump all volatile memories including heap and
backup memories. This works even without an ELF file in case it is not
at hand right away. To find the right ELF file later, the GNU build ID
can also be extracted from the firmware.
@salkinium salkinium merged commit eb2748e into modm-io:develop Feb 20, 2023
@salkinium salkinium deleted the feature/coredump branch February 20, 2023 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

1 participant