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