Add elf64-sparc.c to lose_these_too if it is not added to keep_these_too.
[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
cb747ec5 18if ( echo $* | grep keep\-v9 > /dev/null ) ; then
40b92220 19 keep_these_too="sp64-tdep.c"
cb747ec5
DE
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
5debf76d 36ChangeLog-92
bdf3621b 37Makefile.in
ddce75e0 38NEWS
eeadf5c2
RP
39Projects
40README
41TODO
b4b0321b
FF
42a29k-pinsn.c
43a29k-tdep.c
203a8d54 44a68v-nat.c
cef4c2e7
PS
45alpha-nat.c
46alpha-tdep.c
203a8d54 47altos-xdep.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
b1086bf5
FF
63ch-exp.y
64ch-lang.c
65ch-lang.h
66ch-typeprint.c
67ch-valprint.c
ead291d4
SG
68coff-solib.c
69coff-solib.h
eeadf5c2
RP
70coffread.c
71command.c
72command.h
51b80b00
FF
73complaints.c
74complaints.h
f187c3a4 75config
eeadf5c2
RP
76configure.in
77convex-pinsn.c
78convex-tdep.c
79convex-xdep.c
eeadf5c2
RP
80copying.awk
81copying.c
203a8d54 82core-svr4.c
eeadf5c2
RP
83core.c
84coredep.c
dfc82617 85corelow.c
a8a69e63 86cp-valprint.c
eeadf5c2 87dbxread.c
755892d6
RP
88dcache.c
89dcache.h
eeadf5c2 90defs.h
be0ed5bb 91delta68-nat.c
2dbde378 92demangle.c
eeadf5c2 93doc
0a8f1742 94dpx2-nat.c
6fccdaf4
FF
95dwarfread.c
96elfread.c
eeadf5c2
RP
97environ.c
98environ.h
99eval.c
100exec.c
101expprint.c
eeadf5c2
RP
102expression.h
103findvar.c
e745abe5 104fork-child.c
eeadf5c2 105frame.h
5c5b5d4b 106gcc.patch
ed7c0948 107gdb-stabs.h
0857b46a 108gdb.1
eeadf5c2
RP
109gdbcmd.h
110gdbcore.h
463a71db 111gdbserver
a1f596f4
FF
112gdbtypes.c
113gdbtypes.h
ae0ea72e 114go32-xdep.c
eeadf5c2
RP
115gould-pinsn.c
116gould-xdep.c
0a8ed751 117h8300-tdep.c
5cd0940a 118h8500-tdep.c
b1de302a 119hp300ux-nat.c
76b731f9 120hppa-pinsn.c
66a1aa07 121hppa-tdep.c
ca048722 122hppab-nat.c
ca048722 123hppah-nat.c
ef0faeb6 124i386-nlmstub.c
eeadf5c2
RP
125i386-pinsn.c
126i386-stub.c
127i386-tdep.c
2c7ab4ca 128i386aix-nat.c
0e35d2f3 129i386b-nat.c
c458501e 130i386ly-tdep.c
0bea8fb1 131i386lynx-nat.c
c2d751d5 132i386m3-nat.c
a113beac 133i386mach-nat.c
c7c94073 134i386v-nat.c
4d0eabff 135i386v4-nat.c
56d921a8 136i387-tdep.c
eeadf5c2
RP
137i960-pinsn.c
138i960-tdep.c
eeadf5c2
RP
139infcmd.c
140inferior.h
141inflow.c
142infptrace.c
143infrun.c
eeadf5c2 144inftarg.c
a70dc898 145irix4-nat.c
4aadcb02 146isi-xdep.c
eeadf5c2 147kdb-start.c
56d921a8
JG
148language.c
149language.h
150m2-exp.y
22e39759
FF
151m2-lang.c
152m2-lang.h
a8a69e63
FF
153m2-typeprint.c
154m2-valprint.c
c2d751d5 155m3-nat.c
eeadf5c2
RP
156m68k-pinsn.c
157m68k-stub.c
158m68k-tdep.c
173a4f1b 159m88k-nat.c
eeadf5c2
RP
160m88k-pinsn.c
161m88k-tdep.c
eeadf5c2 162main.c
0239d9b3 163maint.c
eeadf5c2 164mem-break.c
1111151a 165minimon.h
a1f596f4 166minsyms.c
a70dc898 167mips-nat.c
eeadf5c2
RP
168mips-pinsn.c
169mips-tdep.c
c2d751d5 170mipsm3-nat.c
eeadf5c2 171mipsread.c
2f1c04d1 172monitor.h
eeadf5c2
RP
173munch
174news-xdep.c
175nindy-share
176nindy-tdep.c
db85f523 177nlmread.c
eeadf5c2
RP
178ns32k-opcode.h
179ns32k-pinsn.c
c2d751d5 180ns32km3-nat.c
a1f596f4 181objfiles.c
5e2e79f8 182objfiles.h
cef4c2e7 183osfsolib.c
e4dd52dd 184paread.c
56d921a8
JG
185parse.c
186parser-defs.h
7e258d18 187partial-stab.h
eeadf5c2 188printcmd.c
6fccdaf4 189procfs.c
eeadf5c2 190putenv.c
eeadf5c2
RP
191pyr-pinsn.c
192pyr-tdep.c
193pyr-xdep.c
194regex.c
195regex.h
196rem-multi.shar
1111151a 197remote-adapt.c
203a8d54 198remote-bug.c
eeadf5c2 199remote-eb.c
91c87211 200remote-es.c
d93b79d9 201remote-hms.c
c2a0f1cb 202remote-mips.c
1111151a 203remote-mm.c
c033ec17 204remote-mon.c
eeadf5c2 205remote-nindy.c
ec25d19b 206remote-sim.c
40b92220 207remote-sim.h
91c87211 208remote-st.c
e4dd52dd 209remote-udi.c
3283eab3
JK
210remote-utils.c
211remote-utils.h
eeadf5c2 212remote-vx.c
2aedd91e 213remote-z8k.c
eeadf5c2 214remote.c
dc48694c 215rs6000-nat.c
6373dbe3
JG
216rs6000-pinsn.c
217rs6000-tdep.c
eeadf5c2 218saber.suppress
ddce75e0 219ser-go32.c
4d551aa3 220ser-tcp.c
e8a5f0ed
SG
221ser-unix.c
222serial.c
ddce75e0 223serial.h
9faacb92 224sh-tdep.c
eeadf5c2 225signals.h
eeadf5c2 226solib.c
a1f596f4 227solib.h
eeadf5c2 228source.c
dfc82617 229sparc-nat.c
eeadf5c2 230sparc-pinsn.c
c9715956 231sparc-stub.c
eeadf5c2 232sparc-tdep.c
a96c3444 233sparclite
d07734e3
FF
234stabsread.c
235stabsread.h
eeadf5c2
RP
236stack.c
237standalone.c
eeadf5c2 238stuff.c
dc48694c 239sun3-nat.c
61bbb1c2 240sun386-nat.c
eeadf5c2
RP
241symfile.c
242symfile.h
d39d83c1 243symm-nat.c
203a8d54 244symm-tdep.c
eeadf5c2
RP
245symmisc.c
246symtab.c
247symtab.h
eeadf5c2
RP
248tahoe-pinsn.c
249target.c
250target.h
eeadf5c2 251terminal.h
a2df03aa 252testsuite
6a21c756
SG
253thread.c
254thread.h
a8a69e63
FF
255typeprint.c
256typeprint.h
6bf98ac0 257ultra3-nat.c
1111151a 258ultra3-xdep.c
eeadf5c2
RP
259umax-xdep.c
260utils.c
261valarith.c
262valops.c
263valprint.c
a8a69e63 264valprint.h
eeadf5c2
RP
265value.h
266values.c
eeadf5c2
RP
267vax-pinsn.c
268vx-share
6373dbe3
JG
269xcoffexec.c
270xcoffread.c
1eeba686
PB
271xcoffsolib.c
272xcoffsolib.h
2aedd91e 273z8k-tdep.c
eeadf5c2 274
87756e15 275
f747d259 276# Things which are explicitly *not* kept, for now.
2b577349
JG
277# deblib/ - CVS won't let you blow away directories yet,
278# so this is still around from when Stu checked
279# it in, as part of Lucid support.
743b663c
FF
280# energize - Part of Lucid support.
281# energize-patches - Part of Lucid support.
282# energize.c - Part of Lucid support.
283# energize.h - Part of Lucid support.
2b577349
JG
284# infrun.hacked.c - An old version of infrun.c that had some
285# wait_for_inferior improvements by gnu,
286# which were never fully debugged.
287# remote-sa.sparc.c - Remote target for a standalone SPARC, using
288# the FORTH console ROMs. We never got the paperwork
289# straight, since Sun's lawyers messed with the
290# FSF contract and RMS didn't accept the changes.
291# Written at SunLabs.
743b663c
FF
292# state.c - Not used at the moment, keep for reference (fnf)
293# state.h - Not used at the moment, keep for reference (fnf)
2b577349
JG
294# tests - Old test programs for GDB, pre-gdbtest and pre-
295# DejaGnu.
f747d259 296
87756e15
RP
297Things-to-lose:
298
299deblib
300energize
301energize-patches
302energize.c
303energize.h
304infrun.hacked.c
305remote-sa.sparc.c
306state.c
307state.h
308tests
309
eeadf5c2
RP
310Do-last:
311
85b9835f
DE
312echo Looking for signs of \"v9\"...
313
314# Don't try to clean directories here, as the 'mv' command will fail.
315# Also, grep fails on NFS mounted directories.
316if ( echo $* | grep keep\-v9 > /dev/null ) ; then
317 for i in * ; do
318 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
319 echo Keeping v9 stuff in $i
320 fi
321 done
322else
323 for i in * ; do
324 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
325 echo Cleaning the \"v9\" out of $i...
326 cp $i new
327 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
328 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
329 echo Caching $i in .Recover...
330 mv $i .Recover
331 fi
332 mv new $i
333 fi
334 done
335fi
336
eeadf5c2 337# End of file.
This page took 0.135314 seconds and 4 git commands to generate.