A Unified Debug Server for Deeply Embedded Systems and GDB/LLDB
summary
An open source debug server presents a simple abstraction over the GDB/LLDB remote serial protocol, mapping packets to thin callbacks for register/memory access, stepping and core control. It runs on Linux/Windows/Mac and connects to simulators, FPGAs or OpenOCD-backed hardware, and implements a lockstep debug target that loads two cores (e.g. PicoRV32 and a RISC-V “riskier” model) and flags divergences — observed where X31 reads 5 on one core and 4 on the other. It supports heterogeneous multicore setups; docs and wider ports remain work in progress.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 0:20Why we need a GDB server
- 2:25Remote Serial Protocol
- 3:28Basic Implementation
- 4:32Debug Targets
- 6:27Demonstration
- 11:37Questions
related talks
32mCross Debugging on Linux : A History, Current State of the Art and Coming Improvements
10mGDB for RISC-V: Extending Support for Bare Metal Multi-core Debugging
27mLook inside your SoC with Open SoC Debug
11mHeterogeneous Multicore Debugging of RISC-V Cores in Complex Chips
11mDemo: Heterogeneous Multicore Debugging of RISC-V Cores in Complex Chips
11mBoost SoC Debug with Smart Monitors and Embedded Software
20mUltraSoC Presentation
42mDebugging Heterogenous SoC Using OpenOCD
