Gdb/Guile

From Get docs

23.3 Extending GDB using Guile

You can extend GDB using the Guile implementation of the Scheme programming language. This feature is available only if GDB was configured using --with-guile.

Guile Introduction:    Introduction to Guile scripting in GDB
Guile Commands:    Accessing Guile from GDB
Guile API:    Accessing GDB from Guile
Guile Auto-loading:    Automatically loading Guile code
Guile Modules:    Guile modules provided by GDB