sparcly-nat.c is long gone
[binutils-gdb.git] / gdb / .Sanitize
1 # .Sanitize for devo/gdb.
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
16 Do-first:
17
18 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
19 keep_these_too="sp64-tdep.c"
20 else
21 lose_these_too="sp64-tdep.c"
22 fi
23
24 # All files listed between the "Things-to-keep:" line and the
25 # "Files-to-sed:" line will be kept. All other files will be removed.
26 # Directories listed in this section will have their own Sanitize
27 # called. Directories not listed will be removed in their entirety
28 # with rm -rf.
29
30 Things-to-keep:
31
32 .gdbinit
33 29k-share
34 COPYING
35 ChangeLog
36 ChangeLog-3.x
37 ChangeLog-9091
38 ChangeLog-92
39 ChangeLog-93
40 Makefile.in
41 NEWS
42 Projects
43 README
44 TODO
45 a29k-pinsn.c
46 a29k-tdep.c
47 a68v-nat.c
48 alpha-nat.c
49 alpha-tdep.c
50 altos-xdep.c
51 arm-convert.s
52 arm-pinsn.c
53 arm-tdep.c
54 arm-xdep.c
55 blockframe.c
56 breakpoint.c
57 breakpoint.h
58 buildsym.c
59 buildsym.h
60 c-exp.y
61 c-lang.c
62 c-lang.h
63 c-typeprint.c
64 c-valprint.c
65 call-cmds.h
66 ch-exp.y
67 ch-lang.c
68 ch-lang.h
69 ch-typeprint.c
70 ch-valprint.c
71 coff-solib.c
72 coff-solib.h
73 coffread.c
74 command.c
75 command.h
76 complaints.c
77 complaints.h
78 config
79 configure.in
80 convex-pinsn.c
81 convex-tdep.c
82 convex-xdep.c
83 copying.awk
84 copying.c
85 core-svr4.c
86 core.c
87 coredep.c
88 corelow.c
89 cp-valprint.c
90 dbxread.c
91 dcache.c
92 dcache.h
93 defs.h
94 delta68-nat.c
95 demangle.c
96 doc
97 dpx2-nat.c
98 dst.h
99 dstread.c
100 dwarfread.c
101 elfread.c
102 environ.c
103 environ.h
104 eval.c
105 exec.c
106 expprint.c
107 expression.h
108 findvar.c
109 fork-child.c
110 frame.h
111 gcc.patch
112 gdb-stabs.h
113 gdb.1
114 gdbcmd.h
115 gdbcore.h
116 gdbserver
117 gdbtypes.c
118 gdbtypes.h
119 go32-xdep.c
120 gould-pinsn.c
121 gould-xdep.c
122 h8300-tdep.c
123 h8500-tdep.c
124 hp300ux-nat.c
125 hppa-pinsn.c
126 hppa-tdep.c
127 hppab-nat.c
128 hppah-nat.c
129 i386-nlmstub.c
130 i386-pinsn.c
131 i386-stub.c
132 i386-tdep.c
133 i386aix-nat.c
134 i386b-nat.c
135 i386ly-tdep.c
136 i386m3-nat.c
137 i386mach-nat.c
138 i386v-nat.c
139 i386v4-nat.c
140 i387-tdep.c
141 i960-pinsn.c
142 i960-tdep.c
143 infcmd.c
144 inferior.h
145 inflow.c
146 infptrace.c
147 infrun.c
148 inftarg.c
149 irix4-nat.c
150 irix5-nat.c
151 isi-xdep.c
152 kdb-start.c
153 language.c
154 language.h
155 lynx-nat.c
156 m2-exp.y
157 m2-lang.c
158 m2-lang.h
159 m2-typeprint.c
160 m2-valprint.c
161 m3-nat.c
162 m68k-pinsn.c
163 m68k-stub.c
164 m68k-tdep.c
165 m88k-nat.c
166 m88k-pinsn.c
167 m88k-tdep.c
168 main.c
169 maint.c
170 mdebugread.c
171 mem-break.c
172 minimon.h
173 minsyms.c
174 mips-nat.c
175 mips-pinsn.c
176 mips-tdep.c
177 mipsm3-nat.c
178 mipsread.c
179 monitor.h
180 news-xdep.c
181 nindy-share
182 nindy-tdep.c
183 nlmread.c
184 ns32k-opcode.h
185 ns32k-pinsn.c
186 ns32km3-nat.c
187 objfiles.c
188 objfiles.h
189 osfsolib.c
190 paread.c
191 parse.c
192 parser-defs.h
193 partial-stab.h
194 printcmd.c
195 procfs.c
196 putenv.c
197 pyr-pinsn.c
198 pyr-tdep.c
199 pyr-xdep.c
200 regex.c
201 regex.h
202 rem-multi.shar
203 remote-adapt.c
204 remote-bug.c
205 remote-e7000.c
206 remote-eb.c
207 remote-es.c
208 remote-hms.c
209 remote-mips.c
210 remote-mm.c
211 remote-mon.c
212 remote-nindy.c
213 remote-sim.c
214 remote-sim.h
215 remote-st.c
216 remote-udi.c
217 remote-utils.c
218 remote-utils.h
219 remote-vx.c
220 remote-z8k.c
221 remote.c
222 rs6000-nat.c
223 rs6000-pinsn.c
224 rs6000-tdep.c
225 saber.suppress
226 ser-go32.c
227 ser-tcp.c
228 ser-unix.c
229 serial.c
230 serial.h
231 sh-tdep.c
232 signals.h
233 solib.c
234 solib.h
235 source.c
236 sparc-nat.c
237 sparc-pinsn.c
238 sparc-stub.c
239 sparc-tdep.c
240 sparclite
241 stabsread.c
242 stabsread.h
243 stack.c
244 standalone.c
245 stuff.c
246 sun3-nat.c
247 sun386-nat.c
248 symfile.c
249 symfile.h
250 symm-nat.c
251 symm-tdep.c
252 symmisc.c
253 symtab.c
254 symtab.h
255 tahoe-pinsn.c
256 target.c
257 target.h
258 terminal.h
259 testsuite
260 thread.c
261 thread.h
262 typeprint.c
263 typeprint.h
264 ultra3-nat.c
265 ultra3-xdep.c
266 umax-xdep.c
267 utils.c
268 valarith.c
269 valops.c
270 valprint.c
271 valprint.h
272 value.h
273 values.c
274 vax-pinsn.c
275 vx-share
276 xcoffexec.c
277 xcoffread.c
278 xcoffsolib.c
279 xcoffsolib.h
280 z8k-tdep.c
281
282
283 # Things which are explicitly *not* kept, for now.
284 # deblib/ - CVS won't let you blow away directories yet,
285 # so this is still around from when Stu checked
286 # it in, as part of Lucid support.
287 # energize - Part of Lucid support.
288 # energize-patches - Part of Lucid support.
289 # energize.c - Part of Lucid support.
290 # energize.h - Part of Lucid support.
291 # remote-sa.sparc.c - Remote target for a standalone SPARC, using
292 # the FORTH console ROMs. We never got the paperwork
293 # straight, since Sun's lawyers messed with the
294 # FSF contract and RMS didn't accept the changes.
295 # Written at SunLabs.
296 # state.c - Not used at the moment, keep for reference (fnf)
297 # state.h - Not used at the moment, keep for reference (fnf)
298 # tests - Old test programs for GDB, pre-gdbtest and pre-
299 # DejaGnu.
300
301 Things-to-lose:
302
303 deblib
304 energize
305 energize-patches
306 energize.c
307 energize.h
308 remote-sa.sparc.c
309 state.c
310 state.h
311 tests
312
313 Do-last:
314
315 echo Looking for signs of \"v9\"...
316
317 # Don't try to clean directories here, as the 'mv' command will fail.
318 # Also, grep fails on NFS mounted directories.
319 if ( echo $* | grep keep\-v9 > /dev/null ) ; then
320 for i in * ; do
321 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
322 echo Keeping v9 stuff in $i
323 fi
324 done
325 else
326 for i in * ; do
327 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
328 echo Cleaning the \"v9\" out of $i...
329 cp $i new
330 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
331 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
332 echo Caching $i in .Recover...
333 mv $i .Recover
334 fi
335 mv new $i
336 fi
337 done
338 fi
339
340 # End of file.