Skip to content

Instantly share code, notes, and snippets.

@debuti
Last active August 19, 2019 12:01
Show Gist options
  • Save debuti/b6eb039e28894094251c292be303c940 to your computer and use it in GitHub Desktop.
Save debuti/b6eb039e28894094251c292be303c940 to your computer and use it in GitHub Desktop.
My gdbinit
# 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