gdbwave icon indicating copy to clipboard operation
gdbwave copied to clipboard

GDB server to debug CPU simulation waveform traces

trafficstars

GDBWave

GDB server to debug CPU simulation waveform traces.

See GDBWave - A Post-Simulation Waveform-Based RISC-V GDB Debugging Server.

Usage

Start gdbwave

cd ./src
make run

This does the following:

  • Read in an FST file.
  • Extract all the instruction addresses with associated simulation timestamp.
  • Extract all CPU writes to the CPU register file
  • Extract all CPU writes to external memory
  • Start a GDB server
  • Makes GDB believe that it's dealing with an active or simulated CPU