From 93b84526e8cb07325f5221c73c30806599a436cf Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Fri, 15 Jan 1999 19:17:31 +0000 Subject: [PATCH] Fri Jan 15 14:04:57 1999 Elena Zannoni * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform and compiled w/o GCC. --- gdb/testsuite/ChangeLog | 4 +++- gdb/testsuite/gdb.hp/xdb3.exp | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8c5e0f33d4..ba476d2e34 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,8 +1,10 @@ Fri Jan 15 14:04:57 1999 Elena Zannoni - * gdb.hp/watch-cmd.exp: do not execute unless on hppa-hpux platform + * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform and compiled w/o GCC. + * gdb.hp/watch-cmd.exp: ditto. + * gdb.hp/watch-hp.exp: ditto. * gdb.hp/xdb1.exp: ditto. diff --git a/gdb/testsuite/gdb.hp/xdb3.exp b/gdb/testsuite/gdb.hp/xdb3.exp index ef6ba172f5..cf569e9511 100644 --- a/gdb/testsuite/gdb.hp/xdb3.exp +++ b/gdb/testsuite/gdb.hp/xdb3.exp @@ -42,6 +42,12 @@ if { [gdb_compile "${binfile1}.o ${binfile2}.o" ${binfile} executable {debug}] gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } +if [get_compiler_info ${binfile}] { + return -1; +} +if {[skip_hp_tests $gcc_compiled]} then { continue } + + proc xdb_reinitialize_dir { subdir } { global gdb_prompt