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