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