Tue Jan 19 09:06:14 1993 Ian Lance Taylor (ian@cygnus.com)
[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
19cfe25d 18if ( echo $* | grep keep\-chill > /dev/null ) ; then
a8a69e63 19 keep_these_too="ch-exp.y ch-lang.c ch-lang.h ch-typeprint.c ch-valprint.c"
19cfe25d
FF
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
eeadf5c2 36Convex.notes
bdf3621b 37Makefile.in
ddce75e0 38NEWS
eeadf5c2
RP
39Projects
40README
41TODO
124a6fc0 42a68v-nat.c
eeadf5c2
RP
43alldeps.mak
44alloca.c
45altos-xdep.c
46am29k-opcode.h
47am29k-pinsn.c
48am29k-tdep.c
eeadf5c2 49arm-convert.s
eeadf5c2
RP
50arm-pinsn.c
51arm-tdep.c
52arm-xdep.c
53blockframe.c
54breakpoint.c
55breakpoint.h
2ce38c6d
JG
56buildsym.c
57buildsym.h
56d921a8 58c-exp.y
22e39759
FF
59c-lang.c
60c-lang.h
a8a69e63
FF
61c-typeprint.c
62c-valprint.c
be772100 63call-cmds.h
eeadf5c2
RP
64coffread.c
65command.c
66command.h
51b80b00
FF
67complaints.c
68complaints.h
f187c3a4 69config
eeadf5c2
RP
70configure.in
71convex-pinsn.c
72convex-tdep.c
73convex-xdep.c
74convx-opcode.h
75copying.awk
76copying.c
77core.c
78coredep.c
dfc82617 79corelow.c
a8a69e63 80cp-valprint.c
eeadf5c2
RP
81createtags
82dbxread.c
83defs.h
2dbde378 84demangle.c
55b32c02 85depend
eeadf5c2 86doc
6fccdaf4
FF
87dwarfread.c
88elfread.c
eeadf5c2
RP
89environ.c
90environ.h
91eval.c
92exec.c
93expprint.c
eeadf5c2
RP
94expression.h
95findvar.c
e745abe5 96fork-child.c
eeadf5c2 97frame.h
5c5b5d4b 98gcc.patch
ed7c0948 99gdb-stabs.h
0857b46a 100gdb.1
eeadf5c2
RP
101gdbcmd.h
102gdbcore.h
a1f596f4
FF
103gdbtypes.c
104gdbtypes.h
d9548d44 105go32-nat.c
ae0ea72e 106go32-xdep.c
eeadf5c2
RP
107gould-pinsn.c
108gould-xdep.c
0a8ed751 109h8300-tdep.c
b1de302a 110hp300ux-nat.c
76b731f9 111hppa-pinsn.c
3b0d8c28 112hppab-core.c
ca048722 113hppab-nat.c
3b0d8c28 114hppab-tdep.c
ca048722 115hppah-nat.c
3b0d8c28 116hppah-tdep.c
eeadf5c2
RP
117i386-pinsn.c
118i386-stub.c
119i386-tdep.c
0e35d2f3 120i386b-nat.c
a113beac 121i386mach-nat.c
c7c94073 122i386v-nat.c
4d0eabff 123i386v4-nat.c
56d921a8 124i387-tdep.c
eeadf5c2
RP
125i960-pinsn.c
126i960-tdep.c
127ieee-float.c
128ieee-float.h
129infcmd.c
130inferior.h
131inflow.c
132infptrace.c
133infrun.c
eeadf5c2 134inftarg.c
a70dc898 135irix4-nat.c
eeadf5c2 136kdb-start.c
56d921a8
JG
137language.c
138language.h
139m2-exp.y
22e39759
FF
140m2-lang.c
141m2-lang.h
a8a69e63
FF
142m2-typeprint.c
143m2-valprint.c
eeadf5c2
RP
144m68k-pinsn.c
145m68k-stub.c
146m68k-tdep.c
173a4f1b 147m88k-nat.c
eeadf5c2
RP
148m88k-pinsn.c
149m88k-tdep.c
eeadf5c2 150main.c
0239d9b3 151maint.c
eeadf5c2 152mem-break.c
1111151a 153minimon.h
a1f596f4 154minsyms.c
a70dc898 155mips-nat.c
eeadf5c2
RP
156mips-pinsn.c
157mips-tdep.c
eeadf5c2 158mipsread.c
eeadf5c2
RP
159munch
160news-xdep.c
161nindy-share
162nindy-tdep.c
124a6fc0
RP
163nm-apollo68b.h
164nm-apollo68v.h
173a4f1b 165nm-delta88.h
b1de302a
RP
166nm-hp300bsd.h
167nm-hp300hpux.h
ca048722
RP
168nm-hppab.h
169nm-hppah.h
f4cc0e9b 170nm-i386bsd.h
a113beac 171nm-i386mach.h
e536c999 172nm-i386sco.h
c7c94073 173nm-i386v.h
4d0eabff 174nm-i386v4.h
703bdc5b 175nm-irix3.h
a70dc898 176nm-irix4.h
e24cb83d 177nm-linux.h
173a4f1b 178nm-m88k.h
a70dc898 179nm-mips.h
75365589 180nm-news.h
dc48694c 181nm-rs6000.h
56e89422 182nm-sun2.h
dc48694c 183nm-sun3.h
61bbb1c2 184nm-sun386.h
dfc82617 185nm-sun4os4.h
99ef5653 186nm-sysv4.h
dfc82617 187nm-trash.h
6bf98ac0 188nm-ultra3.h
3fcb9021 189nm-umax.h
7aae0974 190nm-vax.h
eeadf5c2
RP
191ns32k-opcode.h
192ns32k-pinsn.c
a1f596f4 193objfiles.c
5e2e79f8 194objfiles.h
d5231b08 195os68k-xdep.c
e4dd52dd 196paread.c
56d921a8
JG
197parse.c
198parser-defs.h
7e258d18 199partial-stab.h
eeadf5c2 200printcmd.c
6fccdaf4 201procfs.c
eeadf5c2 202putenv.c
eeadf5c2
RP
203pyr-pinsn.c
204pyr-tdep.c
205pyr-xdep.c
206regex.c
207regex.h
208rem-multi.shar
1111151a 209remote-adapt.c
eeadf5c2 210remote-eb.c
ddce75e0 211remote-es1800.c
d93b79d9 212remote-hms.c
1111151a 213remote-mm.c
eeadf5c2 214remote-nindy.c
ec25d19b 215remote-sim.c
6c7e40b4 216remote-st2000.c
e4dd52dd 217remote-udi.c
eeadf5c2 218remote-vx.c
2aedd91e 219remote-z8k.c
eeadf5c2 220remote.c
dc48694c 221rs6000-nat.c
6373dbe3
JG
222rs6000-pinsn.c
223rs6000-tdep.c
eeadf5c2 224saber.suppress
6c7e40b4 225ser-bsd.c
ddce75e0
DHW
226ser-go32.c
227ser-termios.c
228serial.h
eeadf5c2 229signals.h
eeadf5c2 230solib.c
a1f596f4 231solib.h
eeadf5c2 232source.c
dfc82617 233sparc-nat.c
eeadf5c2 234sparc-pinsn.c
c9715956 235sparc-stub.c
eeadf5c2 236sparc-tdep.c
a96c3444 237sparclite
d07734e3
FF
238stabsread.c
239stabsread.h
eeadf5c2
RP
240stack.c
241standalone.c
eeadf5c2 242stuff.c
dc48694c 243sun3-nat.c
61bbb1c2 244sun386-nat.c
eeadf5c2
RP
245symfile.c
246symfile.h
247symm-tdep.c
248symm-xdep.c
249symmisc.c
250symtab.c
251symtab.h
eeadf5c2
RP
252tahoe-pinsn.c
253target.c
254target.h
eeadf5c2 255terminal.h
eeadf5c2
RP
256tm-29k.h
257tm-3b1.h
370b66b6
JG
258tm-68k-noun.h
259tm-68k-un.h
dfc82617 260tm-68k.h
eeadf5c2 261tm-altos.h
6fccdaf4 262tm-amix.h
eeadf5c2
RP
263tm-arm.h
264tm-bigmips.h
265tm-convex.h
6373dbe3 266tm-delta88.h
ddce75e0 267tm-es1800.h
498f1df0 268tm-h8300.h
eeadf5c2
RP
269tm-hp300bsd.h
270tm-hp300hpux.h
1acf6627 271tm-hppa.h
3b0d8c28
JG
272tm-hppab.h
273tm-hppah.h
0e35d2f3 274tm-i386bsd.h
eeadf5c2 275tm-i386v.h
8c6e9f05 276tm-i386v4.h
eeadf5c2 277tm-i960.h
fda38666 278tm-irix3.h
eeadf5c2 279tm-isi.h
c19f73f1 280tm-linux.h
498f1df0 281tm-m88k.h
eeadf5c2
RP
282tm-merlin.h
283tm-mips.h
284tm-news.h
285tm-nindy960.h
286tm-np1.h
d5231b08 287tm-os68k.h
eeadf5c2
RP
288tm-pn.h
289tm-pyr.h
6373dbe3 290tm-rs6000.h
eeadf5c2 291tm-sparc.h
370b66b6
JG
292tm-spc-noun.h
293tm-spc-un.h
6c7e40b4 294tm-st2000.h
be9a2362 295tm-stratus.h
eeadf5c2
RP
296tm-sun2.h
297tm-sun2os4.h
298tm-sun3.h
299tm-sun386.h
300tm-sun3os4.h
301tm-sun4os4.h
5c044559 302tm-sun4sol2.h
eeadf5c2
RP
303tm-sunos.h
304tm-symmetry.h
b6d0f9b1 305tm-sysv4.h
eeadf5c2 306tm-tahoe.h
7621b324 307tm-ultra3.h
eeadf5c2
RP
308tm-umax.h
309tm-vax.h
310tm-vx68.h
311tm-vx960.h
2aedd91e 312tm-z8k.h
a8a69e63
FF
313typeprint.c
314typeprint.h
6bf98ac0 315ultra3-nat.c
1111151a 316ultra3-xdep.c
eeadf5c2
RP
317umax-xdep.c
318utils.c
319valarith.c
320valops.c
321valprint.c
a8a69e63 322valprint.h
eeadf5c2
RP
323value.h
324values.c
eeadf5c2
RP
325vax-pinsn.c
326vx-share
6373dbe3
JG
327xcoffexec.c
328xcoffread.c
1eeba686
PB
329xcoffsolib.c
330xcoffsolib.h
eeadf5c2 331xm-3b1.h
eeadf5c2 332xm-altos.h
6fccdaf4 333xm-amix.h
6c7e40b4 334xm-apollo68b.h
d5231b08 335xm-apollo68v.h
eeadf5c2
RP
336xm-arm.h
337xm-bigmips.h
338xm-convex.h
6373dbe3 339xm-delta88.h
ae0ea72e 340xm-go32.h
eeadf5c2
RP
341xm-hp300bsd.h
342xm-hp300hpux.h
3b0d8c28
JG
343xm-hppab.h
344xm-hppah.h
0e35d2f3 345xm-i386bsd.h
c888e9cf 346xm-i386mach.h
eeadf5c2
RP
347xm-i386sco.h
348xm-i386v.h
349xm-i386v32.h
ddce75e0 350xm-i386v4.h
fda38666 351xm-irix3.h
407a8389 352xm-irix4.h
eeadf5c2 353xm-isi.h
c19f73f1 354xm-linux.h
6fccdaf4 355xm-m68k.h
ae0ea72e 356xm-m88k.h
eeadf5c2
RP
357xm-merlin.h
358xm-mips.h
359xm-news.h
360xm-news1000.h
361xm-np1.h
362xm-pn.h
363xm-pyr.h
6373dbe3 364xm-rs6000.h
1111151a 365xm-rtbsd.h
eeadf5c2 366xm-sparc.h
be9a2362 367xm-stratus.h
eeadf5c2
RP
368xm-sun2.h
369xm-sun3.h
370xm-sun386.h
371xm-sun3os4.h
372xm-sun4os4.h
5c044559 373xm-sun4sol2.h
eeadf5c2 374xm-symmetry.h
b6d0f9b1 375xm-sysv4.h
eeadf5c2 376xm-tahoe.h
1111151a 377xm-ultra3.h
eeadf5c2
RP
378xm-umax.h
379xm-vax.h
88c52c29
SG
380xm-vaxbsd.h
381xm-vaxult.h
2aedd91e 382z8k-tdep.c
eeadf5c2
RP
383
384Do-last:
385
19cfe25d
FF
386echo Thawing away the \"chill\"...
387
388# Don't try to clean directories here, as the 'mv' command will fail.
389# Also, grep fails on NFS mounted directories.
390if ( echo $* | grep keep\-chill > /dev/null ) ; then
391 for i in * ; do
392 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
393 echo Keeping chill stuff in $i
394 fi
395 done
396else
397 for i in * ; do
398 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
399 echo Thawing the \"chill\" out of $i...
400 cp $i new
401 sed '/start\-sanitize\-chill/,/end-\sanitize\-chill/d' < $i > new
402 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
403 echo Caching $i in .Recover...
404 mv $i .Recover
405 fi
406 mv new $i
407 fi
408 done
409 echo Thawing the \"chill\" out of Makefile.in...
410 cp Makefile.in new
3825dfe8
FF
411 sed -e 's/$(srcdir)\/ch-exp.y//g' \
412 -e 's/${srcdir}\/ch-exp.y//g' \
19cfe25d
FF
413 -e 's/ch-exp.y//g' \
414 -e 's/ch-exp.tab.c//g' \
415 -e 's/ch-exp.tab.o//g' \
22e39759
FF
416 -e 's/ch-lang.h//g' \
417 -e 's/ch-lang.c//g' \
418 -e 's/ch-lang.o//g' \
a8a69e63
FF
419 -e 's/ch-typeprint.c//g' \
420 -e 's/ch-typeprint.o//g' \
421 -e 's/ch-valprint.c//g' \
422 -e 's/ch-valprint.o//g' \
0a06f1bc 423 < Makefile.in > new
19cfe25d
FF
424 if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then
425 echo Caching Makefile.in in .Recover...
426 mv Makefile.in .Recover
427 fi
428 mv new Makefile.in
429fi
430
eeadf5c2 431# End of file.
This page took 0.086859 seconds and 4 git commands to generate.