Add Solaris BCP (the part of Solaris which allows it to run
[deliverable/binutils-gdb.git] / gdb / .Sanitize
... / ...
CommitLineData
1# .Sanitize for devo/gdb.
2
3# Each directory to survive its way into a release will need a file
4# like this one called "./.Sanitize". All keyword lines must exist,
5# and must exist in the order specified by this file. Each directory
6# in the tree will be processed, top down, in the following order.
7
8# Hash started lines like this one are comments and will be deleted
9# before anything else is done. Blank lines will also be squashed
10# out.
11
12# The lines between the "Do-first:" line and the "Things-to-keep:"
13# line are executed as a /bin/sh shell script before anything else is
14# done in this directory.
15
16Do-first:
17
18mpw_files="mpw-config.in mpw-make.in ser-mac.c mac-xdep.c mac-defs.h macgdb.r ChangeLog.mpw"
19
20if ( echo $* | grep keep\-mpw > /dev/null ) ; then
21 keep_these_too="${mpw_files} ${keep_these_too}"
22 if [ -n "${verbose}" ] ; then
23 echo Keeping ${mpw_files}
24 fi
25else
26 lose_these_too="${mpw_files} ${lose_these_too}"
27 if [ -n "${verbose}" ] ; then
28 echo Deleting ${mpw_files}
29 fi
30fi
31
32gm_files="mpw-xconfig.in mpw-init.c ChangeLog.gm"
33
34if ( echo $* | grep keep\-mpw > /dev/null ) ; then
35 keep_these_too="${gm_files} ${keep_these_too}"
36 if [ -n "${verbose}" ] ; then
37 echo Keeping ${gm_files}
38 fi
39else
40 lose_these_too="${gm_files} ${lose_these_too}"
41 if [ -n "${verbose}" ] ; then
42 echo Deleting ${gm_files}
43 fi
44fi
45
46# All files listed between the "Things-to-keep:" line and the
47# "Files-to-sed:" line will be kept. All other files will be removed.
48# Directories listed in this section will have their own Sanitize
49# called. Directories not listed will be removed in their entirety
50# with rm -rf.
51
52Things-to-keep:
53
54.gdbinit
5529k-share
56COPYING
57ChangeLog
58ChangeLog-3.x
59ChangeLog-9091
60ChangeLog-92
61ChangeLog-93
62Makefile.in
63NEWS
64Projects
65README
66TODO
67a29k-pinsn.c
68a29k-tdep.c
69a68v-nat.c
70alpha-nat.c
71alpha-tdep.c
72altos-xdep.c
73annotate.c
74annotate.h
75arm-convert.s
76arm-pinsn.c
77arm-tdep.c
78arm-xdep.c
79blockframe.c
80breakpoint.c
81breakpoint.h
82buildsym.c
83buildsym.h
84c-exp.y
85c-lang.c
86c-lang.h
87c-typeprint.c
88c-valprint.c
89call-cmds.h
90ch-exp.y
91ch-lang.c
92ch-lang.h
93ch-typeprint.c
94ch-valprint.c
95coff-solib.c
96coff-solib.h
97coffread.c
98command.c
99command.h
100complaints.c
101complaints.h
102config
103configure.in
104convex-pinsn.c
105convex-tdep.c
106convex-xdep.c
107copying.awk
108copying.c
109core-svr4.c
110core.c
111coredep.c
112corelow.c
113cp-valprint.c
114dbxread.c
115dcache.c
116dcache.h
117defs.h
118delta68-nat.c
119demangle.c
120doc
121dpx2-nat.c
122dst.h
123dstread.c
124dwarfread.c
125elfread.c
126environ.c
127environ.h
128eval.c
129exec.c
130expprint.c
131expression.h
132findvar.c
133fork-child.c
134frame.h
135gcc.patch
136gdb-stabs.h
137gdb.1
138gdba.el
139gdbcmd.h
140gdbcore.h
141gdbserver
142gdbtypes.c
143gdbtypes.h
144go32-xdep.c
145gould-pinsn.c
146gould-xdep.c
147h8300-tdep.c
148h8500-tdep.c
149hp300ux-nat.c
150hppa-pinsn.c
151hppa-tdep.c
152hppab-nat.c
153hppah-nat.c
154i386-nlmstub.c
155i386-pinsn.c
156i386-stub.c
157i386-tdep.c
158i386aix-nat.c
159i386b-nat.c
160i386ly-tdep.c
161i386m3-nat.c
162i386mach-nat.c
163i386v-nat.c
164i386v4-nat.c
165i387-tdep.c
166i960-pinsn.c
167i960-tdep.c
168infcmd.c
169inferior.h
170inflow.c
171infptrace.c
172infrun.c
173inftarg.c
174irix4-nat.c
175irix5-nat.c
176isi-xdep.c
177kdb-start.c
178language.c
179language.h
180lynx-nat.c
181m2-exp.y
182m2-lang.c
183m2-lang.h
184m2-typeprint.c
185m2-valprint.c
186m3-nat.c
187m68k-pinsn.c
188m68k-stub.c
189m68k-tdep.c
190m88k-nat.c
191m88k-pinsn.c
192m88k-tdep.c
193main.c
194maint.c
195mdebugread.c
196mem-break.c
197minimon.h
198minsyms.c
199mips-nat.c
200mips-pinsn.c
201mips-tdep.c
202mipsm3-nat.c
203mipsv4-nat.c
204mipsread.c
205monitor.h
206news-xdep.c
207nindy-share
208nindy-tdep.c
209nlmread.c
210ns32k-opcode.h
211ns32k-pinsn.c
212ns32km3-nat.c
213objfiles.c
214objfiles.h
215os9kread.c
216osfsolib.c
217paread.c
218parse.c
219parser-defs.h
220partial-stab.h
221printcmd.c
222procfs.c
223ptx4-nat.c
224pyr-pinsn.c
225pyr-tdep.c
226pyr-xdep.c
227regex.c
228regex.h
229rem-multi.shar
230remote-adapt.c
231remote-bug.c
232remote-e7000.c
233remote-eb.c
234remote-es.c
235remote-hms.c
236remote-mips.c
237remote-mm.c
238remote-mon.c
239remote-nindy.c
240remote-os9k.c
241remote-sim.c
242remote-sim.h
243remote-st.c
244remote-udi.c
245remote-utils.c
246remote-utils.h
247remote-vx.c
248remote-z8k.c
249remote.c
250rs6000-nat.c
251rs6000-pinsn.c
252rs6000-tdep.c
253saber.suppress
254ser-go32.c
255ser-tcp.c
256ser-unix.c
257serial.c
258serial.h
259sh-tdep.c
260signals.h
261solib.c
262solib.h
263source.c
264sp64-tdep.c
265sparc-nat.c
266sparc-pinsn.c
267sparc-stub.c
268sparc-tdep.c
269sparcl-stub.c
270sparcl-tdep.c
271sparclite
272stabsread.c
273stabsread.h
274stack.c
275standalone.c
276stop-gdb.c
277stuff.c
278sun3-nat.c
279sun386-nat.c
280symfile.c
281symfile.h
282symm-nat.c
283symm-tdep.c
284symmisc.c
285symtab.c
286symtab.h
287tahoe-pinsn.c
288target.c
289target.h
290terminal.h
291testsuite
292thread.c
293thread.h
294top.c
295top.h
296typeprint.c
297typeprint.h
298ultra3-nat.c
299ultra3-xdep.c
300umax-xdep.c
301utils.c
302valarith.c
303valops.c
304valprint.c
305valprint.h
306value.h
307values.c
308vax-pinsn.c
309vx-share
310xcoffexec.c
311xcoffread.c
312xcoffsolib.c
313xcoffsolib.h
314z8k-tdep.c
315
316
317# Things which are explicitly *not* kept, for now.
318# deblib/ - CVS won't let you blow away directories yet,
319# so this is still around from when Stu checked
320# it in, as part of Lucid support.
321# energize - Part of Lucid support.
322# energize-patches - Part of Lucid support.
323# energize.c - Part of Lucid support.
324# energize.h - Part of Lucid support.
325# remote-sa.sparc.c - Remote target for a standalone SPARC, using
326# the FORTH console ROMs. We never got the paperwork
327# straight, since Sun's lawyers messed with the
328# FSF contract and RMS didn't accept the changes.
329# Written at SunLabs.
330# state.c - Not used at the moment, keep for reference (fnf)
331# state.h - Not used at the moment, keep for reference (fnf)
332# tests - Old test programs for GDB, pre-gdbtest and pre-
333# DejaGnu.
334
335Things-to-lose:
336
337deblib
338energize
339energize-patches
340energize.c
341energize.h
342remote-sa.sparc.c
343state.c
344state.h
345tests
346
347Do-last:
348
349echo Removing traces of \"mpw\"...
350
351# Don't try to clean directories here, as the 'mv' command will fail.
352# Also, grep fails on NFS mounted directories.
353if ( echo $* | grep keep\-mpw > /dev/null ) ; then
354 for i in * ; do
355 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
356 echo Keeping mpw stuff in $i
357 fi
358 done
359else
360 for i in * ; do
361 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
362 echo Removing traces of \"mpw\" out of $i...
363 cp $i new
364 sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/d' < $i > new
365 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
366 echo Caching $i in .Recover...
367 mv $i .Recover
368 fi
369 mv new $i
370 fi
371 done
372fi
373
374# End of file.
This page took 0.02307 seconds and 4 git commands to generate.