diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-11-22 14:46:30 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-11-22 14:47:42 +0000 |
commit | 88465e872cb6649c42863e5c47011bae9e17bbdb (patch) | |
tree | 69961735b3eb85c6869ec44176c3ddc7f54e95b7 | |
parent | 94b98370de3ee157e039f26865390b5994c47c3b (diff) | |
download | binutils-gdb-88465e872cb6649c42863e5c47011bae9e17bbdb.tar.gz |
[testsuite] Don't skip gdb.dwarf2/pr10770.exp for non-gcc compiler
gdb.dwarf2/pr10770.exp can be used for non-gcc compiler, at least clang.
This patch removes the restriction to only use gcc. If other compilers,
like xlc or icc, can't compile the .c file, test result is not changed.
gdb/testsuite:
2017-11-22 Yao Qi <yao.qi@linaro.org>
* gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
compiler.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/pr10770.exp | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 110fcb1d7f6..0bb2391924c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2017-11-22 Yao Qi <yao.qi@linaro.org> + * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc + compiler. + +2017-11-22 Yao Qi <yao.qi@linaro.org> + * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags. * gdb.base/break-interp.exp: Likewise. * gdb.base/jit-attach-pie.exp: Likewise. diff --git a/gdb/testsuite/gdb.dwarf2/pr10770.exp b/gdb/testsuite/gdb.dwarf2/pr10770.exp index 938fbd1c1c5..63f406159d2 100644 --- a/gdb/testsuite/gdb.dwarf2/pr10770.exp +++ b/gdb/testsuite/gdb.dwarf2/pr10770.exp @@ -21,12 +21,6 @@ if {[prepare_for_testing "failed to prepare" ${testfile} ${srcfile}]} { return 0 } -# This test can only be run on targets which use GCC. -get_compiler_info -if {![test_compiler_info "gcc-*"]} { - return 0 -} - if {![runto_main]} { return -1 } |