set solib-search-path

This command specifies additional directories to search for shared library symbols. If you use this command without an argument then any additional search directories, previously added using this command, are removed. You can use show solib-search-path to display the current settings.

Note

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.

Show/hideSyntax

set solib-search-path [path]...

Where:

path

Specifies an additional directory to search for shared libraries. The debugger uses the system root directory first, then it searches the additional directories specified with this command. You can use set sysroot to specify the system root directory.

Note

Multiple directories can be specified but must be separated with either:

  • a colon (Unix)

  • a semi-colon (Windows).

Show/hideExample

Example 99. set solib-search-path

set solib-search-path "\usr\lib"         # Specify search directory
set solib-search-path "/lib":"/My Lib"   # Specify two search directories(Unix)

Show/hideSee also

Copyright © 2010 ARM. All rights reserved.ARM DUI 0452B
Non-ConfidentialID100410