mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
[testsuite] Pass -g3 to clang in gdb.base/macscp.exp
clang accepts option -g3 too. I checked the manual of xlc and icc, looks they don't accept -g3 option, so I don't pass -g3 for them. gdb/testsuite: 2017-11-23 Yao Qi <yao.qi@linaro.org> * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2017-11-22 Yao Qi <yao.qi@linaro.org>
|
||||||
|
|
||||||
|
* gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
|
||||||
|
|
||||||
2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
|
2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
* gdb.opt/inline-locals.exp: Mark tests as KFAIL.
|
* gdb.opt/inline-locals.exp: Mark tests as KFAIL.
|
||||||
|
@ -21,7 +21,7 @@ set objfile [standard_output_file ${testfile}.o]
|
|||||||
set options { debug additional_flags=-DFROM_COMMANDLINE=ARG}
|
set options { debug additional_flags=-DFROM_COMMANDLINE=ARG}
|
||||||
|
|
||||||
get_compiler_info
|
get_compiler_info
|
||||||
if [test_compiler_info gcc*] {
|
if { [test_compiler_info "gcc-*"] || [test_compiler_info "clang-*"] } {
|
||||||
lappend options additional_flags=-g3
|
lappend options additional_flags=-g3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user