Bruno BELANYI
680d0c9f37
For now, the nix store path is hard-coded rather than substituted. This is useful for pretty-printing C++ types compiled with a different C++ library from my gdb.
25 lines
581 B
Plaintext
25 lines
581 B
Plaintext
# 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
|
|
set auto-load safe-path ~/git/
|
|
# Allow autoloading from the Nix store
|
|
set auto-load safe-path /nix/store
|