You copied the Doc URL to your clipboard.

set solib-absolute-prefix, set sysroot

Specifies the system root directory to search for shared library symbols.

The debugger uses this directory to search for a copy of the debug versions of target shared libraries. The system root on the host workstation must contain an exact representation of the libraries on the target root filesystem.


You must launch the debugger with the --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.


set sysroot path
set solib-absolute-prefix path



Specifies the system root directory.

Example 1-153 Examples

set sysroot "\mySystem"                 # Set system root directory "\mySystem"