“Leveraging the Yocto Project to debug an embedded Linux system”
summary
Shows how Yocto produces the exact artifacts needed to debug: build and install -dbg and -dev packages for symbols and source, generate an SDK or a debug filesystem for host-side analysis, and toggle flags like disable PIE and per-package debug build so addresses map to symbols. Demonstrations use gdb and gdbserver for local and remote step debugging, and capture and analyze a core dump with addr2line; the patched image reproduces a segfault and the approach finds the crashing source line.
AI-written summary · about
