You copied the Doc URL to your clipboard.

set sysroot, set solib-absolute-prefix

This command 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 --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.


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