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