~/talk

Adding Coredumps to Your Debugging Toolkit

slides:none on file

Coredumps capture concrete RAM regions—kernel structures, per-thread stacks, peripheral memory—and are converted from the Zephyr logging output into a coredump.bin that the Zephyr GDB server loads alongside the elf so GDB (use the -py build) can inspect state. The demo loads the dump, lands at calculate_transformed_reading, and Python extensions (notably GDB bundle) parse GPIO and print thread states. A practical failure is that the flash back end is not ISR-safe and deadlocks with assertions; proposed fixes include an application-overridable linker region and a flash-simulation backend.

AI-written summary · about

  1. 0:00Core dumps in Zephyr
  2. 2:05Core dumps for debugging
  3. 3:30Core dump components
  4. 4:54Triggering core dumps
  5. 6:18Core dump architecture
  6. 7:24Device-specific data capture
  7. 8:48Log-based core dump output
  8. 9:30Logs to binary format
  9. 10:30GDB server protocol
  10. 11:13GDB client extensions
  11. 12:58GDB setup for core dumps
  12. 13:18Demo: log to binary core dump
  13. 14:03Starting GDB server
  14. 15:07Loading core dump in GDB
  15. 15:52Analyzing core dump
  16. 16:34Debugging with GDB extensions
  17. 17:57Future core dump improvements
  18. 18:18Fixing flash backend ISR issues
  19. 19:03Customizing memory regions
  20. 19:46Encouraging core dump submissions
  21. 20:07Flash simulation for testing
  22. 20:49Resources
  23. 21:52Acknowledgments
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.