show sysroot, show solib-absolute-prefix

This command displays the system root directory in use by the debugger when searching for shared library symbols. You can use the set sysroot command to specify a system root directory on the host workstation.

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.


show sysroot

show solib-absolute-prefix


Example 137. show sysroot, show solib-absolute-prefix

show sysroot                 # Display system root directory

Show/hideSee also

Copyright © 2010-2012 ARM. All rights reserved.ARM DUI 0452J