Initial arc-elf support.
[deliverable/binutils-gdb.git] / gdb / .Sanitize
CommitLineData
f4240b08 1# .Sanitize for devo/gdb.
eeadf5c2 2
d1bcda67 3# Each directory to survive its way into a release will need a file
eeadf5c2
RP
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
d1bcda67 14# done in this directory.
eeadf5c2
RP
15
16Do-first:
17
2ff6b38a 18mpw_files="mpw-config.in mpw-make.in ser-mac.c mac-xdep.c mac-defs.h macgdb.r mpw-init.c ChangeLog.mpw"
d1bcda67
SS
19
20if ( echo $* | grep keep\-mpw > /dev/null ) ; then
21 keep_these_too="${mpw_files} ${keep_these_too}"
22 if [ -n "${verbose}" ] ; then
23 echo Keeping ${mpw_files}
24 fi
25else
26 lose_these_too="${mpw_files} ${lose_these_too}"
27 if [ -n "${verbose}" ] ; then
28 echo Deleting ${mpw_files}
29 fi
30fi
31
eeadf5c2
RP
32# All files listed between the "Things-to-keep:" line and the
33# "Files-to-sed:" line will be kept. All other files will be removed.
34# Directories listed in this section will have their own Sanitize
35# called. Directories not listed will be removed in their entirety
36# with rm -rf.
37
38Things-to-keep:
39
40.gdbinit
a96c3444 4129k-share
eeadf5c2
RP
42COPYING
43ChangeLog
44ChangeLog-3.x
ee799e2a 45ChangeLog-9091
5debf76d 46ChangeLog-92
1ea8b1dc 47ChangeLog-93
bdf3621b 48Makefile.in
ddce75e0 49NEWS
eeadf5c2
RP
50README
51TODO
b4b0321b
FF
52a29k-pinsn.c
53a29k-tdep.c
203a8d54 54a68v-nat.c
cef4c2e7
PS
55alpha-nat.c
56alpha-tdep.c
203a8d54 57altos-xdep.c
1c95d7ab
JK
58annotate.c
59annotate.h
eeadf5c2 60arm-convert.s
eeadf5c2
RP
61arm-pinsn.c
62arm-tdep.c
63arm-xdep.c
64blockframe.c
65breakpoint.c
66breakpoint.h
2ce38c6d
JG
67buildsym.c
68buildsym.h
56d921a8 69c-exp.y
22e39759
FF
70c-lang.c
71c-lang.h
a8a69e63
FF
72c-typeprint.c
73c-valprint.c
be772100 74call-cmds.h
b1086bf5
FF
75ch-exp.y
76ch-lang.c
77ch-lang.h
78ch-typeprint.c
79ch-valprint.c
ead291d4
SG
80coff-solib.c
81coff-solib.h
eeadf5c2
RP
82coffread.c
83command.c
84command.h
51b80b00
FF
85complaints.c
86complaints.h
f187c3a4 87config
eeadf5c2
RP
88configure.in
89convex-pinsn.c
90convex-tdep.c
91convex-xdep.c
eeadf5c2
RP
92copying.awk
93copying.c
256533df 94core-sol2.c
203a8d54 95core-svr4.c
eeadf5c2
RP
96core.c
97coredep.c
dfc82617 98corelow.c
a8a69e63 99cp-valprint.c
670a8e09 100cxux-nat.c
eeadf5c2 101dbxread.c
755892d6
RP
102dcache.c
103dcache.h
eeadf5c2 104defs.h
be0ed5bb 105delta68-nat.c
2dbde378 106demangle.c
eeadf5c2 107doc
0a8f1742 108dpx2-nat.c
2d628281
JK
109dst.h
110dstread.c
6fccdaf4
FF
111dwarfread.c
112elfread.c
eeadf5c2
RP
113environ.c
114environ.h
115eval.c
116exec.c
117expprint.c
eeadf5c2 118expression.h
042bb079
SS
119f-exp.y
120f-lang.c
121f-lang.h
122f-typeprint.c
123f-valprint.c
eeadf5c2 124findvar.c
e745abe5 125fork-child.c
eeadf5c2 126frame.h
5c5b5d4b 127gcc.patch
ed7c0948 128gdb-stabs.h
0857b46a 129gdb.1
dec525ce 130gdba.el
eeadf5c2
RP
131gdbcmd.h
132gdbcore.h
463a71db 133gdbserver
8cb35771
SG
134gdbtk.c
135gdbtk.tcl
a1f596f4
FF
136gdbtypes.c
137gdbtypes.h
ae0ea72e 138go32-xdep.c
eeadf5c2
RP
139gould-pinsn.c
140gould-xdep.c
0a8ed751 141h8300-tdep.c
5cd0940a 142h8500-tdep.c
b1de302a 143hp300ux-nat.c
76b731f9 144hppa-pinsn.c
66a1aa07 145hppa-tdep.c
ca048722 146hppab-nat.c
ca048722 147hppah-nat.c
2848f793 148hpread.c
eeadf5c2
RP
149i386-pinsn.c
150i386-stub.c
151i386-tdep.c
2c7ab4ca 152i386aix-nat.c
0e35d2f3 153i386b-nat.c
c458501e 154i386ly-tdep.c
c2d751d5 155i386m3-nat.c
a113beac 156i386mach-nat.c
c7c94073 157i386v-nat.c
4d0eabff 158i386v4-nat.c
56d921a8 159i387-tdep.c
eeadf5c2
RP
160i960-pinsn.c
161i960-tdep.c
eeadf5c2
RP
162infcmd.c
163inferior.h
164inflow.c
165infptrace.c
166infrun.c
eeadf5c2 167inftarg.c
a70dc898 168irix4-nat.c
a2f1e2e5 169irix5-nat.c
4aadcb02 170isi-xdep.c
eeadf5c2 171kdb-start.c
56d921a8
JG
172language.c
173language.h
069e0566 174lynx-nat.c
56d921a8 175m2-exp.y
22e39759
FF
176m2-lang.c
177m2-lang.h
a8a69e63
FF
178m2-typeprint.c
179m2-valprint.c
c2d751d5 180m3-nat.c
eeadf5c2
RP
181m68k-pinsn.c
182m68k-stub.c
183m68k-tdep.c
173a4f1b 184m88k-nat.c
eeadf5c2
RP
185m88k-pinsn.c
186m88k-tdep.c
eeadf5c2 187main.c
0239d9b3 188maint.c
a2f1e2e5 189mdebugread.c
eeadf5c2 190mem-break.c
1111151a 191minimon.h
a1f596f4 192minsyms.c
a70dc898 193mips-nat.c
eeadf5c2
RP
194mips-pinsn.c
195mips-tdep.c
c2d751d5 196mipsm3-nat.c
2fe3b329 197mipsv4-nat.c
eeadf5c2 198mipsread.c
2f1c04d1 199monitor.h
25ca0dfc 200monitor.c
eeadf5c2
RP
201news-xdep.c
202nindy-share
203nindy-tdep.c
bbc34049 204nlm
db85f523 205nlmread.c
8c875c1c 206nlmstub.def
eeadf5c2 207ns32k-pinsn.c
c2d751d5 208ns32km3-nat.c
a1f596f4 209objfiles.c
5e2e79f8 210objfiles.h
25ca0dfc 211op50-rom.c
25200748 212os9kread.c
cef4c2e7 213osfsolib.c
56d921a8
JG
214parse.c
215parser-defs.h
7e258d18 216partial-stab.h
eeadf5c2 217printcmd.c
6fccdaf4 218procfs.c
c6889f63 219ptx4-nat.c
eeadf5c2
RP
220pyr-pinsn.c
221pyr-tdep.c
222pyr-xdep.c
223regex.c
224regex.h
225rem-multi.shar
1111151a 226remote-adapt.c
203a8d54 227remote-bug.c
a0b28275 228remote-e7000.c
eeadf5c2 229remote-eb.c
91c87211 230remote-es.c
d93b79d9 231remote-hms.c
c2a0f1cb 232remote-mips.c
1111151a 233remote-mm.c
eeadf5c2 234remote-nindy.c
25200748 235remote-os9k.c
399290be 236remote-pa.c
ec25d19b 237remote-sim.c
40b92220 238remote-sim.h
91c87211 239remote-st.c
e4dd52dd 240remote-udi.c
3283eab3
JK
241remote-utils.c
242remote-utils.h
eeadf5c2 243remote-vx.c
2aedd91e 244remote-z8k.c
eeadf5c2 245remote.c
dc48694c 246rs6000-nat.c
6373dbe3
JG
247rs6000-pinsn.c
248rs6000-tdep.c
fb9f8033 249rom68k-rom.c
eeadf5c2 250saber.suppress
55679787 251ser-e7kpc.c
ddce75e0 252ser-go32.c
4d551aa3 253ser-tcp.c
e8a5f0ed
SG
254ser-unix.c
255serial.c
ddce75e0 256serial.h
9faacb92 257sh-tdep.c
eeadf5c2 258signals.h
eeadf5c2 259solib.c
a1f596f4 260solib.h
bfe2f12b 261somread.c
bb140953
JL
262somsolib.c
263somsolib.h
eeadf5c2 264source.c
8c16485e 265sp64-tdep.c
dfc82617 266sparc-nat.c
eeadf5c2 267sparc-pinsn.c
c9715956 268sparc-stub.c
eeadf5c2 269sparc-tdep.c
2b14c195
KH
270sparcl-stub.c
271sparcl-tdep.c
a96c3444 272sparclite
d07734e3
FF
273stabsread.c
274stabsread.h
eeadf5c2
RP
275stack.c
276standalone.c
1e6f592d 277stop-gdb.c
eeadf5c2 278stuff.c
dc48694c 279sun3-nat.c
61bbb1c2 280sun386-nat.c
eeadf5c2
RP
281symfile.c
282symfile.h
d39d83c1 283symm-nat.c
203a8d54 284symm-tdep.c
eeadf5c2
RP
285symmisc.c
286symtab.c
287symtab.h
eeadf5c2
RP
288tahoe-pinsn.c
289target.c
290target.h
eeadf5c2 291terminal.h
a2df03aa 292testsuite
6a21c756
SG
293thread.c
294thread.h
172559ec
JK
295top.c
296top.h
a8a69e63
FF
297typeprint.c
298typeprint.h
6bf98ac0 299ultra3-nat.c
1111151a 300ultra3-xdep.c
eeadf5c2
RP
301umax-xdep.c
302utils.c
303valarith.c
304valops.c
305valprint.c
a8a69e63 306valprint.h
eeadf5c2
RP
307value.h
308values.c
eeadf5c2
RP
309vax-pinsn.c
310vx-share
25ca0dfc 311w89k-rom.c
6373dbe3 312xcoffread.c
1eeba686
PB
313xcoffsolib.c
314xcoffsolib.h
2aedd91e 315z8k-tdep.c
eeadf5c2 316
87756e15 317
f747d259 318# Things which are explicitly *not* kept, for now.
743b663c
FF
319# energize - Part of Lucid support.
320# energize-patches - Part of Lucid support.
321# energize.c - Part of Lucid support.
322# energize.h - Part of Lucid support.
2b577349
JG
323# remote-sa.sparc.c - Remote target for a standalone SPARC, using
324# the FORTH console ROMs. We never got the paperwork
325# straight, since Sun's lawyers messed with the
326# FSF contract and RMS didn't accept the changes.
327# Written at SunLabs.
743b663c
FF
328# state.c - Not used at the moment, keep for reference (fnf)
329# state.h - Not used at the moment, keep for reference (fnf)
f747d259 330
87756e15
RP
331Things-to-lose:
332
87756e15
RP
333energize
334energize-patches
335energize.c
336energize.h
87756e15
RP
337remote-sa.sparc.c
338state.c
339state.h
87756e15 340
eeadf5c2
RP
341Do-last:
342
d1bcda67
SS
343echo Removing traces of \"mpw\"...
344
345# Don't try to clean directories here, as the 'mv' command will fail.
346# Also, grep fails on NFS mounted directories.
347if ( echo $* | grep keep\-mpw > /dev/null ) ; then
348 for i in * ; do
349 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
350 echo Keeping mpw stuff in $i
351 fi
352 done
353else
354 for i in * ; do
355 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
356 echo Removing traces of \"mpw\" out of $i...
357 cp $i new
358 sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/d' < $i > new
359 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
360 echo Caching $i in .Recover...
361 mv $i .Recover
362 fi
363 mv new $i
364 fi
365 done
366fi
367
03c4ce2f
MT
368r16_files = "configure.in"
369
370if ( echo $* | grep keep\-r16 > /dev/null ) ; then
371 for i in $r16_files ; do
372 if test ! -d $i && (grep sanitize-r16 $i > /dev/null) ; then
373 if [ -n "${verbose}" ] ; then
374 echo Keeping r16 stuff in $i
375 fi
376 fi
377 done
378else
379 for i in $r16_files ; do
380 if test ! -d $i && (grep sanitize-r16 $i > /dev/null) ; then
381 if [ -n "${verbose}" ] ; then
382 echo Removing traces of \"r16\" from $i...
383 fi
384 cp $i new
385 sed '/start\-sanitize\-r16/,/end-\sanitize\-r16/d' < $i > new
386 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
387 if [ -n "${verbose}" ] ; then
388 echo Caching $i in .Recover...
389 fi
390 mv $i .Recover
391 fi
392 mv new $i
393 fi
394 done
395fi
396
397for i in * ; do
398 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
399 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
400 fi
401done
402
403#
eeadf5c2 404# End of file.
This page took 0.260457 seconds and 4 git commands to generate.