# Source all settings from the peda dir source ~/peda/peda.py # These are other settings I have found useful # When inspecting large portions of code the scrollbar works better than 'less' set pagination off # Keep a history of all the commands typed. Search is possible using ctrl-r set history save on set history filename ~/.gdb_history set history size 32768 set history expansion on # By default peda clears the screen after most commands, displaying a single # context frame at a time and allowing you to access the previous/next frame # using Shift+PageUp/Shift+PageDown. However, that might not work in your # terminal, leaving you unable to access any older information. If that is the # case, uncomment the following line: # #pset opt clearscr off