all repos — dotfiles-base @ 23b5492723397297ac5b1a100c9c37bbd475d02a

base important configs that can safely be used almost anywhere

.gdbinit

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
# my gdbinit file

# Useful features:
# 
### To define a custom "function" of commands to run, use 'define'. ex:
# (gdb) define func_name
# > print varname
# > continue
# > end
# (gdb)
#

# remove duplicate lines in command history
set history remove-duplicates unlimited

# makes assembly syntax actually good
set disassembly-flavor intel

# outputs "next" instruction to execute after each step/next (stop)
set disassemble-next-line on

# switch to child process if fork/vfork called, default is 'parent' (useful)
#set follow-fork-mode child

alias e=quit