1GDB-ADD-INDEX(1)             GNU Development Tools            GDB-ADD-INDEX(1)
2
3
4

NAME

6       gdb-add-index - Add index files to speed up GDB
7

SYNOPSIS

9       gdb-add-index filename
10

DESCRIPTION

12       When GDB finds a symbol file, it scans the symbols in the file in order
13       to construct an internal symbol table.  This lets most GDB operations
14       work quickly--at the cost of a delay early on.  For large programs,
15       this delay can be quite lengthy, so GDB provides a way to build an
16       index, which speeds up startup.
17
18       To determine whether a file contains such an index, use the command
19       readelf -S filename: the index is stored in a section named
20       ".gdb_index".  Note that the index is never generated for files that do
21       not contain DWARF debug information (sections named ".debug_*").
22
23       See more in the GDB manual in node "Index Files" -- shell command "info
24       -f gdb -n 'Index Files'".
25

OPTIONS

SEE ALSO

28       The full documentation for GDB is maintained as a Texinfo manual.  If
29       the "info" and "gdb" programs and GDB's Texinfo documentation are
30       properly installed at your site, the command
31
32               info gdb
33
34       should give you access to the complete manual.
35
36       Using GDB: A Guide to the GNU Source-Level Debugger, Richard M.
37       Stallman and Roland H. Pesch, July 1991.
38
40       Copyright (c) 1988-2013 Free Software Foundation, Inc.
41
42       Permission is granted to copy, distribute and/or modify this document
43       under the terms of the GNU Free Documentation License, Version 1.3 or
44       any later version published by the Free Software Foundation; with the
45       Invariant Sections being "Free Software" and "Free Software Needs Free
46       Documentation", with the Front-Cover Texts being "A GNU Manual," and
47       with the Back-Cover Texts as in (a) below.
48
49       (a) The FSF's Back-Cover Text is: "You are free to copy and modify this
50       GNU Manual.  Buying copies from GNU Press supports the FSF in
51       developing GNU and promoting software freedom."
52
53
54
55gdb-Red Hat Enterprise Linux 7.6.1-2101148.-e1l07-30                  GDB-ADD-INDEX(1)
Impressum