aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2003-12-01 22:09:06 +0000
committerMichael Chastain <mec@google.com>2003-12-01 22:09:06 +0000
commit96457b64cf053b2fb4b9fca08d320db44fae2cdb (patch)
treec890963062c1dccfca1f4bcbeb2c6dbc375dbe64 /gdb/testsuite
parent013be872711877f05beb05494b5890f207cb2ec1 (diff)
downloadgdb-96457b64cf053b2fb4b9fca08d320db44fae2cdb.zip
gdb-96457b64cf053b2fb4b9fca08d320db44fae2cdb.tar.gz
gdb-96457b64cf053b2fb4b9fca08d320db44fae2cdb.tar.bz2
2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456. * gdb.base/callfuncs.exp (do_function_calls): Replace reference to gcc_compiled with call to test_compiler_info.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/callfuncs.exp3
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f23f9f0..6abfa24 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
+
+ Partial fix for PR testsuite/1456.
+ * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
+ gcc_compiled with call to test_compiler_info.
+
2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
Partial fix for PR testsuite/1456.
diff --git a/gdb/testsuite/gdb.base/callfuncs.exp b/gdb/testsuite/gdb.base/callfuncs.exp
index 053de39..4446058 100644
--- a/gdb/testsuite/gdb.base/callfuncs.exp
+++ b/gdb/testsuite/gdb.base/callfuncs.exp
@@ -95,7 +95,6 @@ proc set_lang_c {} {
proc do_function_calls {} {
global prototypes
- global gcc_compiled
global gdb_prompt
# We need to up this because this can be really slow on some boards.
@@ -149,7 +148,7 @@ proc do_function_calls {} {
# to be a generic problem on quite a few platforms.
if $prototypes then {
setup_xfail "sparc-*-*" "mips*-*-*" 5318
- if {!$gcc_compiled} then {
+ if { ! [test_compiler_info gcc-*-*] } then {
setup_xfail "alpha-dec-osf2*" "i*86-*-sysv4*" 5318
}
}