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