diff options
author | Alan Modra <amodra@gmail.com> | 2018-10-29 18:09:39 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-10-29 18:21:05 +1030 |
commit | 55d5520ae35a2b0ce788bd6d43dd619043e887f7 (patch) | |
tree | 0314724392e129e42a5fb3ea0fdb19182080555b /gdb/main.c | |
parent | 8d1015a887c18c363d9bd707b13348daf4e5f556 (diff) | |
download | gdb-55d5520ae35a2b0ce788bd6d43dd619043e887f7.zip gdb-55d5520ae35a2b0ce788bd6d43dd619043e887f7.tar.gz gdb-55d5520ae35a2b0ce788bd6d43dd619043e887f7.tar.bz2 |
Simplify --sysroot=/
Prepending '/' to absolute paths doesn't gain us much, and results in
the current implementation of --trace emitting silly path-in-sysroot
output, eg.
/lib/ld-linux-x86-64.so.2 (//lib/ld-linux-x86-64.so.2)
* ldmain.c (get_sysroot): Return "" for "--sysroot=/".
Diffstat (limited to 'gdb/main.c')
0 files changed, 0 insertions, 0 deletions