Sun Studio 12: Debugging a Program With dbx


loadobject -list [regexp] [-a]


regexp is a regular expression. If it is not specified the command applies to all load objects.

The full path name for each load object is shown along with letters in the margin to show status. Load objects that are hidden are listed only if you specify the -a option.


This letter means “hidden” (the symbols are not found by symbolic queries like whatis or stop in).


If there is an active process, u means “unmapped.”


This letter indicates a load object that is preloaded, that is, the result of a loadobject -load command or a dlopen event in the program.

For example:

(dbx) lo -list libm
(dbx) lo -list
h  /usr/lib/sparcv9/ (rtld)

This last example shows that the symbols for the runtime linker are hidden by default. To use those symbols in dbxcommands, see loadobject -use Command.