Last active
August 19, 2019 12:01
-
-
Save debuti/b6eb039e28894094251c292be303c940 to your computer and use it in GitHub Desktop.
My gdbinit
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
# set to 1 to enable 64bits target by default (32bit is the default) | |
set $64BITS = 1 | |
# Allows the prettyprinting of structs | |
set print pretty on | |
set confirm off | |
set verbose off | |
set output-radix 0x10 | |
set input-radix 0x10 | |
# These make gdb never pause in its output | |
set height 0 | |
set width 0 | |
# Display instructions in Intel format | |
set disassembly-flavor intel | |
# Show the source | |
layout src | |
define hook-stop | |
refresh | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment