aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/interp.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2019-02-12 13:56:16 -0800
committerJohn Baldwin <jhb@FreeBSD.org>2019-02-12 13:56:16 -0800
commitcd4b78483c3b0e4bd7737b67ed5074b7c252faa4 (patch)
treed27ed3d4255ec14b7fc0846bb74ae16609d2a36f /sim/m68hc11/interp.c
parentefac4bfe0b2bdd21a27c94ca3464046e9c23f0e4 (diff)
downloadfsf-binutils-gdb-cd4b78483c3b0e4bd7737b67ed5074b7c252faa4.zip
fsf-binutils-gdb-cd4b78483c3b0e4bd7737b67ed5074b7c252faa4.tar.gz
fsf-binutils-gdb-cd4b78483c3b0e4bd7737b67ed5074b7c252faa4.tar.bz2
Use child_path to determine if an object file is under a sysroot.
This fixes the case where the sysroot happens to end in a trailing '/'. Note that the path returned from child_path always skips over the directory separator at the start of the base path, so a separator must always be explicitly added before the base path. gdb/ChangeLog: * symfile.c (find_separate_debug_file): Use child_path to determine if an object file is under a sysroot.
Diffstat (limited to 'sim/m68hc11/interp.c')
0 files changed, 0 insertions, 0 deletions