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