This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Warning counts in gdb; Was: Re: [patch] multi-arch INIT_FRAME_PC*
- To: ac131313 at cygnus dot com
- Subject: Warning counts in gdb; Was: Re: [patch] multi-arch INIT_FRAME_PC*
- From: Michael Elizabeth Chastain <chastain at cygnus dot com>
- Date: Mon, 18 Jun 2001 15:02:06 -0700
- Cc: gdb-patches at sources dot redhat dot com
Warnings --
I tried turning on -Werror by hand and didn't like the results.
I realized that I have some useful compilation logs:
grep -c 'gdb.*warning:' */native/build/X-make.log
The results are:
native hppa1.1 hpux 10.20 47
native red hat linux 6.0 0
native red hat linux 6.1 2301
native red hat linux 6.2 2301
native red hat linux 7 2301
native solaris 2.5.1 1
native solaris 2.6 3
native solaris 2.7 3
native solaris 2.8 3
This is with gcc 2.95.3.
I glanced at the warnings in red hat linux. The first several of them
are on lines that call memset. It's some "compiler recognizes memset"
effect that I don't want to analyze right now.
Almost every platform has a couple of warnings though.
Michael