Community
Participate
Working Groups
Currently, we only use the variable solib-search-path (bug 222766) just like the CDT does. However, based on a discussion that can be found in: http://dev.eclipse.org/mhonarc/lists/dsdp-dd-dev/msg01138.html in some cases variable sysroot must also be used. Currently, the user can do this manually within the .gdbinit file. It may be nice to provide an integrated method to do this. Currently, we are waiting to see if this is something users of DSF will need.
Created attachment 104311 [details] Disabling sysroot when using solib-search-path The GDB documentation says that sysroot should be disabled when solib-search-path is used. This patch does this. We still have the (not urgent) need to allow the user to set sysroot instead of solib-search-path. I will commit to HEAD
I just realized that sysroot is only available in GDB 6.7 and on. This means that when using GDB6.6, if the solib-search-path is used, the launch sequence will fai because the -gdb-set sysroot command will fail. I'll comment it for now to make this better, and I will investigate further what are the real needs for sysroot.
Created attachment 108753 [details] Comment out use of sysroot Committed patch
sysroot is a recently introduced alias for the old solib-absolute-prefix command. solib-absolute-prefix existed for as long as I can remember and I don't think that the original command was removed when the alias got introduced.