GDB-ADD-INDEX(1) GNU Development Tools GDB-ADD-INDEX(1) (NAME) gdb-add-index - GDB (SYNOPSIS) gdb-add-index [-h | --help] [-v | --version] [--dwarf-5] filename (DESCRIPTION) GDB . GDB -- . GDB . "readelf -S filename" : ".gdb_index" ( DWARF 5) ".debug_names" ".debug_str" (DWARF 5) . ELF DWARF ( ".debug_*") . gdb-add-index ".gdb_index" DWARF 5 filename . --dwarf-5 DWARF 5 ".debug_names" . filename . gdb-add-index GDB, objcopy readelf PATH . ( ). gdb-add-index filename 0 0 . GDB "Index Files" -- "info -f gdb -n "Index Files"". (OPTIONS) --dwarf-5 DWARF 5 ".gdb_index". --help -h . --version -v . (ENVIRONMENT) GDB "gdb" . PATH "gdb" . OBJCOPY "objcopy" . PATH "objcopy" . READELF "readelf" . PATH "readelf" . (SEE ALSO) GDB Texinfo . "info" "gdb" Texinfo GDB info gdb . Using GDB: A Guide to the GNU Source-Level Debugger, Richard M. Stallman and Roland H. Pesch, July 1991. (COPYRIGHT) Copyright (c) 1988-2025 Free Software Foundation, Inc. / (GNU Free Documentation License) 1.3 <<"Free Software">> <<"Free Software Needs Free Documentation">> <<"A GNU Manual,">> (a) . (a) FSF : "You are free to copy and modify this GNU Manual. Buying copies from GNU Press supports the FSF in developing GNU and promoting software freedom." gdb-17.1 2025-12-20 GDB-ADD-INDEX(1)