Embed GDB helper

* Add GDB helper script

Pretty printing of some common argument types

Need to add a line to ~/.gdbinit

> add-auto-load-safe-path /path/to/base/checkout/

afterwards verify at GDB shell with

> info auto-load python-scripts
> info pretty-printer

Tested with GDB 16.3 circa Debian 13

Add $rcast(dbCommon) to up-cast
Add $record("name") to lookup record
Add $elln(ELLLIST,#) to index into list
This commit is contained in:
mdavidsaver authored and Dirk Zimoch committed 2026-10-14 11:14:32 +02:00
1 parent 354fc5b757
commit a6c4933742
7 files changed
+348

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
## Add GDB Helper Script
Add [Debugging with GDB](gdb.md) section in documentation.
Add GDB helper script to pretty print some common database types.
Tested with GDB 16.3.
Compatible with python 3.