2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456. * gdb.base/volatile.exp: Replace references to gcc_compiled with calls to test_compiler_info.
This commit is contained in:
parent
0d60309505
commit
9a77938ecf
|
@ -1,3 +1,9 @@
|
||||||
|
2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
|
Partial fix for PR testsuite/1456.
|
||||||
|
* gdb.base/volatile.exp: Replace references to gcc_compiled with
|
||||||
|
calls to test_compiler_info.
|
||||||
|
|
||||||
2003-11-27 Mark Kettenis <kettenis@gnu.org>
|
2003-11-27 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
|
* gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
|
||||||
|
|
|
@ -88,9 +88,7 @@ if ![runto_main] then {
|
||||||
get_debug_format
|
get_debug_format
|
||||||
|
|
||||||
proc local_compiler_xfail_check { } {
|
proc local_compiler_xfail_check { } {
|
||||||
global gcc_compiled;
|
if { [test_compiler_info gcc-2-*] } then {
|
||||||
|
|
||||||
if {$gcc_compiled == 2} then {
|
|
||||||
if { ![test_debug_format "HP"] \
|
if { ![test_debug_format "HP"] \
|
||||||
&& ![test_debug_format "DWARF 2"] } then {
|
&& ![test_debug_format "DWARF 2"] } then {
|
||||||
setup_xfail "*-*-*"
|
setup_xfail "*-*-*"
|
||||||
|
@ -258,7 +256,7 @@ gdb_test "ptype vendor" "type = const volatile unsigned char \\* const volatile.
|
||||||
|
|
||||||
# test function parameters
|
# test function parameters
|
||||||
local_compiler_xfail_check
|
local_compiler_xfail_check
|
||||||
if {$gcc_compiled == 3 && [test_debug_format "stabs"]} then {
|
if { [test_compiler_info gcc-3-*] && [test_debug_format "stabs"] } then {
|
||||||
# For reasons unknown, GCC 3 with stabs mangles several cv-qualified
|
# For reasons unknown, GCC 3 with stabs mangles several cv-qualified
|
||||||
# arguments to this function.
|
# arguments to this function.
|
||||||
setup_xfail "*-*-*"
|
setup_xfail "*-*-*"
|
||||||
|
|
Loading…
Reference in New Issue