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       (not enabled with "--with-system-gdbinit-dir" during compilation)
31           System-wide initialization directory.  All files in this directory
32           are executed on startup unless user specified GDB option "-nx" or
33           "-n", as long as they have a recognized file extension.  See more
34           in the GDB manual in node "System-wide configuration" -- shell
35           command "info -f gdb -n 'System-wide configuration'".
36
37       ~/.gdbinit
38           User initialization file.  It is executed unless user specified GDB
39           options "-nx", "-n" or "-nh".
40
41       ./.gdbinit
42           Initialization file for current directory.  It may need to be
43           enabled with GDB security command "set auto-load local-gdbinit".
44           See more in the GDB manual in node "Init File in the Current
45           Directory" -- shell command "info -f gdb -n 'Init File in the
46           Current Directory'".
47

OPTIONS

SEE ALSO

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