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