You copied the Doc URL to your clipboard.

info sharedlibrary

Displays the names of the loaded shared libraries, the base address, and whether the debug symbols of the shared libraries are loaded or not.

  • You must launch the debugger with --target_os command-line option before you can use this feature. In Eclipse, this option is automatically selected when you connect to a target using gdbserver.
  • This command is only supported for Linux application debug, for example, connections using gdbserver. It is not supported for Linux kernel debug, for example, connections using JTAG.

Syntax

info sharedlibrary [/order] [/sort_by] [/group]

Where:

/order

Specifies the sorting order:

a

Ascending order. This is the default.

d

Descending order.

/sort_by

Specifies the sorting order of the shared objects:

b

Sort by base addresses. This is the default.

n

Sort by library names.

/group

Specifies whether to group the debug symbols:

s

Group loaded symbols followed by unloaded symbols.

sn

Group unloaded symbols followed by loaded symbols.

Example 1-76 Examples

info sharedlibrary           # Display shared libraries by base address, asc
info sharedlibrary /n        # Display shared libraries by library name, asc
info sharedlibrary /d        # Display shared libraries by base address, desc
info sharedlibrary /n /a /s  # Display shared libraries grouped loaded->unloaded
                             # and by library name, asc