From fe454715791b86ad488b33c1f325478803c8108c Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Mon, 26 Apr 1999 18:34:20 +0000 Subject: import gdb-19990422 snapshot --- gdb/testsuite/gdb.stabs/weird.exp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gdb/testsuite/gdb.stabs') diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp index 86ac7a6bca6..51573ccfe3e 100644 --- a/gdb/testsuite/gdb.stabs/weird.exp +++ b/gdb/testsuite/gdb.stabs/weird.exp @@ -277,6 +277,12 @@ if { [lindex $exec_output 0] != 0 } { return -1 } +# HP's assembler has no idea of what to do with .stab directives; detect the +# use of HP compilers and escape from here. (No doubt a better heuristic +# could be devised.) + +if { [ info exists CC ] && [ string first "/opt/ansic/bin/cc" "$CC" ] >= 0 } then { continue } + if { [gdb_compile "${srcfile}" "${binfile}" object ""] != "" } { gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." } -- cgit v1.2.1