mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* lib/gdb.exp (build_executable): Forward "c++" option to
get_compiler_info.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2010-07-30 Doug Evans <dje@google.com>
|
2010-07-30 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* lib/gdb.exp (build_executable): Forward "c++" option to
|
||||||
|
get_compiler_info.
|
||||||
|
|
||||||
* gdb.python/py-type.exp (test_template): Mark as xfail tests
|
* gdb.python/py-type.exp (test_template): Mark as xfail tests
|
||||||
"python print ttype.template_argument(1)" and
|
"python print ttype.template_argument(1)" and
|
||||||
"python print isinstance(ttype.template_argument(1), gdb.Value)"
|
"python print isinstance(ttype.template_argument(1), gdb.Value)"
|
||||||
|
@ -3257,7 +3257,11 @@ proc build_executable { testname executable {sources ""} {options {debug}} } {
|
|||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
|
|
||||||
if [get_compiler_info ${binfile}] {
|
set info_options ""
|
||||||
|
if { [lsearch -exact $options "c++"] >= 0 } {
|
||||||
|
set info_options "c++"
|
||||||
|
}
|
||||||
|
if [get_compiler_info ${binfile} ${info_options}] {
|
||||||
return -1
|
return -1
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
|
Reference in New Issue
Block a user