home: add gdb
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Bruno BELANYI 2021-08-20 20:03:30 +02:00
parent 30fc01b5ae
commit a48303e66d
3 changed files with 40 additions and 0 deletions

22
home/gdb/gdbinit Normal file
View file

@ -0,0 +1,22 @@
# 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
add-auto-load-safe-path ~/git/