This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Disable gdb.threads-hp
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: law at redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 11 Jan 2002 13:19:20 -0500
- Subject: Re: Disable gdb.threads-hp
- References: <19349.1009490458@porcupine.cygnus.com>
> > A GDB convention is to add an ``OBSOLETE'' prefix to code like this -
> > that way people using search scripts can ignore those lines. In
> > addition, GDB takes a pretty ruthless aproach to such code and deletes
> > it after the next release.
> > > Since this is tcl, I suspect the prefix should be:
> > > # OBSOLETE
> > > can I suggest also adding that.
> FWIW, GDB has a much saner method for dealing with obsolete stuff than GCC;
> hopefully GCC can learn something from how y'all are handling these kinds of
> issues.
Are you sure about this now that we've started looking at obsoleting
half the targets? :-)
> Presumably you just want an OBSOLETE marker at the top of those test files?
It is more like this:
# OBSOLETE # usrthbasic.exp -- Expect script to test gdb with user threads
# OBSOLETE # Copyright (C) 1992 Free Software Foundation, Inc.
# OBSOLETE
I'll post a patch.
Andrew