1GDBINIT(5)                   GNU Development Tools                  GDBINIT(5)
2
3
4

NAME

6       gdbinit - GDB initialization scripts
7

SYNOPSIS

9       /etc/gdbinit
10
11       ~/.gdbinit
12
13       ./.gdbinit
14

DESCRIPTION

16       These files contain GDB commands to automatically execute during GDB
17       startup.  The lines of contents are canned sequences of commands,
18       described in the GDB manual in node "Sequences" -- shell command "info
19       -f gdb -n Sequences".
20
21       Please read more in the GDB manual in node "Startup" -- shell command
22       "info -f gdb -n Startup".
23
24       /etc/gdbinit
25           System-wide initialization file.  It is executed unless user
26           specified GDB option "-nx" or "-n".  See more in the GDB manual in
27           node "System-wide configuration" -- shell command "info -f gdb -n
28           'System-wide configuration'".
29
30       ~/.gdbinit
31           User initialization file.  It is executed unless user specified GDB
32           options "-nx", "-n" or "-nh".
33
34       ./.gdbinit
35           Initialization file for current directory.  It may need to be
36           enabled with GDB security command "set auto-load local-gdbinit".
37           See more in the GDB manual in node "Init File in the Current
38           Directory" -- shell command "info -f gdb -n 'Init File in the
39           Current Directory'".
40

OPTIONS

SEE ALSO

43       gdb(1), "info -f gdb -n Startup"
44
45       The full documentation for GDB is maintained as a Texinfo manual.  If
46       the "info" and "gdb" programs and GDB's Texinfo documentation are
47       properly installed at your site, the command
48
49               info gdb
50
51       should give you access to the complete manual.
52
53       Using GDB: A Guide to the GNU Source-Level Debugger, Richard M.
54       Stallman and Roland H. Pesch, July 1991.
55
57       Copyright (c) 1988-2013 Free Software Foundation, Inc.
58
59       Permission is granted to copy, distribute and/or modify this document
60       under the terms of the GNU Free Documentation License, Version 1.3 or
61       any later version published by the Free Software Foundation; with the
62       Invariant Sections being "Free Software" and "Free Software Needs Free
63       Documentation", with the Front-Cover Texts being "A GNU Manual," and
64       with the Back-Cover Texts as in (a) below.
65
66       (a) The FSF's Back-Cover Text is: "You are free to copy and modify this
67       GNU Manual.  Buying copies from GNU Press supports the FSF in
68       developing GNU and promoting software freedom."
69
70
71
72gdb-Red Hat Enterprise Linux 7.6.1-2101148.-e1l07-30                        GDBINIT(5)
Impressum