Last active
January 26, 2016 15:45
-
-
Save azat/7767184 to your computer and use it in GitHub Desktop.
gdb init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# https://github.com/azat/dot_files/blob/master/gdb/gdbinit | |
# | |
# | |
# System-wide GDB initialization file. | |
# | |
set disassembly-flavor intel | |
set confirm off | |
set verbose off | |
set print pretty | |
set complaints 0 | |
set history filename ~/.gdb_history | |
set history save | |
set history expansion on | |
set default-collect $_ret, $regs, $locals, $args | |
set auto-load safe-path $debugdir:$datadir/auto-load:/usr/share | |
# Disable printing of static members. Qt has too many, it clutters the output | |
set print static-members off | |
# Show the real classname of object instances - e.g. (Kded *) 0x8073440 instead of (class QObject *) 0x8073440 | |
set print object | |
# TODO: support style like vim/subl have | |
set filename-display basename | |
directory $cwd:$cdir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment