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