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