]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - gdb/gdbinit
59b79c0784715899926b7115998ac899875d51b2
[config/dotfiles.git] / gdb / gdbinit
1 # GDB (GNU debugger) configuration file.
2
3 # Copyright (C) 2011-2012  Simon Ruderich
4 #
5 # This file is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This file is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this file.  If not, see <http://www.gnu.org/licenses/>.
17
18
19 # Save command history.
20 set history save on
21 # And save more entries.
22 set history size 10000
23
24
25 # Set prompt. Bold green "gdb" in parentheses. Trailing whitespace is
26 # necessary.
27 set extended-prompt (\[\e[01;32m\]gdb\e[00m\]) 
28
29
30 # Default output base is 16 (hex).
31 set output-radix 16
32
33 # Always disassemble next command/instruction. Very useful when debugging code
34 # without debug information.
35 set disassemble-next-line on
36
37 # vim: ft=gdb