* info-macros.exp: Pass "debug" to prepare_for_testing.
This commit is contained in:
parent
625af9a0b3
commit
682c7f7b28
@ -1,5 +1,7 @@
|
|||||||
2012-05-17 Doug Evans <dje@google.com>
|
2012-05-17 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* info-macros.exp: Pass "debug" to prepare_for_testing.
|
||||||
|
|
||||||
* Makefile.in (clean): Remove Fission .dwo and .dwp files.
|
* Makefile.in (clean): Remove Fission .dwo and .dwp files.
|
||||||
* gdb.ada/Makefile.in (clean): Ditto.
|
* gdb.ada/Makefile.in (clean): Ditto.
|
||||||
* gdb.arch/Makefile.in (clean): Ditto.
|
* gdb.arch/Makefile.in (clean): Ditto.
|
||||||
|
@ -16,14 +16,15 @@
|
|||||||
set testfile "info-macros"
|
set testfile "info-macros"
|
||||||
set srcfile ${testfile}.c
|
set srcfile ${testfile}.c
|
||||||
set binfile ${objdir}/${subdir}/${testfile}
|
set binfile ${objdir}/${subdir}/${testfile}
|
||||||
|
|
||||||
get_compiler_info ${binfile}
|
get_compiler_info ${binfile}
|
||||||
if [test_compiler_info gcc*] {
|
if ![test_compiler_info gcc*] {
|
||||||
lappend options additional_flags=-g3
|
|
||||||
} else {
|
|
||||||
untested ${testfile}.exp
|
untested ${testfile}.exp
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set options "debug additional_flags=-g3"
|
||||||
|
|
||||||
if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} $options] } {
|
if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} $options] } {
|
||||||
untested ${testfile}.exp
|
untested ${testfile}.exp
|
||||||
return -1
|
return -1
|
||||||
|
Loading…
Reference in New Issue
Block a user