mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/constvars.exp: Do not force lang=c++ if using HP compilers. Delete duplicate call to get_compiler_info. (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler. * gdb.base/volatile.exp: Likewise.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
|
||||||
|
|
||||||
|
* gdb.base/constvars.exp: Do not force lang=c++ if using HP
|
||||||
|
compilers. Delete duplicate call to get_compiler_info.
|
||||||
|
(local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
|
||||||
|
* gdb.base/volatile.exp: Likewise.
|
||||||
|
|
||||||
2004-01-07 Mark Kettenis <kettenis@gnu.org>
|
2004-01-07 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* gdb.base/gdb1476.exp: Only run the tests if we can't read the
|
* gdb.base/gdb1476.exp: Only run the tests if we can't read the
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
@ -48,23 +48,10 @@ if [get_compiler_info ${binfile}] {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if {$hp_aCC_compiler || $hp_cc_compiler} {
|
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug ] != "" } {
|
||||||
set lang "c++"
|
|
||||||
} else {
|
|
||||||
set lang ""
|
|
||||||
}
|
|
||||||
|
|
||||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [concat debug $lang]] != "" } {
|
|
||||||
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
||||||
}
|
}
|
||||||
|
|
||||||
# Create and source the file that provides information about the compiler
|
|
||||||
# used to compile the test case.
|
|
||||||
|
|
||||||
if [get_compiler_info ${binfile}] {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
gdb_exit
|
gdb_exit
|
||||||
gdb_start
|
gdb_start
|
||||||
gdb_reinitialize_dir $srcdir/$subdir
|
gdb_reinitialize_dir $srcdir/$subdir
|
||||||
@ -88,6 +75,11 @@ proc local_compiler_xfail_check { } {
|
|||||||
setup_xfail "*-*-*"
|
setup_xfail "*-*-*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
global hp_cc_compiler
|
||||||
|
if { $hp_cc_compiler } {
|
||||||
|
setup_xfail "hppa*-*-hpux*"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
send_gdb "break marker1\n" ; gdb_expect -re ".*$gdb_prompt $"
|
send_gdb "break marker1\n" ; gdb_expect -re ".*$gdb_prompt $"
|
||||||
|
@ -55,20 +55,10 @@ if [get_compiler_info ${binfile}] {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if {$hp_aCC_compiler || $hp_cc_compiler} {
|
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug ] != "" } {
|
||||||
set lang "c++"
|
|
||||||
} else {
|
|
||||||
set lang ""
|
|
||||||
}
|
|
||||||
|
|
||||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [concat debug $lang]] != "" } {
|
|
||||||
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
|
||||||
}
|
}
|
||||||
|
|
||||||
if [get_compiler_info ${binfile}] {
|
|
||||||
return -1
|
|
||||||
}
|
|
||||||
|
|
||||||
gdb_exit
|
gdb_exit
|
||||||
gdb_start
|
gdb_start
|
||||||
gdb_reinitialize_dir $srcdir/$subdir
|
gdb_reinitialize_dir $srcdir/$subdir
|
||||||
@ -91,6 +81,11 @@ proc local_compiler_xfail_check { } {
|
|||||||
setup_xfail "*-*-*"
|
setup_xfail "*-*-*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
global hp_cc_compiler
|
||||||
|
if { $hp_cc_compiler } {
|
||||||
|
setup_xfail "hppa*-*-hpux*"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
send_gdb "break marker1\n" ; gdb_expect -re ".*$gdb_prompt $"
|
send_gdb "break marker1\n" ; gdb_expect -re ".*$gdb_prompt $"
|
||||||
|
Reference in New Issue
Block a user