aboutsummaryrefslogtreecommitdiff
path: root/ld/deffile.h
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2015-06-25 09:54:12 +0100
committerGary Benson <gbenson@redhat.com>2015-06-25 09:54:12 +0100
commitf8773be1be076f828b93ac3bebeab3f782e191e4 (patch)
tree9a2a049fab7c42440fddc0a26a03b0ed35f14d58 /ld/deffile.h
parenta3be80c3c54e9e2c0d8e9a1ff77c931cd8ebeb60 (diff)
downloadgdb-f8773be1be076f828b93ac3bebeab3f782e191e4.zip
gdb-f8773be1be076f828b93ac3bebeab3f782e191e4.tar.gz
gdb-f8773be1be076f828b93ac3bebeab3f782e191e4.tar.bz2
Correctly notice empty sysroots in solib_find_1
Some parts of solib_find_1 should only operate if the sysroot is nonempty after processing, but the logic that checked this happened before trailing slashes were stripped so empty but non-NULL sysroots were possible. This commit moves the logic so it correctly notices all empty sysroots. gdb/ChangeLog: * solib.c (solib_find_1): Set local variable sysroot to NULL if it is the empty string after trailing slashes have been stripped.
Diffstat (limited to 'ld/deffile.h')
0 files changed, 0 insertions, 0 deletions