This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] dejagnu lib/target.exp HP warnings
- To: Jimmy Guo <guo at cup dot hp dot com>
- Subject: Re: [PATCH] dejagnu lib/target.exp HP warnings
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Tue, 01 Aug 2000 14:37:06 -0400
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Red Hat , Inc. - Toronto
- References: <Pine.LNX.4.10.10008011016581.1500-100000@hpcll168.cup.hp.com>
Sure. Check it in.
F.
Jimmy Guo wrote:
>
> 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
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@cygnus.com
2323 Yonge Street, Suite #300 Tel: 416-482-2661 ext. 311
Toronto, Ontario M4P 2C9 Fax: 416-482-6299