aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.h
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2020-06-22 10:10:02 -0700
committerSandra Loosemore <sandra@codesourcery.com>2020-06-22 10:10:02 -0700
commite822f2cda9bc484adb5f8860050640a5c6f1ced9 (patch)
treec4dedf5016f2115cb189eccd8623f9fe600b5b3a /ld/ldlex.h
parente4b7104b1e0c70613d0f553cb18d25c7343647d3 (diff)
downloadgdb-e822f2cda9bc484adb5f8860050640a5c6f1ced9.zip
gdb-e822f2cda9bc484adb5f8860050640a5c6f1ced9.tar.gz
gdb-e822f2cda9bc484adb5f8860050640a5c6f1ced9.tar.bz2
Disable parts of gdb.base/source-dir.exp on remote host
One set of tests in this file does a lot of complicated directory manipulations to force a specific DW_AT_comp_dir format and gdb directory search path. As it's written, everything assumes host == build, and it does not seem to me that there is any obvious way to rewrite this so it will work in general on remote host. For instance, our harness for testing on remote Windows host normally does all compilation and GDB execution in $cwd using relative pathnames and I'm not sure all these directory tricks would set up the scenario it's trying to test even if they were correctly performed on host rather than build. So I think it's reasonable just to disable this on remote host instead. I also noted that it's using the wrong search path syntax for Windows host in the "set directories" command and conditionalized that while I was looking at it. That's a necessary fix to make this work in a situation where host == build and it's Windows, but I'm not actually set up to test that it's sufficient, too. 2020-06-22 Sandra Loosemore <sandra@codesourcery.com> gdb/testsuite/ * gdb.base/source-dir.exp (test_truncated_comp_dir): Skip on remote host. Fix search path syntax on Windows host.
Diffstat (limited to 'ld/ldlex.h')
0 files changed, 0 insertions, 0 deletions