Name

add-symbol-file

add-symbol-file file addr [-mapped] [-readnow]
add-symbol-file file [-s section address ...]

Read additional symbol table information from file, which was dynamically loaded into the debuggee outside of GDB’s knowledge. You must tell GDB the address at which it was loaded, since GDB cannot determine this on its own. The -mapped and -readnow options are the same as for the file command; see file for more information. You may use -s to name the memory starting at address with the name section. You can provide multiple section/address pairs with multiple -s options.

Get GDB Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.