Fix thinko in ian's ChangeLog entry
[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
2ff6b38a 18mpw_files="mpw-config.in mpw-make.in ser-mac.c mac-xdep.c mac-defs.h macgdb.r mpw-init.c ChangeLog.mpw"
d1bcda67
SS
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
98c0e047
JL
32hpread_files="hpread.c ChangeLog.hpread"
33
34if ( echo $* | grep keep\-hpread > /dev/null ) ; then
35 keep_these_too="${hpread_files} ${keep_these_too}"
36 if [ -n "${verbose}" ] ; then
37 echo Keeping ${hpread_files}
38 fi
39else
40 lose_these_too="${hpread_files} ${lose_these_too}"
41 if [ -n "${verbose}" ] ; then
42 echo Deleting ${hpread_files}
43 fi
44fi
45
eeadf5c2
RP
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
a96c3444 5529k-share
eeadf5c2
RP
56COPYING
57ChangeLog
58ChangeLog-3.x
ee799e2a 59ChangeLog-9091
5debf76d 60ChangeLog-92
1ea8b1dc 61ChangeLog-93
bdf3621b 62Makefile.in
ddce75e0 63NEWS
eeadf5c2
RP
64README
65TODO
b4b0321b
FF
66a29k-pinsn.c
67a29k-tdep.c
203a8d54 68a68v-nat.c
cef4c2e7
PS
69alpha-nat.c
70alpha-tdep.c
203a8d54 71altos-xdep.c
1c95d7ab
JK
72annotate.c
73annotate.h
eeadf5c2 74arm-convert.s
eeadf5c2
RP
75arm-pinsn.c
76arm-tdep.c
77arm-xdep.c
78blockframe.c
79breakpoint.c
80breakpoint.h
2ce38c6d
JG
81buildsym.c
82buildsym.h
56d921a8 83c-exp.y
22e39759
FF
84c-lang.c
85c-lang.h
a8a69e63
FF
86c-typeprint.c
87c-valprint.c
be772100 88call-cmds.h
b1086bf5
FF
89ch-exp.y
90ch-lang.c
91ch-lang.h
92ch-typeprint.c
93ch-valprint.c
ead291d4
SG
94coff-solib.c
95coff-solib.h
eeadf5c2
RP
96coffread.c
97command.c
98command.h
51b80b00
FF
99complaints.c
100complaints.h
f187c3a4 101config
eeadf5c2
RP
102configure.in
103convex-pinsn.c
104convex-tdep.c
105convex-xdep.c
eeadf5c2
RP
106copying.awk
107copying.c
256533df 108core-sol2.c
203a8d54 109core-svr4.c
eeadf5c2
RP
110core.c
111coredep.c
dfc82617 112corelow.c
a8a69e63 113cp-valprint.c
670a8e09 114cxux-nat.c
eeadf5c2 115dbxread.c
755892d6
RP
116dcache.c
117dcache.h
eeadf5c2 118defs.h
be0ed5bb 119delta68-nat.c
2dbde378 120demangle.c
eeadf5c2 121doc
0a8f1742 122dpx2-nat.c
2d628281
JK
123dst.h
124dstread.c
6fccdaf4
FF
125dwarfread.c
126elfread.c
eeadf5c2
RP
127environ.c
128environ.h
129eval.c
130exec.c
131expprint.c
eeadf5c2 132expression.h
042bb079
SS
133f-exp.y
134f-lang.c
135f-lang.h
136f-typeprint.c
137f-valprint.c
eeadf5c2 138findvar.c
e745abe5 139fork-child.c
eeadf5c2 140frame.h
5c5b5d4b 141gcc.patch
ed7c0948 142gdb-stabs.h
0857b46a 143gdb.1
dec525ce 144gdba.el
eeadf5c2
RP
145gdbcmd.h
146gdbcore.h
463a71db 147gdbserver
8cb35771
SG
148gdbtk.c
149gdbtk.tcl
a1f596f4
FF
150gdbtypes.c
151gdbtypes.h
ae0ea72e 152go32-xdep.c
eeadf5c2
RP
153gould-pinsn.c
154gould-xdep.c
0a8ed751 155h8300-tdep.c
5cd0940a 156h8500-tdep.c
b1de302a 157hp300ux-nat.c
76b731f9 158hppa-pinsn.c
66a1aa07 159hppa-tdep.c
ca048722 160hppab-nat.c
ca048722 161hppah-nat.c
ef0faeb6 162i386-nlmstub.c
eeadf5c2
RP
163i386-pinsn.c
164i386-stub.c
165i386-tdep.c
2c7ab4ca 166i386aix-nat.c
0e35d2f3 167i386b-nat.c
c458501e 168i386ly-tdep.c
c2d751d5 169i386m3-nat.c
a113beac 170i386mach-nat.c
c7c94073 171i386v-nat.c
4d0eabff 172i386v4-nat.c
56d921a8 173i387-tdep.c
eeadf5c2
RP
174i960-pinsn.c
175i960-tdep.c
eeadf5c2
RP
176infcmd.c
177inferior.h
178inflow.c
179infptrace.c
180infrun.c
eeadf5c2 181inftarg.c
a70dc898 182irix4-nat.c
a2f1e2e5 183irix5-nat.c
4aadcb02 184isi-xdep.c
eeadf5c2 185kdb-start.c
56d921a8
JG
186language.c
187language.h
069e0566 188lynx-nat.c
56d921a8 189m2-exp.y
22e39759
FF
190m2-lang.c
191m2-lang.h
a8a69e63
FF
192m2-typeprint.c
193m2-valprint.c
c2d751d5 194m3-nat.c
eeadf5c2
RP
195m68k-pinsn.c
196m68k-stub.c
197m68k-tdep.c
173a4f1b 198m88k-nat.c
eeadf5c2
RP
199m88k-pinsn.c
200m88k-tdep.c
eeadf5c2 201main.c
0239d9b3 202maint.c
a2f1e2e5 203mdebugread.c
eeadf5c2 204mem-break.c
1111151a 205minimon.h
a1f596f4 206minsyms.c
a70dc898 207mips-nat.c
eeadf5c2
RP
208mips-pinsn.c
209mips-tdep.c
c2d751d5 210mipsm3-nat.c
2fe3b329 211mipsv4-nat.c
eeadf5c2 212mipsread.c
2f1c04d1 213monitor.h
25ca0dfc 214monitor.c
eeadf5c2
RP
215news-xdep.c
216nindy-share
217nindy-tdep.c
bbc34049 218nlm
db85f523 219nlmread.c
eeadf5c2 220ns32k-pinsn.c
c2d751d5 221ns32km3-nat.c
a1f596f4 222objfiles.c
5e2e79f8 223objfiles.h
25ca0dfc 224op50-rom.c
25200748 225os9kread.c
cef4c2e7 226osfsolib.c
56d921a8
JG
227parse.c
228parser-defs.h
7e258d18 229partial-stab.h
eeadf5c2 230printcmd.c
6fccdaf4 231procfs.c
c6889f63 232ptx4-nat.c
eeadf5c2
RP
233pyr-pinsn.c
234pyr-tdep.c
235pyr-xdep.c
236regex.c
237regex.h
238rem-multi.shar
1111151a 239remote-adapt.c
203a8d54 240remote-bug.c
a0b28275 241remote-e7000.c
eeadf5c2 242remote-eb.c
91c87211 243remote-es.c
d93b79d9 244remote-hms.c
c2a0f1cb 245remote-mips.c
1111151a 246remote-mm.c
c033ec17 247remote-mon.c
eeadf5c2 248remote-nindy.c
25200748 249remote-os9k.c
399290be 250remote-pa.c
ec25d19b 251remote-sim.c
40b92220 252remote-sim.h
91c87211 253remote-st.c
e4dd52dd 254remote-udi.c
3283eab3
JK
255remote-utils.c
256remote-utils.h
eeadf5c2 257remote-vx.c
2aedd91e 258remote-z8k.c
eeadf5c2 259remote.c
dc48694c 260rs6000-nat.c
6373dbe3
JG
261rs6000-pinsn.c
262rs6000-tdep.c
eeadf5c2 263saber.suppress
55679787 264ser-e7kpc.c
ddce75e0 265ser-go32.c
4d551aa3 266ser-tcp.c
e8a5f0ed
SG
267ser-unix.c
268serial.c
ddce75e0 269serial.h
9faacb92 270sh-tdep.c
eeadf5c2 271signals.h
eeadf5c2 272solib.c
a1f596f4 273solib.h
bfe2f12b 274somread.c
eeadf5c2 275source.c
8c16485e 276sp64-tdep.c
dfc82617 277sparc-nat.c
eeadf5c2 278sparc-pinsn.c
c9715956 279sparc-stub.c
eeadf5c2 280sparc-tdep.c
2b14c195
KH
281sparcl-stub.c
282sparcl-tdep.c
a96c3444 283sparclite
d07734e3
FF
284stabsread.c
285stabsread.h
eeadf5c2
RP
286stack.c
287standalone.c
1e6f592d 288stop-gdb.c
eeadf5c2 289stuff.c
dc48694c 290sun3-nat.c
61bbb1c2 291sun386-nat.c
eeadf5c2
RP
292symfile.c
293symfile.h
d39d83c1 294symm-nat.c
203a8d54 295symm-tdep.c
eeadf5c2
RP
296symmisc.c
297symtab.c
298symtab.h
eeadf5c2
RP
299tahoe-pinsn.c
300target.c
301target.h
eeadf5c2 302terminal.h
a2df03aa 303testsuite
6a21c756
SG
304thread.c
305thread.h
172559ec
JK
306top.c
307top.h
a8a69e63
FF
308typeprint.c
309typeprint.h
6bf98ac0 310ultra3-nat.c
1111151a 311ultra3-xdep.c
eeadf5c2
RP
312umax-xdep.c
313utils.c
314valarith.c
315valops.c
316valprint.c
a8a69e63 317valprint.h
eeadf5c2
RP
318value.h
319values.c
eeadf5c2
RP
320vax-pinsn.c
321vx-share
25ca0dfc 322w89k-rom.c
6373dbe3 323xcoffread.c
1eeba686
PB
324xcoffsolib.c
325xcoffsolib.h
2aedd91e 326z8k-tdep.c
eeadf5c2 327
87756e15 328
f747d259 329# Things which are explicitly *not* kept, for now.
743b663c
FF
330# energize - Part of Lucid support.
331# energize-patches - Part of Lucid support.
332# energize.c - Part of Lucid support.
333# energize.h - Part of Lucid support.
2b577349
JG
334# remote-sa.sparc.c - Remote target for a standalone SPARC, using
335# the FORTH console ROMs. We never got the paperwork
336# straight, since Sun's lawyers messed with the
337# FSF contract and RMS didn't accept the changes.
338# Written at SunLabs.
743b663c
FF
339# state.c - Not used at the moment, keep for reference (fnf)
340# state.h - Not used at the moment, keep for reference (fnf)
2b577349
JG
341# tests - Old test programs for GDB, pre-gdbtest and pre-
342# DejaGnu.
f747d259 343
87756e15
RP
344Things-to-lose:
345
87756e15
RP
346energize
347energize-patches
348energize.c
349energize.h
87756e15
RP
350remote-sa.sparc.c
351state.c
352state.h
353tests
354
eeadf5c2
RP
355Do-last:
356
d1bcda67
SS
357echo Removing traces of \"mpw\"...
358
359# Don't try to clean directories here, as the 'mv' command will fail.
360# Also, grep fails on NFS mounted directories.
361if ( echo $* | grep keep\-mpw > /dev/null ) ; then
362 for i in * ; do
363 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
364 echo Keeping mpw stuff in $i
365 fi
366 done
367else
368 for i in * ; do
369 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
370 echo Removing traces of \"mpw\" out of $i...
371 cp $i new
372 sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/d' < $i > new
373 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
374 echo Caching $i in .Recover...
375 mv $i .Recover
376 fi
377 mv new $i
378 fi
379 done
380fi
381
98c0e047
JL
382echo Removing traces of \"hpread\"...
383
384# Don't try to clean directories here, as the 'mv' command will fail.
385# Also, grep fails on NFS mounted directories.
386if ( echo $* | grep keep\-hpread > /dev/null ) ; then
387 for i in * ; do
388 if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
389 echo Keeping hpread stuff in $i
390 fi
391 done
392else
393 for i in * ; do
394 if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
395 echo Removing traces of \"hpread\" out of $i...
396 cp $i new
397 sed '/start\-sanitize\-hpread/,/end-\sanitize\-hpread/d' < $i > new
398 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
399 echo Caching $i in .Recover...
400 mv $i .Recover
401 fi
402 mv new $i
403 fi
404 done
405fi
406
407
eeadf5c2 408# End of file.
This page took 0.16178 seconds and 4 git commands to generate.