This is a gdbundle plugin used to plot 1-D arrays in a graph.
C and Rust types can be parsed using the plugin.
One or several arrays can be plotted on the same graph.
- GDB
- LLDB: Not yet
After setting up gdbundle, install the package using:
$ poetry install
If you've decided to manually manage your packages using the gdbundle(include=[])
argument,
add it to the list of plugins.
# .gdbinit
[...]
import gdbundle
plugins = ["plot"]
gdbundle.init(include=plugins)
(gdb) plot var1_name [var2_name ...]