gdb/testsuite/
* gdb.base/callfuncs.exp: Set language after main. * gdb.cp/cplusfuncs.exp: Likewise. * gdb.cp/inherit.exp: Likewise.
This commit is contained in:
parent
d969d15f50
commit
1cf0e11f28
|
@ -1,3 +1,9 @@
|
||||||
|
2011-08-05 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb.base/callfuncs.exp: Set language after main.
|
||||||
|
* gdb.cp/cplusfuncs.exp: Likewise.
|
||||||
|
* gdb.cp/inherit.exp: Likewise.
|
||||||
|
|
||||||
2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
|
2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
|
||||||
|
|
||||||
* gdb.base/nostdlib.exp: Skip on gdb_stub targets.
|
* gdb.base/nostdlib.exp: Skip on gdb_stub targets.
|
||||||
|
|
|
@ -338,10 +338,10 @@ proc rerun_and_prepare {} {
|
||||||
|
|
||||||
gdb_test_no_output "set overload-resolution 0"
|
gdb_test_no_output "set overload-resolution 0"
|
||||||
} else {
|
} else {
|
||||||
gdb_test_no_output "set language c"
|
|
||||||
if { ![runto_main] } {
|
if { ![runto_main] } {
|
||||||
gdb_suppress_tests;
|
gdb_suppress_tests;
|
||||||
}
|
}
|
||||||
|
gdb_test_no_output "set language c"
|
||||||
}
|
}
|
||||||
|
|
||||||
get_debug_format
|
get_debug_format
|
||||||
|
|
|
@ -603,11 +603,11 @@ proc do_tests {} {
|
||||||
gdb_reinitialize_dir $srcdir/$subdir
|
gdb_reinitialize_dir $srcdir/$subdir
|
||||||
gdb_load $binfile
|
gdb_load $binfile
|
||||||
|
|
||||||
gdb_test_no_output "set language c++"
|
|
||||||
gdb_test_no_output "set width 0"
|
gdb_test_no_output "set width 0"
|
||||||
|
|
||||||
runto_main
|
runto_main
|
||||||
|
|
||||||
|
gdb_test_no_output "set language c++"
|
||||||
probe_demangler
|
probe_demangler
|
||||||
test_paddr_overloaded_functions
|
test_paddr_overloaded_functions
|
||||||
test_paddr_operator_functions
|
test_paddr_operator_functions
|
||||||
|
|
|
@ -728,7 +728,6 @@ proc do_tests { } {
|
||||||
gdb_reinitialize_dir $srcdir/$subdir
|
gdb_reinitialize_dir $srcdir/$subdir
|
||||||
gdb_load $binfile
|
gdb_load $binfile
|
||||||
|
|
||||||
gdb_test_no_output "set language c++"
|
|
||||||
gdb_test_no_output "set width 0"
|
gdb_test_no_output "set width 0"
|
||||||
|
|
||||||
if { ![runto_main] } then {
|
if { ![runto_main] } then {
|
||||||
|
@ -736,6 +735,7 @@ proc do_tests { } {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gdb_test_no_output "set language c++"
|
||||||
test_ptype_si
|
test_ptype_si
|
||||||
test_ptype_mi
|
test_ptype_mi
|
||||||
test_ptype_vi
|
test_ptype_vi
|
||||||
|
|
Loading…
Reference in New Issue