This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] dejagnu lib/target.exp HP warnings
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] dejagnu lib/target.exp HP warnings
- From: Jimmy Guo <guo at cup dot hp dot com>
- Date: Tue, 1 Aug 2000 10:18:09 -0700 (PDT)
Couple of changes specific to HP compilation message filtering.
- Jimmy
Tue Aug 1 10:13:22 Jimmy Guo <guo@cup.hp.com>
* lib/target.exp (prune_warnings): Remove duplicate PA2.0 pattern;
revise HP Fortran (f77 & f90) pattern.
Index: lib/target.exp
/usr/local/bin/diff -c -L lib/target.exp lib/target.exp@@/main/cygnus/12 lib/target.exp
*** lib/target.exp
--- lib/target.exp Tue Aug 1 10:12:06 2000
***************
*** 146,153 ****
# Ignore the compiler's warnings about PA incompatibility.
regsub -all "(^|\n)\[^\n\]*PA 2.0 object file \[^\n\]* was detected. The linked output may not run on a PA 1.x system." $text "" text
- regsub -all "(^|\n)\[^\n\]*PA 2.0 object file \[^\n\]* was detected. The linked output may not run on a PA 1.x system." $text "" text
-
# And the linker's +vcompatwarnings verbage.
regsub -all "(^|\n)\[^\n\]*Linker features were used that may not be supported\[^\n\]*.\[^\n\]*." $text "" text
--- 146,151 ----
***************
*** 188,198 ****
#
regsub -all "aCC .assigner.: Warning .*Could not satisfy instantiation request for \[^\n\]* contained in\[^\n\]*\n\t/lib/pa20_64/lib\[a-zA-Z0-9\]*.sl" $text "" text
! # Remove the lines that are output by the HP F77 compiler to
# indicate the functions that are being compiled.
upvar compiler_type compiler_type
if { [info exists compiler_type] && $compiler_type == "f77" } {
! regsub -all "\[ \ta-zA-Z_0-9\./\]*:\[\r\n\]+" $text "" text
}
# Ignore the warnings about unknown options
--- 186,196 ----
#
regsub -all "aCC .assigner.: Warning .*Could not satisfy instantiation request for \[^\n\]* contained in\[^\n\]*\n\t/lib/pa20_64/lib\[a-zA-Z0-9\]*.sl" $text "" text
! # Remove the lines that are output by the HP F77 / F90 compiler to
# indicate the functions that are being compiled.
upvar compiler_type compiler_type
if { [info exists compiler_type] && $compiler_type == "f77" } {
! regsub -all "\[ \ta-zA-Z_0-9\./\-\]*(:|)\[\r\n\]+.*" $text "" text
}
# Ignore the warnings about unknown options