summaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2015-04-02 13:38:29 +0100
committerGary Benson <gbenson@redhat.com>2015-04-02 13:38:29 +0100
commitb57fbfba4b53434252fce55e323f08aeab556409 (patch)
treedb4f1e7c1078f63d65986db7b1bd3bd9c0a73d92 /gdb/exec.c
parent97a41605e2473c67e82ef5147b4866768bd5a566 (diff)
downloadbinutils-gdb-b57fbfba4b53434252fce55e323f08aeab556409.tar.gz
Strip "target:" prefix in solib_find if accessing local files
This commit updates solib_find to strip the "target:" prefix from gdb_sysroot when accessing local files. This ensures that the same search algorithm is used for local files regardless of whether a "target:" prefix was used or not. It also avoids cluttering GDB's output with unnecessary "target:" prefixes on paths. gdb/ChangeLog: * solib.c (solib_find): Strip "target:" prefix from sysroot if accessing local files.
Diffstat (limited to 'gdb/exec.c')
0 files changed, 0 insertions, 0 deletions