This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Disable gdb.threads-hp


>  > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]