|
- How to load multiple symbol files in gdb - Stack Overflow
show debug-file-directory to show what currently is set as directory containing symbol files Symbol files are read automagically from this directory if their name (without path) is provided by the binary in terms of a debug-link
- Files (Debugging with GDB) - sourceware. org
Files (Debugging with GDB)set auto-solib-add mode If mode is on, symbols from all shared object libraries will be loaded automatically when the inferior begins execution, you attach to an independently started inferior, or when the dynamic linker informs GDB that a new library has been loaded If mode is off, symbols must be loaded manually, using the sharedlibrary command The default value
- GDB Command Reference - sharedlibrary command
This page explains the sharedlibrary command The sharedlibrary command forces GDB to load symbols for the specified shared libraries or all loaded shared libraries
- Debugging with GDB - GDB Files - GNU
info files info target info files and info target are synonymous; both print the current target (see section Specifying a Debugging Target), including the names of the executable and core dump files currently in use by GDB, and the files from which symbols were loaded The command help target lists all possible targets rather than current ones
- GDB Internals - Symbol Reading - University of Utah
GDB reads symbols from "symbol files" The usual symbol file is the file containing the program which GDB is debugging GDB can be directed to use a different file for symbols (with the "symbol-file" command), and it can also read more symbols via the "add-file" and "load" commands, or while reading symbols from shared libraries
- Debug stripped executables with detached symbols in GDB
GNU Debugger (GDB) has a feature where it can load a separate symbols file to make it easier to debug stripped executables This would allow you to ship stripped binaries, archive symbols files and when needed load them both into a debug session
- Need to load debugging symbols for shared library in GDB
27 Loading debug symbols for a shared library If the shared library is stripped, and the debug symbols are provided as a separate file, you need to load them after the shared library was loaded by the linker The symbols should be loaded on the memory address where the shared library is loaded Following is an example of loading the symbols
|
|
|