Tue Apr 26 18:18:24 1994 Stan Shebs (shebs@andros.cygnus.com)
[deliverable/binutils-gdb.git] / gdb / .Sanitize
CommitLineData
f4240b08 1# .Sanitize for devo/gdb.
eeadf5c2 2
d1bcda67 3# Each directory to survive its way into a release will need a file
eeadf5c2
RP
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
d1bcda67 14# done in this directory.
eeadf5c2
RP
15
16Do-first:
17
cb747ec5 18if ( echo $* | grep keep\-v9 > /dev/null ) ; then
40b92220 19 keep_these_too="sp64-tdep.c"
3ea2c30a
FF
20else
21 lose_these_too="sp64-tdep.c"
cb747ec5
DE
22fi
23
d1bcda67
SS
24mpw_files="mpw-config.in mpw-make.in ser-mac.c ChangeLog.mpw"
25
26if ( echo $* | grep keep\-mpw > /dev/null ) ; then
27 keep_these_too="${mpw_files} ${keep_these_too}"
28 if [ -n "${verbose}" ] ; then
29 echo Keeping ${mpw_files}
30 fi
31else
32 lose_these_too="${mpw_files} ${lose_these_too}"
33 if [ -n "${verbose}" ] ; then
34 echo Deleting ${mpw_files}
35 fi
36fi
37
38gm_files="mpw-xconfig.in mpw-init.c ChangeLog.gm"
39
40if ( echo $* | grep keep\-mpw > /dev/null ) ; then
41 keep_these_too="${gm_files} ${keep_these_too}"
42 if [ -n "${verbose}" ] ; then
43 echo Keeping ${gm_files}
44 fi
45else
46 lose_these_too="${gm_files} ${lose_these_too}"
47 if [ -n "${verbose}" ] ; then
48 echo Deleting ${gm_files}
49 fi
50fi
51
eeadf5c2
RP
52# All files listed between the "Things-to-keep:" line and the
53# "Files-to-sed:" line will be kept. All other files will be removed.
54# Directories listed in this section will have their own Sanitize
55# called. Directories not listed will be removed in their entirety
56# with rm -rf.
57
58Things-to-keep:
59
60.gdbinit
a96c3444 6129k-share
eeadf5c2
RP
62COPYING
63ChangeLog
64ChangeLog-3.x
ee799e2a 65ChangeLog-9091
5debf76d 66ChangeLog-92
1ea8b1dc 67ChangeLog-93
bdf3621b 68Makefile.in
ddce75e0 69NEWS
eeadf5c2
RP
70Projects
71README
72TODO
b4b0321b
FF
73a29k-pinsn.c
74a29k-tdep.c
203a8d54 75a68v-nat.c
cef4c2e7
PS
76alpha-nat.c
77alpha-tdep.c
203a8d54 78altos-xdep.c
eeadf5c2 79arm-convert.s
eeadf5c2
RP
80arm-pinsn.c
81arm-tdep.c
82arm-xdep.c
83blockframe.c
84breakpoint.c
85breakpoint.h
2ce38c6d
JG
86buildsym.c
87buildsym.h
56d921a8 88c-exp.y
22e39759
FF
89c-lang.c
90c-lang.h
a8a69e63
FF
91c-typeprint.c
92c-valprint.c
be772100 93call-cmds.h
b1086bf5
FF
94ch-exp.y
95ch-lang.c
96ch-lang.h
97ch-typeprint.c
98ch-valprint.c
ead291d4
SG
99coff-solib.c
100coff-solib.h
eeadf5c2
RP
101coffread.c
102command.c
103command.h
51b80b00
FF
104complaints.c
105complaints.h
f187c3a4 106config
eeadf5c2
RP
107configure.in
108convex-pinsn.c
109convex-tdep.c
110convex-xdep.c
eeadf5c2
RP
111copying.awk
112copying.c
203a8d54 113core-svr4.c
eeadf5c2
RP
114core.c
115coredep.c
dfc82617 116corelow.c
a8a69e63 117cp-valprint.c
eeadf5c2 118dbxread.c
755892d6
RP
119dcache.c
120dcache.h
eeadf5c2 121defs.h
be0ed5bb 122delta68-nat.c
2dbde378 123demangle.c
eeadf5c2 124doc
0a8f1742 125dpx2-nat.c
2d628281
JK
126dst.h
127dstread.c
6fccdaf4
FF
128dwarfread.c
129elfread.c
eeadf5c2
RP
130environ.c
131environ.h
132eval.c
133exec.c
134expprint.c
eeadf5c2
RP
135expression.h
136findvar.c
e745abe5 137fork-child.c
eeadf5c2 138frame.h
5c5b5d4b 139gcc.patch
ed7c0948 140gdb-stabs.h
0857b46a 141gdb.1
eeadf5c2
RP
142gdbcmd.h
143gdbcore.h
463a71db 144gdbserver
a1f596f4
FF
145gdbtypes.c
146gdbtypes.h
ae0ea72e 147go32-xdep.c
eeadf5c2
RP
148gould-pinsn.c
149gould-xdep.c
0a8ed751 150h8300-tdep.c
5cd0940a 151h8500-tdep.c
b1de302a 152hp300ux-nat.c
76b731f9 153hppa-pinsn.c
66a1aa07 154hppa-tdep.c
ca048722 155hppab-nat.c
ca048722 156hppah-nat.c
ef0faeb6 157i386-nlmstub.c
eeadf5c2
RP
158i386-pinsn.c
159i386-stub.c
160i386-tdep.c
2c7ab4ca 161i386aix-nat.c
0e35d2f3 162i386b-nat.c
c458501e 163i386ly-tdep.c
c2d751d5 164i386m3-nat.c
a113beac 165i386mach-nat.c
c7c94073 166i386v-nat.c
4d0eabff 167i386v4-nat.c
56d921a8 168i387-tdep.c
eeadf5c2
RP
169i960-pinsn.c
170i960-tdep.c
eeadf5c2
RP
171infcmd.c
172inferior.h
173inflow.c
174infptrace.c
175infrun.c
eeadf5c2 176inftarg.c
a70dc898 177irix4-nat.c
a2f1e2e5 178irix5-nat.c
4aadcb02 179isi-xdep.c
eeadf5c2 180kdb-start.c
56d921a8
JG
181language.c
182language.h
069e0566 183lynx-nat.c
56d921a8 184m2-exp.y
22e39759
FF
185m2-lang.c
186m2-lang.h
a8a69e63
FF
187m2-typeprint.c
188m2-valprint.c
c2d751d5 189m3-nat.c
eeadf5c2
RP
190m68k-pinsn.c
191m68k-stub.c
192m68k-tdep.c
173a4f1b 193m88k-nat.c
eeadf5c2
RP
194m88k-pinsn.c
195m88k-tdep.c
eeadf5c2 196main.c
0239d9b3 197maint.c
a2f1e2e5 198mdebugread.c
eeadf5c2 199mem-break.c
1111151a 200minimon.h
a1f596f4 201minsyms.c
a70dc898 202mips-nat.c
eeadf5c2
RP
203mips-pinsn.c
204mips-tdep.c
c2d751d5 205mipsm3-nat.c
2fe3b329 206mipsv4-nat.c
eeadf5c2 207mipsread.c
2f1c04d1 208monitor.h
eeadf5c2
RP
209news-xdep.c
210nindy-share
211nindy-tdep.c
db85f523 212nlmread.c
eeadf5c2
RP
213ns32k-opcode.h
214ns32k-pinsn.c
c2d751d5 215ns32km3-nat.c
a1f596f4 216objfiles.c
5e2e79f8 217objfiles.h
25200748 218os9kread.c
cef4c2e7 219osfsolib.c
e4dd52dd 220paread.c
56d921a8
JG
221parse.c
222parser-defs.h
7e258d18 223partial-stab.h
eeadf5c2 224printcmd.c
6fccdaf4 225procfs.c
c6889f63 226ptx4-nat.c
eeadf5c2
RP
227pyr-pinsn.c
228pyr-tdep.c
229pyr-xdep.c
230regex.c
231regex.h
232rem-multi.shar
1111151a 233remote-adapt.c
203a8d54 234remote-bug.c
a0b28275 235remote-e7000.c
eeadf5c2 236remote-eb.c
91c87211 237remote-es.c
d93b79d9 238remote-hms.c
c2a0f1cb 239remote-mips.c
1111151a 240remote-mm.c
c033ec17 241remote-mon.c
eeadf5c2 242remote-nindy.c
25200748 243remote-os9k.c
ec25d19b 244remote-sim.c
40b92220 245remote-sim.h
91c87211 246remote-st.c
e4dd52dd 247remote-udi.c
3283eab3
JK
248remote-utils.c
249remote-utils.h
eeadf5c2 250remote-vx.c
2aedd91e 251remote-z8k.c
eeadf5c2 252remote.c
dc48694c 253rs6000-nat.c
6373dbe3
JG
254rs6000-pinsn.c
255rs6000-tdep.c
eeadf5c2 256saber.suppress
ddce75e0 257ser-go32.c
4d551aa3 258ser-tcp.c
e8a5f0ed
SG
259ser-unix.c
260serial.c
ddce75e0 261serial.h
9faacb92 262sh-tdep.c
eeadf5c2 263signals.h
eeadf5c2 264solib.c
a1f596f4 265solib.h
eeadf5c2 266source.c
dfc82617 267sparc-nat.c
eeadf5c2 268sparc-pinsn.c
c9715956 269sparc-stub.c
eeadf5c2 270sparc-tdep.c
a96c3444 271sparclite
d07734e3
FF
272stabsread.c
273stabsread.h
eeadf5c2
RP
274stack.c
275standalone.c
eeadf5c2 276stuff.c
dc48694c 277sun3-nat.c
61bbb1c2 278sun386-nat.c
eeadf5c2
RP
279symfile.c
280symfile.h
d39d83c1 281symm-nat.c
203a8d54 282symm-tdep.c
eeadf5c2
RP
283symmisc.c
284symtab.c
285symtab.h
eeadf5c2
RP
286tahoe-pinsn.c
287target.c
288target.h
eeadf5c2 289terminal.h
a2df03aa 290testsuite
6a21c756
SG
291thread.c
292thread.h
a8a69e63
FF
293typeprint.c
294typeprint.h
6bf98ac0 295ultra3-nat.c
1111151a 296ultra3-xdep.c
eeadf5c2
RP
297umax-xdep.c
298utils.c
299valarith.c
300valops.c
301valprint.c
a8a69e63 302valprint.h
eeadf5c2
RP
303value.h
304values.c
eeadf5c2
RP
305vax-pinsn.c
306vx-share
6373dbe3
JG
307xcoffexec.c
308xcoffread.c
1eeba686
PB
309xcoffsolib.c
310xcoffsolib.h
2aedd91e 311z8k-tdep.c
eeadf5c2 312
87756e15 313
f747d259 314# Things which are explicitly *not* kept, for now.
2b577349
JG
315# deblib/ - CVS won't let you blow away directories yet,
316# so this is still around from when Stu checked
317# it in, as part of Lucid support.
743b663c
FF
318# energize - Part of Lucid support.
319# energize-patches - Part of Lucid support.
320# energize.c - Part of Lucid support.
321# energize.h - Part of Lucid support.
2b577349
JG
322# remote-sa.sparc.c - Remote target for a standalone SPARC, using
323# the FORTH console ROMs. We never got the paperwork
324# straight, since Sun's lawyers messed with the
325# FSF contract and RMS didn't accept the changes.
326# Written at SunLabs.
743b663c
FF
327# state.c - Not used at the moment, keep for reference (fnf)
328# state.h - Not used at the moment, keep for reference (fnf)
2b577349
JG
329# tests - Old test programs for GDB, pre-gdbtest and pre-
330# DejaGnu.
f747d259 331
87756e15
RP
332Things-to-lose:
333
334deblib
335energize
336energize-patches
337energize.c
338energize.h
87756e15
RP
339remote-sa.sparc.c
340state.c
341state.h
342tests
343
eeadf5c2
RP
344Do-last:
345
85b9835f
DE
346echo Looking for signs of \"v9\"...
347
348# Don't try to clean directories here, as the 'mv' command will fail.
349# Also, grep fails on NFS mounted directories.
350if ( echo $* | grep keep\-v9 > /dev/null ) ; then
351 for i in * ; do
352 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
353 echo Keeping v9 stuff in $i
354 fi
355 done
356else
357 for i in * ; do
358 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
359 echo Cleaning the \"v9\" out of $i...
360 cp $i new
361 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
362 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
363 echo Caching $i in .Recover...
364 mv $i .Recover
365 fi
366 mv new $i
367 fi
368 done
369fi
370
d1bcda67
SS
371echo Removing traces of \"mpw\"...
372
373# Don't try to clean directories here, as the 'mv' command will fail.
374# Also, grep fails on NFS mounted directories.
375if ( echo $* | grep keep\-mpw > /dev/null ) ; then
376 for i in * ; do
377 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
378 echo Keeping mpw stuff in $i
379 fi
380 done
381else
382 for i in * ; do
383 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
384 echo Removing traces of \"mpw\" out of $i...
385 cp $i new
386 sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/d' < $i > new
387 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
388 echo Caching $i in .Recover...
389 mv $i .Recover
390 fi
391 mv new $i
392 fi
393 done
394fi
395
eeadf5c2 396# End of file.
This page took 0.153354 seconds and 4 git commands to generate.