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