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