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