* alpha-tdep.c (heuristic_proc_desc): Increase search limit
[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 gdbtk_files="README.GDBTK gdbtk.c gdbtcl gdbtk.tcl"
33
34 if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
35 lose_these_too="${gdbtk_files} ${lose_these_too}"
36 if [ -n "${verbose}" ] ; then
37 echo Deleting ${gdbtk_files}
38 fi
39 else
40 keep_these_too="${gdbtk_files} ${keep_these_too}"
41 if [ -n "${verbose}" ] ; then
42 echo Keeping ${gdbtk_files}
43 fi
44 fi
45
46 # WinGDB files are not really ready to be part of FSF releases, but
47 # keep them for progressives and such.
48
49 mswin_files="mswin"
50
51 if ( echo $* | grep lose\-mswin > /dev/null ) ; then
52 lose_these_too="${mswin_files} ${lose_these_too}"
53 if [ -n "${verbose}" ] ; then
54 echo Deleting ${mswin_files}
55 fi
56 else
57 keep_these_too="${mswin_files} ${keep_these_too}"
58 if [ -n "${verbose}" ] ; then
59 echo Keeping ${mswin_files}
60 fi
61 fi
62
63 gm_files="gmagic.c gmagic.h"
64
65 if ( echo $* | grep keep\-gm > /dev/null ) ; then
66 keep_these_too="${gm_files} ${keep_these_too}"
67 if [ -n "${verbose}" ] ; then
68 echo Keeping ${gm_files}
69 fi
70 else
71 lose_these_too="${gm_files} ${lose_these_too}"
72 if [ -n "${verbose}" ] ; then
73 echo Deleting ${gm_files}
74 fi
75 fi
76
77 tic80_files="tic80-tdep.c"
78
79 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
80 keep_these_too="${tic80_files} ${keep_these_too}"
81 if [ -n "${verbose}" ] ; then
82 echo Keeping ${tic80_files}
83 fi
84 else
85 lose_these_too="${tic80_files} ${lose_these_too}"
86 if [ -n "${verbose}" ] ; then
87 echo Deleting ${tic80_files}
88 fi
89 fi
90
91 v850_files="v850ice.c v850-tdep.c"
92
93 if ( echo $* | grep keep\-v850 > /dev/null ) ; then
94 keep_these_too="${v850_files} ${keep_these_too}"
95 if [ -n "${verbose}" ] ; then
96 echo Keeping ${v850_files}
97 fi
98 else
99 lose_these_too="${v850_files} ${lose_these_too}"
100 if [ -n "${verbose}" ] ; then
101 echo Deleting ${v850_files}
102 fi
103 fi
104
105 # All files listed between the "Things-to-keep:" line and the
106 # "Files-to-sed:" line will be kept. All other files will be removed.
107 # Directories listed in this section will have their own Sanitize
108 # called. Directories not listed will be removed in their entirety
109 # with rm -rf.
110
111 Things-to-keep:
112
113 29k-share
114 COPYING
115 ChangeLog
116 ChangeLog-3.x
117 ChangeLog-9091
118 ChangeLog-92
119 ChangeLog-93
120 ChangeLog-94
121 ChangeLog-95
122 ChangeLog-96
123 Makefile.in
124 NEWS
125 README
126 TODO
127 a29k-tdep.c
128 a68v-nat.c
129 abug-rom.c
130 aclocal.m4
131 acconfig.h
132 alpha-nat.c
133 alpha-tdep.c
134 altos-xdep.c
135 annotate.c
136 annotate.h
137 arm-convert.s
138 arm-tdep.c
139 arm-xdep.c
140 bcache.c
141 bcache.h
142 blockframe.c
143 breakpoint.c
144 breakpoint.h
145 buildsym.c
146 buildsym.h
147 c-exp.y
148 c-lang.c
149 c-lang.h
150 c-typeprint.c
151 c-valprint.c
152 call-cmds.h
153 ch-exp.c
154 ch-lang.c
155 ch-lang.h
156 ch-typeprint.c
157 ch-valprint.c
158 coff-solib.c
159 coff-solib.h
160 coffread.c
161 command.c
162 command.h
163 complaints.c
164 complaints.h
165 config
166 config.in
167 configure
168 configure.host
169 configure.in
170 configure.tgt
171 convex-tdep.c
172 convex-xdep.c
173 copying.awk
174 copying.c
175 core-aout.c
176 core-regset.c
177 core-sol2.c
178 corefile.c
179 corelow.c
180 cp-valprint.c
181 cpu32bug-rom.c
182 cxux-nat.c
183 d10v-tdep.c
184 dbug-rom.c
185 dbxread.c
186 dcache.c
187 dcache.h
188 debugify.h
189 debugify.c
190 defs.h
191 delta68-nat.c
192 demangle.c
193 doc
194 dpx2-nat.c
195 dsrec.c
196 dst.h
197 dstread.c
198 dwarf2read.c
199 dwarfread.c
200 elfread.c
201 environ.c
202 environ.h
203 eval.c
204 exec.c
205 exc_request.defs
206 expprint.c
207 expression.h
208 f-exp.y
209 f-lang.c
210 f-lang.h
211 f-typeprint.c
212 f-valprint.c
213 findvar.c
214 fork-child.c
215 frame.h
216 gdb_stat.h
217 gdb_string.h
218 gdb-stabs.h
219 gdb.1
220 gdb.gdb
221 gdba.el
222 gdbcmd.h
223 gdbcore.h
224 gdbinit.in
225 gdbserver
226 gdbthread.h
227 gdbtypes.c
228 gdbtypes.h
229 gnu-nat.c
230 gnu-nat.h
231 gnu-regex.c
232 gnu-regex.h
233 go32-xdep.c
234 gould-tdep.c
235 gould-xdep.c
236 h8300-tdep.c
237 h8500-tdep.c
238 hp300ux-nat.c
239 hppa-tdep.c
240 hppab-nat.c
241 hppah-nat.c
242 hppam3-nat.c
243 hpread.c
244 hpux-thread.c
245 i386-stub.c
246 i386-tdep.c
247 i386aix-nat.c
248 i386b-nat.c
249 i386gnu-nat.c
250 i386ly-tdep.c
251 i386m3-nat.c
252 i386mach-nat.c
253 i386v-nat.c
254 i386v4-nat.c
255 i387-tdep.c
256 i960-tdep.c
257 infcmd.c
258 inferior.h
259 inflow.c
260 infptrace.c
261 infrun.c
262 inftarg.c
263 irix4-nat.c
264 irix5-nat.c
265 isi-xdep.c
266 java-exp.y
267 java-lang.c
268 java-lang.h
269 java-valprint.c
270 kdb-start.c
271 language.c
272 language.h
273 lynx-nat.c
274 m2-exp.y
275 m2-lang.c
276 m2-lang.h
277 m2-typeprint.c
278 m2-valprint.c
279 m3-nat.c
280 m32r-rom.c
281 m32r-stub.c
282 m32r-tdep.c
283 m68k-stub.c
284 m68k-tdep.c
285 m68knbsd-nat.c
286 m88k-nat.c
287 m88k-tdep.c
288 mac-defs.h
289 mac-xdep.c
290 mac-gdb.r
291 mac-nat.c
292 main.c
293 maint.c
294 mdebugread.c
295 mem-break.c
296 minimon.h
297 minsyms.c
298 mips-nat.c
299 mips-tdep.c
300 mipsm3-nat.c
301 mipsv4-nat.c
302 mipsread.c
303 mn10200-tdep.c
304 mn10300-tdep.c
305 mon960-rom.c
306 monitor.h
307 monitor.c
308 mpw-config.in
309 mpw-make.sed
310 msg.defs
311 msg_reply.defs
312 news-xdep.c
313 nindy-share
314 nindy-tdep.c
315 nlm
316 nlmread.c
317 notify.defs
318 ns32k-tdep.c
319 ns32km3-nat.c
320 objfiles.c
321 objfiles.h
322 op50-rom.c
323 os9kread.c
324 osf-share
325 osfsolib.c
326 parse.c
327 parser-defs.h
328 partial-stab.h
329 ppcbug-rom.c
330 printcmd.c
331 process_reply.defs
332 procfs.c
333 ptx4-nat.c
334 pyr-tdep.c
335 pyr-xdep.c
336 remote-adapt.c
337 remote-array.c
338 remote-bug.c
339 remote-e7000.c
340 remote-eb.c
341 remote-es.c
342 remote-est.c
343 remote-hms.c
344 remote-mips.c
345 remote-mm.c
346 remote-nindy.c
347 remote-nrom.c
348 remote-os9k.c
349 remote-pa.c
350 remote-rdp.c
351 remote-sim.c
352 remote-st.c
353 remote-udi.c
354 remote-utils.c
355 remote-utils.h
356 remote-vx.c
357 remote-vx29k.c
358 remote-vx68.c
359 remote-vx960.c
360 remote-vxmips.c
361 remote-vxsparc.c
362 remote-wiggler.c
363 remote.c
364 reply_mig_hack.awk
365 rs6000-nat.c
366 rs6000-tdep.c
367 rom68k-rom.c
368 saber.suppress
369 scm-exp.c
370 scm-lang.c
371 scm-lang.h
372 scm-tags.h
373 scm-valprint.c
374 ser-e7kpc.c
375 ser-go32.c
376 ser-mac.c
377 ser-tcp.c
378 ser-unix.c
379 serial.c
380 serial.h
381 sh-stub.c
382 sh-tdep.c
383 sh3-rom.c
384 signals.h
385 sol-thread.c
386 solib.c
387 solib.h
388 somread.c
389 somsolib.c
390 somsolib.h
391 source.c
392 sparc-nat.c
393 sparc-stub.c
394 sparc-tdep.c
395 sparcl-stub.c
396 sparcl-tdep.c
397 sparclet-rom.c
398 sparclet-stub.c
399 srec.h
400 stabsread.c
401 stabsread.h
402 stack.c
403 standalone.c
404 stop-gdb.c
405 stuff.c
406 sun3-nat.c
407 sun386-nat.c
408 symfile.c
409 symfile.h
410 symm-nat.c
411 symm-tdep.c
412 symmisc.c
413 symtab.c
414 symtab.h
415 tahoe-tdep.c
416 target.c
417 target.h
418 terminal.h
419 testsuite
420 thread.c
421 top.c
422 top.h
423 typeprint.c
424 typeprint.h
425 ultra3-nat.c
426 ultra3-xdep.c
427 umax-xdep.c
428 utils.c
429 valarith.c
430 valops.c
431 valprint.c
432 valprint.h
433 value.h
434 values.c
435 vax-tdep.c
436 vx-share
437 w65-tdep.c
438 w89k-rom.c
439 win32-nat.c
440 xcoffread.c
441 xcoffsolib.c
442 xcoffsolib.h
443 xmodem.c
444 xmodem.h
445 z8k-tdep.c
446
447 # Things which are explicitly *not* kept, for now.
448
449 Things-to-lose:
450
451 ser-go32-para.c
452 HOW_TO_RELEASE
453
454 Do-last:
455
456 # Don't try to clean directories here, as the 'mv' command will fail.
457 # Also, grep fails on NFS mounted directories.
458 if ( echo $* | grep lose\-gdbtk > /dev/null ) ; then
459 echo Catering to RMS by removing traces of \"gdbtk\"...
460 for i in * ; do
461 if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
462 echo Removing traces of \"gdbtk\" out of $i...
463 cp $i new
464 sed '/start\-sanitize\-gdbtk/,/end-\sanitize\-gdbtk/d' < $i > new
465 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
466 echo Caching $i in .Recover...
467 mv $i .Recover
468 fi
469 mv new $i
470 fi
471 done
472 else
473 echo Leaving \"gdbtk\" in the sources...
474 for i in * ; do
475 if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
476 echo Keeping \"gdbtk\" stuff in $i, but editing out sanitize lines...
477 cp $i new
478 sed -e '/start\-sanitize\-gdbtk/d' -e '/end\-sanitize\-gdbtk/d' < $i > new
479 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
480 echo Caching $i in .Recover...
481 mv $i .Recover
482 fi
483 mv new $i
484 fi
485 done
486 fi
487
488 arc_files="configure.tgt ChangeLog-95"
489
490 if ( echo $* | grep keep\-arc > /dev/null ) ; then
491 for i in $arc_files ; do
492 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
493 if [ -n "${verbose}" ] ; then
494 echo Keeping arc stuff in $i
495 fi
496 fi
497 done
498 else
499 for i in $arc_files ; do
500 if test ! -d $i && (grep sanitize-arc $i > /dev/null) ; then
501 if [ -n "${verbose}" ] ; then
502 echo Removing traces of \"arc\" from $i...
503 fi
504 cp $i new
505 sed '/start\-sanitize\-arc/,/end-\sanitize\-arc/d' < $i > new
506 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
507 if [ -n "${verbose}" ] ; then
508 echo Caching $i in .Recover...
509 fi
510 mv $i .Recover
511 fi
512 mv new $i
513 fi
514 done
515 fi
516
517 if ( echo $* | grep keep\-gm > /dev/null ) ; then
518 for i in * ; do
519 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
520 if [ -n "${verbose}" ] ; then
521 echo Keeping gm stuff in $i
522 fi
523 fi
524 done
525 else
526 for i in * ; do
527 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
528 if [ -n "${verbose}" ] ; then
529 echo Removing traces of \"gm\" from $i...
530 fi
531 cp $i new
532 sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
533 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
534 if [ -n "${verbose}" ] ; then
535 echo Caching $i in .Recover...
536 fi
537 mv $i .Recover
538 fi
539 mv new $i
540 fi
541 done
542 fi
543
544 if ( echo $* | grep keep\-v850 > /dev/null ) ; then
545 for i in * ; do
546 if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
547 if [ -n "${verbose}" ] ; then
548 echo Keeping v850 stuff in $i
549 fi
550 fi
551 done
552 else
553 for i in * ; do
554 if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
555 if [ -n "${verbose}" ] ; then
556 echo Removing traces of \"v850\" from $i...
557 fi
558 cp $i new
559 sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/d' < $i > new
560 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
561 if [ -n "${verbose}" ] ; then
562 echo Caching $i in .Recover...
563 fi
564 mv $i .Recover
565 fi
566 mv new $i
567 fi
568 done
569 fi
570
571 if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
572 for i in * ; do
573 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
574 if [ -n "${verbose}" ] ; then
575 echo Keeping r5900 stuff in $i
576 fi
577 fi
578 done
579 else
580 for i in * ; do
581 if test ! -d $i && (grep sanitize-r5900 $i > /dev/null) ; then
582 if [ -n "${verbose}" ] ; then
583 echo Removing traces of \"r5900\" from $i...
584 fi
585 cp $i new
586 sed '/start\-sanitize\-r5900/,/end-\sanitize\-r5900/d' < $i > new
587 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
588 if [ -n "${verbose}" ] ; then
589 echo Caching $i in .Recover...
590 fi
591 mv $i .Recover
592 fi
593 mv new $i
594 fi
595 done
596 fi
597
598 if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
599 for i in * ; do
600 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
601 if [ -n "${verbose}" ] ; then
602 echo Keeping tic80 stuff in $i
603 fi
604 fi
605 done
606 else
607 for i in * ; do
608 if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
609 if [ -n "${verbose}" ] ; then
610 echo Removing traces of \"tic80\" from $i...
611 fi
612 cp $i new
613 sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/d' < $i > new
614 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
615 if [ -n "${verbose}" ] ; then
616 echo Caching $i in .Recover...
617 fi
618 mv $i .Recover
619 fi
620 mv new $i
621 fi
622 done
623 fi
624
625 for i in * ; do
626 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
627 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
628 fi
629 done
630
631 #
632 # End of file.
This page took 0.045792 seconds and 4 git commands to generate.