GDB needs to know the file name of the program to be debugged, both in order to read its symbol table and in order to start your program. To debug a core dump of a previous run, you must also tell GDB the name of the core dump file.
• Files | Commands to specify files | |
• File Caching | Information about GDB’s file caching | |
• Separate Debug Files | Debugging information in separate files | |
• MiniDebugInfo | Debugging information in a special section | |
• Index Files | Index files speed up GDB | |
• Symbol Errors | Errors reading symbol files | |
• Data Files | GDB data files |