From: Stan Shebs <shebs@cygnus.com>
To: gdb@cygnus.com
Subject: Retiring obsolete files
Date: Thu, 01 Apr 1999 00:00:00 -0000 [thread overview]
Message-ID: <199901220026.QAA29779@andros.cygnus.com> (raw)
One of the problems with maintaining GDB over a long period of time is
that, unlike GCC, GDB includes files that can only be compiled and run
on a particular host. If the host is obsolete or simply scarce, it
becomes impossible to ensure that GDB's code for that host is still
correct, and in fact that code may actively mislead current and future
maintainers looking for examples of how to solve a problem.
I discussed this with RMS, and he wasn't keen to simply delete files,
for the reason that one doesn't necessarily know for sure that the
configuration no longer exists, and if someone wanted to revive it, it
might be very difficult to find a GDB release with the old files still
present. However, he thought it would be OK to mark files as
obsolete. So I came up with a compromise proposal that I'd like to
try out on people.
Files that seem to be obsolete first get marked with this sed script:
sed -e 's,*/,*//*,g' -e 's,^,/* OBSOLETE ,' -e 's,$, */,'
This puts the word 'OBSOLETE' on every line, plus comments out all the
code, thus making its status obvious to readers, to grep, and to any
source analysis tools that might look inside a #if 0 ... #endif. In
addition, the gdb/NEWS file gets a note to the effect that a file or
config is obsolete. This situation lasts for one release. Then, at
the time of the next release, if no one has come forward to save the
file, it gets deleted, and a note is made of that in NEWS. Over time,
old junk will disappear from the source, thus making room for new junk. :-)
Opinions? If no one objects, I will set this in motion for 4.18.
Stan
next reply other threads:[~1999-04-01 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-01 0:00 Stan Shebs [this message]
1999-04-01 0:00 ` Jim Blandy
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=199901220026.QAA29779@andros.cygnus.com \
--to=shebs@cygnus.com \
--cc=gdb@cygnus.com \
/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