diff options
author | Gary Benson <gbenson@redhat.com> | 2020-11-02 14:19:29 +0000 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2020-11-02 14:19:29 +0000 |
commit | 1c2bec1918cee91221bccc30db4f0253dc31d1b7 (patch) | |
tree | 162fcbf282fcb4d5b6b08cac316b0c32583d8490 /gdb/linux-thread-db.c | |
parent | 6539a36d0e1a949f66ee2d58bb16c8db133c96a5 (diff) | |
download | gdb-1c2bec1918cee91221bccc30db4f0253dc31d1b7.zip gdb-1c2bec1918cee91221bccc30db4f0253dc31d1b7.tar.gz gdb-1c2bec1918cee91221bccc30db4f0253dc31d1b7.tar.bz2 |
Fix gdb.base/print-file-var.exp with Clang
The C++ parts of gdb.base/print-file-var.exp failed to build with
Clang because the "-x c++" option added by gdb_compile caused the
compiler to attempt to parse .so files as C++. This commit splits
the compiler and linker options into separate lists, and switches
to building via build_executable_from_specs which can accommodate
this separation.
gdb/testsuite/ChangeLog:
* gdb.base/print-file-var.exp (test): Separate compiler and
linker options, and build using build_executable_from_specs
to accommodate this.
Diffstat (limited to 'gdb/linux-thread-db.c')
0 files changed, 0 insertions, 0 deletions