# GDB (GNU debugger) configuration file. # Copyright (C) 2011-2018 Simon Ruderich # # This file is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This file is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this file. If not, see . # Save command history and increase size. set history save on set history size 10000 # Set prompt. Bold green "gdb" in parentheses. Trailing whitespace is # necessary. set extended-prompt (\[\e[01;32m\]gdb\e[00m\]) # Set default output base to hex. set output-radix 16 # Always disassemble next command/instruction. Very useful when debugging code # without debug information. set disassemble-next-line on # Don't stop on SIGUSR1 and instead let the program handle it. Thanks to # peeterjot [1] for the idea (read on 2018-02-02). # # [1]: https://peeterjoot.wordpress.com/2010/07/07/avoiding-gdb-signal-noise/ handle SIGUSR1 noprint nostop # vim: ft=gdb