* valprint.c (val_print): Remove inaccurate comment about what
[deliverable/binutils-gdb.git] / gdb / .Sanitize
CommitLineData
f4240b08 1# .Sanitize for devo/gdb.
eeadf5c2 2
d1bcda67 3# Each directory to survive its way into a release will need a file
eeadf5c2
RP
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
d1bcda67 14# done in this directory.
eeadf5c2
RP
15
16Do-first:
17
cb747ec5 18if ( echo $* | grep keep\-v9 > /dev/null ) ; then
40b92220 19 keep_these_too="sp64-tdep.c"
3ea2c30a
FF
20else
21 lose_these_too="sp64-tdep.c"
cb747ec5
DE
22fi
23
d1bcda67
SS
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
eeadf5c2
RP
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
a96c3444 6129k-share
eeadf5c2
RP
62COPYING
63ChangeLog
64ChangeLog-3.x
ee799e2a 65ChangeLog-9091
5debf76d 66ChangeLog-92
1ea8b1dc 67ChangeLog-93
bdf3621b 68Makefile.in
ddce75e0 69NEWS
eeadf5c2
RP
70Projects
71README
72TODO
b4b0321b
FF
73a29k-pinsn.c
74a29k-tdep.c
203a8d54 75a68v-nat.c
cef4c2e7
PS
76alpha-nat.c
77alpha-tdep.c
203a8d54 78altos-xdep.c
eeadf5c2 79arm-convert.s
eeadf5c2
RP
80arm-pinsn.c
81arm-tdep.c
82arm-xdep.c
83blockframe.c
84breakpoint.c
85breakpoint.h
2ce38c6d
JG
86buildsym.c
87buildsym.h
56d921a8 88c-exp.y
22e39759
FF
89c-lang.c
90c-lang.h
a8a69e63
FF
91c-typeprint.c
92c-valprint.c
be772100 93call-cmds.h
b1086bf5
FF
94ch-exp.y
95ch-lang.c
96ch-lang.h
97ch-typeprint.c
98ch-valprint.c
ead291d4
SG
99coff-solib.c
100coff-solib.h
eeadf5c2
RP
101coffread.c
102command.c
103command.h
51b80b00
FF
104complaints.c
105complaints.h
f187c3a4 106config
eeadf5c2
RP
107configure.in
108convex-pinsn.c
109convex-tdep.c
110convex-xdep.c
eeadf5c2
RP
111copying.awk
112copying.c
203a8d54 113core-svr4.c
eeadf5c2
RP
114core.c
115coredep.c
dfc82617 116corelow.c
a8a69e63 117cp-valprint.c
eeadf5c2 118dbxread.c
755892d6
RP
119dcache.c
120dcache.h
eeadf5c2 121defs.h
be0ed5bb 122delta68-nat.c
2dbde378 123demangle.c
eeadf5c2 124doc
0a8f1742 125dpx2-nat.c
2d628281
JK
126dst.h
127dstread.c
6fccdaf4
FF
128dwarfread.c
129elfread.c
eeadf5c2
RP
130environ.c
131environ.h
132eval.c
133exec.c
134expprint.c
eeadf5c2
RP
135expression.h
136findvar.c
e745abe5 137fork-child.c
eeadf5c2 138frame.h
5c5b5d4b 139gcc.patch
ed7c0948 140gdb-stabs.h
0857b46a 141gdb.1
eeadf5c2
RP
142gdbcmd.h
143gdbcore.h
463a71db 144gdbserver
a1f596f4
FF
145gdbtypes.c
146gdbtypes.h
ae0ea72e 147go32-xdep.c
eeadf5c2
RP
148gould-pinsn.c
149gould-xdep.c
0a8ed751 150h8300-tdep.c
5cd0940a 151h8500-tdep.c
b1de302a 152hp300ux-nat.c
76b731f9 153hppa-pinsn.c
66a1aa07 154hppa-tdep.c
ca048722 155hppab-nat.c
ca048722 156hppah-nat.c
ef0faeb6 157i386-nlmstub.c
eeadf5c2
RP
158i386-pinsn.c
159i386-stub.c
160i386-tdep.c
2c7ab4ca 161i386aix-nat.c
0e35d2f3 162i386b-nat.c
c458501e 163i386ly-tdep.c
c2d751d5 164i386m3-nat.c
a113beac 165i386mach-nat.c
c7c94073 166i386v-nat.c
4d0eabff 167i386v4-nat.c
56d921a8 168i387-tdep.c
eeadf5c2
RP
169i960-pinsn.c
170i960-tdep.c
eeadf5c2
RP
171infcmd.c
172inferior.h
173inflow.c
174infptrace.c
175infrun.c
eeadf5c2 176inftarg.c
a70dc898 177irix4-nat.c
a2f1e2e5 178irix5-nat.c
4aadcb02 179isi-xdep.c
eeadf5c2 180kdb-start.c
56d921a8
JG
181language.c
182language.h
069e0566 183lynx-nat.c
56d921a8 184m2-exp.y
22e39759
FF
185m2-lang.c
186m2-lang.h
a8a69e63
FF
187m2-typeprint.c
188m2-valprint.c
c2d751d5 189m3-nat.c
eeadf5c2
RP
190m68k-pinsn.c
191m68k-stub.c
192m68k-tdep.c
173a4f1b 193m88k-nat.c
eeadf5c2
RP
194m88k-pinsn.c
195m88k-tdep.c
eeadf5c2 196main.c
0239d9b3 197maint.c
a2f1e2e5 198mdebugread.c
eeadf5c2 199mem-break.c
1111151a 200minimon.h
a1f596f4 201minsyms.c
a70dc898 202mips-nat.c
eeadf5c2
RP
203mips-pinsn.c
204mips-tdep.c
c2d751d5 205mipsm3-nat.c
eeadf5c2 206mipsread.c
2f1c04d1 207monitor.h
eeadf5c2
RP
208news-xdep.c
209nindy-share
210nindy-tdep.c
db85f523 211nlmread.c
eeadf5c2
RP
212ns32k-opcode.h
213ns32k-pinsn.c
c2d751d5 214ns32km3-nat.c
a1f596f4 215objfiles.c
5e2e79f8 216objfiles.h
25200748 217os9kread.c
cef4c2e7 218osfsolib.c
e4dd52dd 219paread.c
56d921a8
JG
220parse.c
221parser-defs.h
7e258d18 222partial-stab.h
eeadf5c2 223printcmd.c
6fccdaf4 224procfs.c
eeadf5c2
RP
225pyr-pinsn.c
226pyr-tdep.c
227pyr-xdep.c
228regex.c
229regex.h
230rem-multi.shar
1111151a 231remote-adapt.c
203a8d54 232remote-bug.c
a0b28275 233remote-e7000.c
eeadf5c2 234remote-eb.c
91c87211 235remote-es.c
d93b79d9 236remote-hms.c
c2a0f1cb 237remote-mips.c
1111151a 238remote-mm.c
c033ec17 239remote-mon.c
eeadf5c2 240remote-nindy.c
25200748 241remote-os9k.c
ec25d19b 242remote-sim.c
40b92220 243remote-sim.h
91c87211 244remote-st.c
e4dd52dd 245remote-udi.c
3283eab3
JK
246remote-utils.c
247remote-utils.h
eeadf5c2 248remote-vx.c
2aedd91e 249remote-z8k.c
eeadf5c2 250remote.c
dc48694c 251rs6000-nat.c
6373dbe3
JG
252rs6000-pinsn.c
253rs6000-tdep.c
eeadf5c2 254saber.suppress
ddce75e0 255ser-go32.c
4d551aa3 256ser-tcp.c
e8a5f0ed
SG
257ser-unix.c
258serial.c
ddce75e0 259serial.h
9faacb92 260sh-tdep.c
eeadf5c2 261signals.h
eeadf5c2 262solib.c
a1f596f4 263solib.h
eeadf5c2 264source.c
dfc82617 265sparc-nat.c
eeadf5c2 266sparc-pinsn.c
c9715956 267sparc-stub.c
eeadf5c2 268sparc-tdep.c
a96c3444 269sparclite
d07734e3
FF
270stabsread.c
271stabsread.h
eeadf5c2
RP
272stack.c
273standalone.c
eeadf5c2 274stuff.c
dc48694c 275sun3-nat.c
61bbb1c2 276sun386-nat.c
eeadf5c2
RP
277symfile.c
278symfile.h
d39d83c1 279symm-nat.c
203a8d54 280symm-tdep.c
eeadf5c2
RP
281symmisc.c
282symtab.c
283symtab.h
eeadf5c2
RP
284tahoe-pinsn.c
285target.c
286target.h
eeadf5c2 287terminal.h
a2df03aa 288testsuite
6a21c756
SG
289thread.c
290thread.h
a8a69e63
FF
291typeprint.c
292typeprint.h
6bf98ac0 293ultra3-nat.c
1111151a 294ultra3-xdep.c
eeadf5c2
RP
295umax-xdep.c
296utils.c
297valarith.c
298valops.c
299valprint.c
a8a69e63 300valprint.h
eeadf5c2
RP
301value.h
302values.c
eeadf5c2
RP
303vax-pinsn.c
304vx-share
6373dbe3
JG
305xcoffexec.c
306xcoffread.c
1eeba686
PB
307xcoffsolib.c
308xcoffsolib.h
2aedd91e 309z8k-tdep.c
eeadf5c2 310
87756e15 311
f747d259 312# Things which are explicitly *not* kept, for now.
2b577349
JG
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.
743b663c
FF
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.
2b577349
JG
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.
743b663c
FF
325# state.c - Not used at the moment, keep for reference (fnf)
326# state.h - Not used at the moment, keep for reference (fnf)
2b577349
JG
327# tests - Old test programs for GDB, pre-gdbtest and pre-
328# DejaGnu.
f747d259 329
87756e15
RP
330Things-to-lose:
331
332deblib
333energize
334energize-patches
335energize.c
336energize.h
87756e15
RP
337remote-sa.sparc.c
338state.c
339state.h
340tests
341
eeadf5c2
RP
342Do-last:
343
85b9835f
DE
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
d1bcda67
SS
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
eeadf5c2 394# End of file.
This page took 0.147261 seconds and 4 git commands to generate.