From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: muller@ics.u-strasbg.fr (Pierre Muller)
Cc: drow@false.org ('Daniel Jacobowitz'), gdb-patches@sourceware.org
Subject: Re: [RFA] gdb_ari.sh patch to eliminate wrong critical errors
Date: Mon, 15 Oct 2007 13:50:00 -0000 [thread overview]
Message-ID: <200710151347.l9FDlIOT007227@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <000801c80f0d$3fd4a0b0$bf7de210$@u-strasbg.fr> from "Pierre Muller" at Oct 15, 2007 11:24:55 AM
Pierre,
> The current ARI page look much better!
> Only the inline and hash critical bugs remain.
I'm not sure if these categories really make sense ...
> To get a ARI page that would better
> catch new regression, I could move all
> deprecated and obsolete bugs that have
> currently a zero count to ari_regression category,
> this would trigger them to appear on front,
> before the large table if someone reintroduces them.
As the comment at the top of gdb_ari.sh, there are two
types of checks:
# Permenant checks take the form:
# Do not use XXXX, ISO C 90 implies YYYY
# Do not use XXXX, instead use YYYY''.
# and should never be removed.
# Temporary checks take the form:
# Replace XXXX with YYYY
# and once they reach zero, can be eliminated.
Only those checks that *can* regress should be moved to
the ari_regression category, those that cannot (e.g. use
of a function that has actually been removed) should just
deleted completely.
> There are 6 deprecated functions that have a -1 count.
> Which seems to be related to function name appearing in comments
> or disabled code.
There is some logic that subtracts 2 from the count (to avoid
counting the function definition and declaration). This logic
gets it wrong in some cases; e.g. it leads to negative values
for some functions that have already been completely removed.
(On the other hand, even some functions with count 0 are in
fact still used, because the one use happens to be in a file
that is for some reason excluded from the ARI scan. So you
should double-check for each case you remove that there is
indeed no more reference.)
Thanks for working on clearing up the ARI!
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com
next prev parent reply other threads:[~2007-10-15 13:47 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-10 9:07 Pierre Muller
2007-10-10 12:18 ` 'Daniel Jacobowitz'
2007-10-10 14:52 ` Ulrich Weigand
2007-10-10 15:04 ` 'Daniel Jacobowitz'
2007-10-10 15:27 ` Jim Blandy
2007-10-10 15:51 ` Mark Kettenis
2007-10-11 8:55 ` Update ARI pages Pierre Muller
2007-10-11 14:20 ` 'Daniel Jacobowitz'
2007-10-11 16:53 ` Joel Brobecker
2007-10-15 9:23 ` Pierre Muller
2007-10-24 20:07 ` 'Daniel Jacobowitz'
2007-10-24 20:42 ` Joel Brobecker
2007-10-24 21:06 ` Daniel Jacobowitz
2007-10-25 7:55 ` Pierre Muller
2007-10-11 19:41 ` [RFA] gdb_ari.sh patch to eliminate wrong critical errors Ulrich Weigand
2007-10-15 12:15 ` Pierre Muller
2007-10-15 13:47 ` 'Daniel Jacobowitz'
2007-10-15 13:50 ` Ulrich Weigand [this message]
2007-10-15 14:13 ` Ulrich Weigand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200710151347.l9FDlIOT007227@d12av02.megacenter.de.ibm.com \
--to=uweigand@de.ibm.com \
--cc=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=muller@ics.u-strasbg.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox