nix-config/modules/home/gdb/gdbinit

25 lines
581 B
Plaintext
Raw Permalink Normal View History

2021-08-20 20:03:30 +02:00
# Keep a history of all commands in each directory
set history save on
# Enable those pretty-printers
enable pretty-printer
# Pretty formatting of structures
set print pretty on
# Show derived type based on VTable
set print object on
# Show static members
set print static-members on
# Show VTable
set print vtbl on
# Demangle types
set print demangle on
# Read python scrips in the load path
set auto-load python-scripts
# Allow autoloading project-local .gdbinit files
2022-07-15 23:49:28 +02:00
add-auto-load-safe-path ~/git/
# Allow autoloading from the Nix store
2022-07-15 23:49:28 +02:00
add-auto-load-safe-path /nix/store