* w65-tdep.c, config/tm-w65.h, config/w65.mt: New files.
[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
3bf21084 18mpw_files="mpw-config.in mpw-make.in ser-mac.c mac-xdep.c mac-defs.h macgdb.r 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
d3d75ec9
SS
32gdbtk_files="gdbtk.c gdbtk.tcl"
33
34if ( echo $* | grep keep\-gdbtk > /dev/null ) ; then
35 keep_these_too="${gdbtk_files} ${keep_these_too}"
36 if [ -n "${verbose}" ] ; then
37 echo Keeping ${gdbtk_files}
38 fi
39else
40 lose_these_too="${gdbtk_files} ${lose_these_too}"
41 if [ -n "${verbose}" ] ; then
42 echo Deleting ${gdbtk_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
73cb6167 62ChangeLog-94
bdf3621b 63Makefile.in
ddce75e0 64NEWS
eeadf5c2
RP
65README
66TODO
b4b0321b
FF
67a29k-pinsn.c
68a29k-tdep.c
203a8d54 69a68v-nat.c
cef4c2e7
PS
70alpha-nat.c
71alpha-tdep.c
203a8d54 72altos-xdep.c
1c95d7ab
JK
73annotate.c
74annotate.h
eeadf5c2 75arm-convert.s
eeadf5c2
RP
76arm-pinsn.c
77arm-tdep.c
78arm-xdep.c
79blockframe.c
80breakpoint.c
81breakpoint.h
2ce38c6d
JG
82buildsym.c
83buildsym.h
56d921a8 84c-exp.y
22e39759
FF
85c-lang.c
86c-lang.h
a8a69e63
FF
87c-typeprint.c
88c-valprint.c
be772100 89call-cmds.h
b1086bf5
FF
90ch-exp.y
91ch-lang.c
92ch-lang.h
93ch-typeprint.c
94ch-valprint.c
ead291d4
SG
95coff-solib.c
96coff-solib.h
eeadf5c2
RP
97coffread.c
98command.c
99command.h
51b80b00
FF
100complaints.c
101complaints.h
f187c3a4 102config
eeadf5c2
RP
103configure.in
104convex-pinsn.c
105convex-tdep.c
106convex-xdep.c
eeadf5c2
RP
107copying.awk
108copying.c
256533df 109core-sol2.c
203a8d54 110core-svr4.c
eeadf5c2
RP
111core.c
112coredep.c
dfc82617 113corelow.c
a8a69e63 114cp-valprint.c
670a8e09 115cxux-nat.c
eeadf5c2 116dbxread.c
755892d6
RP
117dcache.c
118dcache.h
eeadf5c2 119defs.h
be0ed5bb 120delta68-nat.c
2dbde378 121demangle.c
eeadf5c2 122doc
0a8f1742 123dpx2-nat.c
2d628281
JK
124dst.h
125dstread.c
6fccdaf4
FF
126dwarfread.c
127elfread.c
eeadf5c2
RP
128environ.c
129environ.h
130eval.c
131exec.c
132expprint.c
eeadf5c2 133expression.h
042bb079
SS
134f-exp.y
135f-lang.c
136f-lang.h
137f-typeprint.c
138f-valprint.c
eeadf5c2 139findvar.c
e745abe5 140fork-child.c
eeadf5c2 141frame.h
5c5b5d4b 142gcc.patch
ed7c0948 143gdb-stabs.h
0857b46a 144gdb.1
dec525ce 145gdba.el
eeadf5c2
RP
146gdbcmd.h
147gdbcore.h
463a71db 148gdbserver
a1f596f4
FF
149gdbtypes.c
150gdbtypes.h
ae0ea72e 151go32-xdep.c
eeadf5c2
RP
152gould-pinsn.c
153gould-xdep.c
0a8ed751 154h8300-tdep.c
5cd0940a 155h8500-tdep.c
b1de302a 156hp300ux-nat.c
76b731f9 157hppa-pinsn.c
66a1aa07 158hppa-tdep.c
ca048722 159hppab-nat.c
ca048722 160hppah-nat.c
2848f793 161hpread.c
eeadf5c2
RP
162i386-pinsn.c
163i386-stub.c
164i386-tdep.c
2c7ab4ca 165i386aix-nat.c
0e35d2f3 166i386b-nat.c
c458501e 167i386ly-tdep.c
c2d751d5 168i386m3-nat.c
a113beac 169i386mach-nat.c
c7c94073 170i386v-nat.c
4d0eabff 171i386v4-nat.c
56d921a8 172i387-tdep.c
eeadf5c2
RP
173i960-pinsn.c
174i960-tdep.c
eeadf5c2
RP
175infcmd.c
176inferior.h
177inflow.c
178infptrace.c
179infrun.c
eeadf5c2 180inftarg.c
a70dc898 181irix4-nat.c
a2f1e2e5 182irix5-nat.c
4aadcb02 183isi-xdep.c
eeadf5c2 184kdb-start.c
56d921a8
JG
185language.c
186language.h
069e0566 187lynx-nat.c
56d921a8 188m2-exp.y
22e39759
FF
189m2-lang.c
190m2-lang.h
a8a69e63
FF
191m2-typeprint.c
192m2-valprint.c
c2d751d5 193m3-nat.c
eeadf5c2
RP
194m68k-pinsn.c
195m68k-stub.c
196m68k-tdep.c
173a4f1b 197m88k-nat.c
eeadf5c2
RP
198m88k-pinsn.c
199m88k-tdep.c
eeadf5c2 200main.c
0239d9b3 201maint.c
a2f1e2e5 202mdebugread.c
eeadf5c2 203mem-break.c
1111151a 204minimon.h
a1f596f4 205minsyms.c
a70dc898 206mips-nat.c
eeadf5c2
RP
207mips-pinsn.c
208mips-tdep.c
c2d751d5 209mipsm3-nat.c
2fe3b329 210mipsv4-nat.c
eeadf5c2 211mipsread.c
2f1c04d1 212monitor.h
25ca0dfc 213monitor.c
eeadf5c2
RP
214news-xdep.c
215nindy-share
216nindy-tdep.c
bbc34049 217nlm
db85f523 218nlmread.c
8c875c1c 219nlmstub.def
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
93584146 244remote-est.c
d93b79d9 245remote-hms.c
c2a0f1cb 246remote-mips.c
1111151a 247remote-mm.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
fb9f8033 263rom68k-rom.c
eeadf5c2 264saber.suppress
55679787 265ser-e7kpc.c
ddce75e0 266ser-go32.c
4d551aa3 267ser-tcp.c
e8a5f0ed
SG
268ser-unix.c
269serial.c
ddce75e0 270serial.h
9faacb92 271sh-tdep.c
eeadf5c2 272signals.h
eeadf5c2 273solib.c
a1f596f4 274solib.h
bfe2f12b 275somread.c
bb140953
JL
276somsolib.c
277somsolib.h
eeadf5c2 278source.c
8c16485e 279sp64-tdep.c
dfc82617 280sparc-nat.c
eeadf5c2 281sparc-pinsn.c
c9715956 282sparc-stub.c
eeadf5c2 283sparc-tdep.c
2b14c195
KH
284sparcl-stub.c
285sparcl-tdep.c
a96c3444 286sparclite
d07734e3
FF
287stabsread.c
288stabsread.h
eeadf5c2
RP
289stack.c
290standalone.c
1e6f592d 291stop-gdb.c
eeadf5c2 292stuff.c
dc48694c 293sun3-nat.c
61bbb1c2 294sun386-nat.c
eeadf5c2
RP
295symfile.c
296symfile.h
d39d83c1 297symm-nat.c
203a8d54 298symm-tdep.c
eeadf5c2
RP
299symmisc.c
300symtab.c
301symtab.h
eeadf5c2
RP
302tahoe-pinsn.c
303target.c
304target.h
eeadf5c2 305terminal.h
a2df03aa 306testsuite
6a21c756
SG
307thread.c
308thread.h
172559ec
JK
309top.c
310top.h
a8a69e63
FF
311typeprint.c
312typeprint.h
6bf98ac0 313ultra3-nat.c
1111151a 314ultra3-xdep.c
eeadf5c2
RP
315umax-xdep.c
316utils.c
317valarith.c
318valops.c
319valprint.c
a8a69e63 320valprint.h
eeadf5c2
RP
321value.h
322values.c
eeadf5c2
RP
323vax-pinsn.c
324vx-share
25ca0dfc 325w89k-rom.c
6373dbe3 326xcoffread.c
1eeba686
PB
327xcoffsolib.c
328xcoffsolib.h
2aedd91e 329z8k-tdep.c
eeadf5c2 330
87756e15 331
f747d259 332# Things which are explicitly *not* kept, for now.
743b663c
FF
333# energize - Part of Lucid support.
334# energize-patches - Part of Lucid support.
335# energize.c - Part of Lucid support.
336# energize.h - Part of Lucid support.
2b577349
JG
337# remote-sa.sparc.c - Remote target for a standalone SPARC, using
338# the FORTH console ROMs. We never got the paperwork
339# straight, since Sun's lawyers messed with the
340# FSF contract and RMS didn't accept the changes.
341# Written at SunLabs.
743b663c
FF
342# state.c - Not used at the moment, keep for reference (fnf)
343# state.h - Not used at the moment, keep for reference (fnf)
f747d259 344
87756e15
RP
345Things-to-lose:
346
87756e15
RP
347energize
348energize-patches
349energize.c
350energize.h
87756e15
RP
351remote-sa.sparc.c
352state.c
353state.h
87756e15 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
d3d75ec9
SS
382echo Catering to RMS by removing traces of \"gdbtk\"...
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\-gdbtk > /dev/null ) ; then
387 for i in * ; do
388 if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
389 echo Keeping gdbtk stuff in $i
390 fi
391 done
392else
393 for i in * ; do
394 if test ! -d $i && (grep sanitize-gdbtk $i > /dev/null) ; then
395 echo Removing traces of \"gdbtk\" out of $i...
396 cp $i new
397 sed '/start\-sanitize\-gdbtk/,/end-\sanitize\-gdbtk/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
407r16_files="configure.in"
03c4ce2f
MT
408
409if ( echo $* | grep keep\-r16 > /dev/null ) ; then
410 for i in $r16_files ; do
411 if test ! -d $i && (grep sanitize-r16 $i > /dev/null) ; then
412 if [ -n "${verbose}" ] ; then
413 echo Keeping r16 stuff in $i
414 fi
415 fi
416 done
417else
418 for i in $r16_files ; do
419 if test ! -d $i && (grep sanitize-r16 $i > /dev/null) ; then
420 if [ -n "${verbose}" ] ; then
421 echo Removing traces of \"r16\" from $i...
422 fi
423 cp $i new
424 sed '/start\-sanitize\-r16/,/end-\sanitize\-r16/d' < $i > new
425 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
426 if [ -n "${verbose}" ] ; then
427 echo Caching $i in .Recover...
428 fi
429 mv $i .Recover
430 fi
431 mv new $i
432 fi
433 done
434fi
435
436for i in * ; do
437 if test ! -d $i && (grep sanitize $i > /dev/null) ; then
438 echo '***' Some mentions of Sanitize are still left in $i! 1>&2
439 fi
440done
441
442#
eeadf5c2 443# End of file.
This page took 0.187073 seconds and 4 git commands to generate.