Overview
Explore the evolution, current techniques, and future advancements of cross debugging on Linux in this 32-minute Linux Foundation presentation. Delve into system mode, software and hardware breakpoints, emulating singlestep, and the challenges of multithread debugging. Trace the history of cross debugging from 2005, examining achieved results and caveats. Witness remote debug sessions for x86-64 and ARM64 architectures, and learn about debugging large processes on RP14. Discover alternatives to GDB/gdbserver, including debugging on Zephyr. Gain insights into Valgrind's profiling capabilities and appropriate use cases. Explore LTTng as an alternative, understanding its core concepts and integration with Trace Compass.
Syllabus
Intro
Tech Topics of this presentation
System mode
Software Breakpoints
Hardware breakpoints
Emulating Singlestep
Multithread debugging (user+system) nightmare
Everything began in ... 2005
Abandonned to switch to
Achieved result
Caveats
A remote debug session (x86-64)
Another Debug Session (x86-64 - ARM64)
Debugging a big process on RP14
Alternatives to GDB/gdbserver
Debug on Zephyr
You thought you knew valgrind, did you ?
Valgrind profiling
When should I use Valgrind ?
LTTng alternatives
LTTng in a nutshell
LTTng: Trace Compass
Taught by
Linux Foundation