Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomverbeure/gdbwave

GDB server to debug CPU simulation waveform traces
https://github.com/tomverbeure/gdbwave

Last synced: about 2 months ago
JSON representation

GDB server to debug CPU simulation waveform traces

Awesome Lists containing this project

README

        

# GDBWave

GDB server to debug CPU simulation waveform traces.

See [GDBWave - A Post-Simulation Waveform-Based RISC-V GDB Debugging Server](https://tomverbeure.github.io/2022/02/20/GDBWave-Post-Simulation-RISCV-SW-Debugging.html).

# Usage

**Start gdbwave**

```sh
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