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