This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


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

Re: Retiring obsolete files



> Opinions?  If no one objects, I will set this in motion for 4.18.

It sounds good to me.

How does this approach compare with making a new directory tree
gdb/obsolete?  So gdb/config/victrola would get moved to
gdb/obsolete/config/victrola?

Is your sed script invertible?  Someone resuscitating an old platform
would probably appreciate that.  If the file contains any *//*
sequences to begin with, then I think it isn't.  How about

	sed -e 's,*,*x,g' 

to deal with existing comments, and everything else stays the same?
After you've stripped off the "/* OBSOLETE " and " */" that were
guaranteed to be added to every line, then you know that

	sed -e 's,*x,*,g'

will restore everything properly, even if there were "*x" sequences in
the code already.