Debugging with GDB Manual (5900-1473; WDB 6.2; January 2011)

Table Of Contents
info functions regexp Print the names and data types of all defined
functions whose names contain a match for regular
expression regexp. Thus, 'info fun step'
finds all functions whose names include step;
'info fun ^step' finds those whose names
start with step.
info symbol address Describes the symbol at location address for
symbols.
info module address The info module command identifies load
modules, and determines whether it lies in the text
or data region for a given address.
info variables Print the names and data types of all variables
that are declared outside of functions (that is,
excluding local variables).
info variables regexp Print the names and data types of all variables
(except for local variables) whose names contain
a match for regular expression regexp.
Some systems allow individual object files that
make up your program to be replaced without
stopping and restarting your program. For
example, in VxWorks you can simply recompile
a defective object file and keep on running. If you
are running on one of these systems, you can
allow GDB to reload the symbols for automatically
relinked modules:
set
symbol-reloading
on
Replace symbol definitions
for the corresponding source
file when an object file with
a particular name is seen
again.
set
symbol-reloading
off
Do not replace symbol
definitions when
encountering object files of
the same name more than
once. This is the default state;
if you are not running on a
system that permits automatic
relinking of modules, you
should leave
symbol-reloading off,
since otherwise GDB may
110 Examining the Symbol Table