Add Solaris BCP (the part of Solaris which allows it to run
[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
e632f85e 18mpw_files="mpw-config.in mpw-make.in ser-mac.c mac-xdep.c mac-defs.h macgdb.r ChangeLog.mpw"
d1bcda67
SS
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
eeadf5c2
RP
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
a96c3444 5529k-share
eeadf5c2
RP
56COPYING
57ChangeLog
58ChangeLog-3.x
ee799e2a 59ChangeLog-9091
5debf76d 60ChangeLog-92
1ea8b1dc 61ChangeLog-93
bdf3621b 62Makefile.in
ddce75e0 63NEWS
eeadf5c2
RP
64Projects
65README
66TODO
b4b0321b
FF
67a29k-pinsn.c
68a29k-tdep.c
203a8d54 69a68v-nat.c
cef4c2e7
PS
70alpha-nat.c
71alpha-tdep.c
203a8d54 72altos-xdep.c
1c95d7ab
JK
73annotate.c
74annotate.h
eeadf5c2 75arm-convert.s
eeadf5c2
RP
76arm-pinsn.c
77arm-tdep.c
78arm-xdep.c
79blockframe.c
80breakpoint.c
81breakpoint.h
2ce38c6d
JG
82buildsym.c
83buildsym.h
56d921a8 84c-exp.y
22e39759
FF
85c-lang.c
86c-lang.h
a8a69e63
FF
87c-typeprint.c
88c-valprint.c
be772100 89call-cmds.h
b1086bf5
FF
90ch-exp.y
91ch-lang.c
92ch-lang.h
93ch-typeprint.c
94ch-valprint.c
ead291d4
SG
95coff-solib.c
96coff-solib.h
eeadf5c2
RP
97coffread.c
98command.c
99command.h
51b80b00
FF
100complaints.c
101complaints.h
f187c3a4 102config
eeadf5c2
RP
103configure.in
104convex-pinsn.c
105convex-tdep.c
106convex-xdep.c
eeadf5c2
RP
107copying.awk
108copying.c
203a8d54 109core-svr4.c
eeadf5c2
RP
110core.c
111coredep.c
dfc82617 112corelow.c
a8a69e63 113cp-valprint.c
eeadf5c2 114dbxread.c
755892d6
RP
115dcache.c
116dcache.h
eeadf5c2 117defs.h
be0ed5bb 118delta68-nat.c
2dbde378 119demangle.c
eeadf5c2 120doc
0a8f1742 121dpx2-nat.c
2d628281
JK
122dst.h
123dstread.c
6fccdaf4
FF
124dwarfread.c
125elfread.c
eeadf5c2
RP
126environ.c
127environ.h
128eval.c
129exec.c
130expprint.c
eeadf5c2
RP
131expression.h
132findvar.c
e745abe5 133fork-child.c
eeadf5c2 134frame.h
5c5b5d4b 135gcc.patch
ed7c0948 136gdb-stabs.h
0857b46a 137gdb.1
dec525ce 138gdba.el
eeadf5c2
RP
139gdbcmd.h
140gdbcore.h
463a71db 141gdbserver
a1f596f4
FF
142gdbtypes.c
143gdbtypes.h
ae0ea72e 144go32-xdep.c
eeadf5c2
RP
145gould-pinsn.c
146gould-xdep.c
0a8ed751 147h8300-tdep.c
5cd0940a 148h8500-tdep.c
b1de302a 149hp300ux-nat.c
76b731f9 150hppa-pinsn.c
66a1aa07 151hppa-tdep.c
ca048722 152hppab-nat.c
ca048722 153hppah-nat.c
ef0faeb6 154i386-nlmstub.c
eeadf5c2
RP
155i386-pinsn.c
156i386-stub.c
157i386-tdep.c
2c7ab4ca 158i386aix-nat.c
0e35d2f3 159i386b-nat.c
c458501e 160i386ly-tdep.c
c2d751d5 161i386m3-nat.c
a113beac 162i386mach-nat.c
c7c94073 163i386v-nat.c
4d0eabff 164i386v4-nat.c
56d921a8 165i387-tdep.c
eeadf5c2
RP
166i960-pinsn.c
167i960-tdep.c
eeadf5c2
RP
168infcmd.c
169inferior.h
170inflow.c
171infptrace.c
172infrun.c
eeadf5c2 173inftarg.c
a70dc898 174irix4-nat.c
a2f1e2e5 175irix5-nat.c
4aadcb02 176isi-xdep.c
eeadf5c2 177kdb-start.c
56d921a8
JG
178language.c
179language.h
069e0566 180lynx-nat.c
56d921a8 181m2-exp.y
22e39759
FF
182m2-lang.c
183m2-lang.h
a8a69e63
FF
184m2-typeprint.c
185m2-valprint.c
c2d751d5 186m3-nat.c
eeadf5c2
RP
187m68k-pinsn.c
188m68k-stub.c
189m68k-tdep.c
173a4f1b 190m88k-nat.c
eeadf5c2
RP
191m88k-pinsn.c
192m88k-tdep.c
eeadf5c2 193main.c
0239d9b3 194maint.c
a2f1e2e5 195mdebugread.c
eeadf5c2 196mem-break.c
1111151a 197minimon.h
a1f596f4 198minsyms.c
a70dc898 199mips-nat.c
eeadf5c2
RP
200mips-pinsn.c
201mips-tdep.c
c2d751d5 202mipsm3-nat.c
2fe3b329 203mipsv4-nat.c
eeadf5c2 204mipsread.c
2f1c04d1 205monitor.h
eeadf5c2
RP
206news-xdep.c
207nindy-share
208nindy-tdep.c
db85f523 209nlmread.c
eeadf5c2
RP
210ns32k-opcode.h
211ns32k-pinsn.c
c2d751d5 212ns32km3-nat.c
a1f596f4 213objfiles.c
5e2e79f8 214objfiles.h
25200748 215os9kread.c
cef4c2e7 216osfsolib.c
e4dd52dd 217paread.c
56d921a8
JG
218parse.c
219parser-defs.h
7e258d18 220partial-stab.h
eeadf5c2 221printcmd.c
6fccdaf4 222procfs.c
c6889f63 223ptx4-nat.c
eeadf5c2
RP
224pyr-pinsn.c
225pyr-tdep.c
226pyr-xdep.c
227regex.c
228regex.h
229rem-multi.shar
1111151a 230remote-adapt.c
203a8d54 231remote-bug.c
a0b28275 232remote-e7000.c
eeadf5c2 233remote-eb.c
91c87211 234remote-es.c
d93b79d9 235remote-hms.c
c2a0f1cb 236remote-mips.c
1111151a 237remote-mm.c
c033ec17 238remote-mon.c
eeadf5c2 239remote-nindy.c
25200748 240remote-os9k.c
ec25d19b 241remote-sim.c
40b92220 242remote-sim.h
91c87211 243remote-st.c
e4dd52dd 244remote-udi.c
3283eab3
JK
245remote-utils.c
246remote-utils.h
eeadf5c2 247remote-vx.c
2aedd91e 248remote-z8k.c
eeadf5c2 249remote.c
dc48694c 250rs6000-nat.c
6373dbe3
JG
251rs6000-pinsn.c
252rs6000-tdep.c
eeadf5c2 253saber.suppress
ddce75e0 254ser-go32.c
4d551aa3 255ser-tcp.c
e8a5f0ed
SG
256ser-unix.c
257serial.c
ddce75e0 258serial.h
9faacb92 259sh-tdep.c
eeadf5c2 260signals.h
eeadf5c2 261solib.c
a1f596f4 262solib.h
eeadf5c2 263source.c
8c16485e 264sp64-tdep.c
dfc82617 265sparc-nat.c
eeadf5c2 266sparc-pinsn.c
c9715956 267sparc-stub.c
eeadf5c2 268sparc-tdep.c
2b14c195
KH
269sparcl-stub.c
270sparcl-tdep.c
a96c3444 271sparclite
d07734e3
FF
272stabsread.c
273stabsread.h
eeadf5c2
RP
274stack.c
275standalone.c
1e6f592d 276stop-gdb.c
eeadf5c2 277stuff.c
dc48694c 278sun3-nat.c
61bbb1c2 279sun386-nat.c
eeadf5c2
RP
280symfile.c
281symfile.h
d39d83c1 282symm-nat.c
203a8d54 283symm-tdep.c
eeadf5c2
RP
284symmisc.c
285symtab.c
286symtab.h
eeadf5c2
RP
287tahoe-pinsn.c
288target.c
289target.h
eeadf5c2 290terminal.h
a2df03aa 291testsuite
6a21c756
SG
292thread.c
293thread.h
172559ec
JK
294top.c
295top.h
a8a69e63
FF
296typeprint.c
297typeprint.h
6bf98ac0 298ultra3-nat.c
1111151a 299ultra3-xdep.c
eeadf5c2
RP
300umax-xdep.c
301utils.c
302valarith.c
303valops.c
304valprint.c
a8a69e63 305valprint.h
eeadf5c2
RP
306value.h
307values.c
eeadf5c2
RP
308vax-pinsn.c
309vx-share
6373dbe3
JG
310xcoffexec.c
311xcoffread.c
1eeba686
PB
312xcoffsolib.c
313xcoffsolib.h
2aedd91e 314z8k-tdep.c
eeadf5c2 315
87756e15 316
f747d259 317# Things which are explicitly *not* kept, for now.
2b577349
JG
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.
743b663c
FF
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.
2b577349
JG
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.
743b663c
FF
330# state.c - Not used at the moment, keep for reference (fnf)
331# state.h - Not used at the moment, keep for reference (fnf)
2b577349
JG
332# tests - Old test programs for GDB, pre-gdbtest and pre-
333# DejaGnu.
f747d259 334
87756e15
RP
335Things-to-lose:
336
337deblib
338energize
339energize-patches
340energize.c
341energize.h
87756e15
RP
342remote-sa.sparc.c
343state.c
344state.h
345tests
346
eeadf5c2
RP
347Do-last:
348
d1bcda67
SS
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
eeadf5c2 374# End of file.
This page took 0.154717 seconds and 4 git commands to generate.