* sparclite/aload.c: Add copyleft.
[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
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
b1de302a
RP
164nm-hp300bsd.h
165nm-hp300hpux.h
ca048722
RP
166nm-hppab.h
167nm-hppah.h
f4cc0e9b 168nm-i386bsd.h
a113beac 169nm-i386mach.h
e536c999 170nm-i386sco.h
c7c94073 171nm-i386v.h
4d0eabff 172nm-i386v4.h
703bdc5b 173nm-irix3.h
a70dc898 174nm-irix4.h
e24cb83d 175nm-linux.h
173a4f1b 176nm-m88k.h
a70dc898 177nm-mips.h
75365589 178nm-news.h
dc48694c 179nm-rs6000.h
56e89422 180nm-sun2.h
dc48694c 181nm-sun3.h
61bbb1c2 182nm-sun386.h
dfc82617 183nm-sun4os4.h
99ef5653 184nm-sysv4.h
dfc82617 185nm-trash.h
6bf98ac0 186nm-ultra3.h
3fcb9021 187nm-umax.h
7aae0974 188nm-vax.h
eeadf5c2
RP
189ns32k-opcode.h
190ns32k-pinsn.c
a1f596f4 191objfiles.c
5e2e79f8 192objfiles.h
d5231b08 193os68k-xdep.c
e4dd52dd 194paread.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
ec25d19b 213remote-sim.c
6c7e40b4 214remote-st2000.c
e4dd52dd 215remote-udi.c
eeadf5c2 216remote-vx.c
2aedd91e 217remote-z8k.c
eeadf5c2 218remote.c
dc48694c 219rs6000-nat.c
6373dbe3
JG
220rs6000-pinsn.c
221rs6000-tdep.c
eeadf5c2 222saber.suppress
6c7e40b4 223ser-bsd.c
ddce75e0
DHW
224ser-go32.c
225ser-termios.c
226serial.h
eeadf5c2 227signals.h
eeadf5c2 228solib.c
a1f596f4 229solib.h
eeadf5c2 230source.c
dfc82617 231sparc-nat.c
eeadf5c2 232sparc-pinsn.c
c9715956 233sparc-stub.c
eeadf5c2 234sparc-tdep.c
a96c3444 235sparclite
d07734e3
FF
236stabsread.c
237stabsread.h
eeadf5c2
RP
238stack.c
239standalone.c
eeadf5c2 240stuff.c
dc48694c 241sun3-nat.c
61bbb1c2 242sun386-nat.c
eeadf5c2
RP
243symfile.c
244symfile.h
245symm-tdep.c
246symm-xdep.c
247symmisc.c
248symtab.c
249symtab.h
eeadf5c2
RP
250tahoe-pinsn.c
251target.c
252target.h
eeadf5c2 253terminal.h
eeadf5c2
RP
254tm-29k.h
255tm-3b1.h
370b66b6
JG
256tm-68k-noun.h
257tm-68k-un.h
dfc82617 258tm-68k.h
eeadf5c2 259tm-altos.h
6fccdaf4 260tm-amix.h
eeadf5c2
RP
261tm-arm.h
262tm-bigmips.h
263tm-convex.h
6373dbe3 264tm-delta88.h
ddce75e0 265tm-es1800.h
498f1df0 266tm-h8300.h
eeadf5c2
RP
267tm-hp300bsd.h
268tm-hp300hpux.h
1acf6627 269tm-hppa.h
3b0d8c28
JG
270tm-hppab.h
271tm-hppah.h
0e35d2f3 272tm-i386bsd.h
eeadf5c2 273tm-i386v.h
8c6e9f05 274tm-i386v4.h
eeadf5c2 275tm-i960.h
fda38666 276tm-irix3.h
eeadf5c2 277tm-isi.h
c19f73f1 278tm-linux.h
498f1df0 279tm-m88k.h
eeadf5c2
RP
280tm-merlin.h
281tm-mips.h
282tm-news.h
283tm-nindy960.h
284tm-np1.h
d5231b08 285tm-os68k.h
eeadf5c2
RP
286tm-pn.h
287tm-pyr.h
6373dbe3 288tm-rs6000.h
eeadf5c2 289tm-sparc.h
370b66b6
JG
290tm-spc-noun.h
291tm-spc-un.h
6c7e40b4 292tm-st2000.h
be9a2362 293tm-stratus.h
eeadf5c2
RP
294tm-sun2.h
295tm-sun2os4.h
296tm-sun3.h
297tm-sun386.h
298tm-sun3os4.h
299tm-sun4os4.h
5c044559 300tm-sun4sol2.h
eeadf5c2
RP
301tm-sunos.h
302tm-symmetry.h
b6d0f9b1 303tm-sysv4.h
eeadf5c2 304tm-tahoe.h
7621b324 305tm-ultra3.h
eeadf5c2
RP
306tm-umax.h
307tm-vax.h
308tm-vx68.h
309tm-vx960.h
2aedd91e 310tm-z8k.h
a8a69e63
FF
311typeprint.c
312typeprint.h
6bf98ac0 313ultra3-nat.c
1111151a 314ultra3-xdep.c
eeadf5c2
RP
315umax-xdep.c
316utils.c
317valarith.c
318valops.c
319valprint.c
a8a69e63 320valprint.h
eeadf5c2
RP
321value.h
322values.c
eeadf5c2
RP
323vax-pinsn.c
324vx-share
6373dbe3
JG
325xcoffexec.c
326xcoffread.c
1eeba686
PB
327xcoffsolib.c
328xcoffsolib.h
eeadf5c2 329xm-3b1.h
eeadf5c2 330xm-altos.h
6fccdaf4 331xm-amix.h
6c7e40b4 332xm-apollo68b.h
d5231b08 333xm-apollo68v.h
eeadf5c2
RP
334xm-arm.h
335xm-bigmips.h
336xm-convex.h
6373dbe3 337xm-delta88.h
ae0ea72e 338xm-go32.h
eeadf5c2
RP
339xm-hp300bsd.h
340xm-hp300hpux.h
3b0d8c28
JG
341xm-hppab.h
342xm-hppah.h
0e35d2f3 343xm-i386bsd.h
c888e9cf 344xm-i386mach.h
eeadf5c2
RP
345xm-i386sco.h
346xm-i386v.h
347xm-i386v32.h
ddce75e0 348xm-i386v4.h
fda38666 349xm-irix3.h
407a8389 350xm-irix4.h
eeadf5c2 351xm-isi.h
c19f73f1 352xm-linux.h
6fccdaf4 353xm-m68k.h
ae0ea72e 354xm-m88k.h
eeadf5c2
RP
355xm-merlin.h
356xm-mips.h
357xm-news.h
358xm-news1000.h
359xm-np1.h
360xm-pn.h
361xm-pyr.h
6373dbe3 362xm-rs6000.h
1111151a 363xm-rtbsd.h
eeadf5c2 364xm-sparc.h
be9a2362 365xm-stratus.h
eeadf5c2
RP
366xm-sun2.h
367xm-sun3.h
368xm-sun386.h
369xm-sun3os4.h
370xm-sun4os4.h
5c044559 371xm-sun4sol2.h
eeadf5c2 372xm-symmetry.h
b6d0f9b1 373xm-sysv4.h
eeadf5c2 374xm-tahoe.h
1111151a 375xm-ultra3.h
eeadf5c2
RP
376xm-umax.h
377xm-vax.h
88c52c29
SG
378xm-vaxbsd.h
379xm-vaxult.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.087365 seconds and 4 git commands to generate.