Recognize and sanitize r16 as a target.
[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
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
d93b79d9 244remote-hms.c
c2a0f1cb 245remote-mips.c
1111151a 246remote-mm.c
eeadf5c2 247remote-nindy.c
25200748 248remote-os9k.c
399290be 249remote-pa.c
ec25d19b 250remote-sim.c
40b92220 251remote-sim.h
91c87211 252remote-st.c
e4dd52dd 253remote-udi.c
3283eab3
JK
254remote-utils.c
255remote-utils.h
eeadf5c2 256remote-vx.c
2aedd91e 257remote-z8k.c
eeadf5c2 258remote.c
dc48694c 259rs6000-nat.c
6373dbe3
JG
260rs6000-pinsn.c
261rs6000-tdep.c
fb9f8033 262rom68k-rom.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
bb140953
JL
275somsolib.c
276somsolib.h
eeadf5c2 277source.c
8c16485e 278sp64-tdep.c
dfc82617 279sparc-nat.c
eeadf5c2 280sparc-pinsn.c
c9715956 281sparc-stub.c
eeadf5c2 282sparc-tdep.c
2b14c195
KH
283sparcl-stub.c
284sparcl-tdep.c
a96c3444 285sparclite
d07734e3
FF
286stabsread.c
287stabsread.h
eeadf5c2
RP
288stack.c
289standalone.c
1e6f592d 290stop-gdb.c
eeadf5c2 291stuff.c
dc48694c 292sun3-nat.c
61bbb1c2 293sun386-nat.c
eeadf5c2
RP
294symfile.c
295symfile.h
d39d83c1 296symm-nat.c
203a8d54 297symm-tdep.c
eeadf5c2
RP
298symmisc.c
299symtab.c
300symtab.h
eeadf5c2
RP
301tahoe-pinsn.c
302target.c
303target.h
eeadf5c2 304terminal.h
a2df03aa 305testsuite
6a21c756
SG
306thread.c
307thread.h
172559ec
JK
308top.c
309top.h
a8a69e63
FF
310typeprint.c
311typeprint.h
6bf98ac0 312ultra3-nat.c
1111151a 313ultra3-xdep.c
eeadf5c2
RP
314umax-xdep.c
315utils.c
316valarith.c
317valops.c
318valprint.c
a8a69e63 319valprint.h
eeadf5c2
RP
320value.h
321values.c
eeadf5c2
RP
322vax-pinsn.c
323vx-share
25ca0dfc 324w89k-rom.c
6373dbe3 325xcoffread.c
1eeba686
PB
326xcoffsolib.c
327xcoffsolib.h
2aedd91e 328z8k-tdep.c
eeadf5c2 329
87756e15 330
f747d259 331# Things which are explicitly *not* kept, for now.
743b663c
FF
332# energize - Part of Lucid support.
333# energize-patches - Part of Lucid support.
334# energize.c - Part of Lucid support.
335# energize.h - Part of Lucid support.
2b577349
JG
336# remote-sa.sparc.c - Remote target for a standalone SPARC, using
337# the FORTH console ROMs. We never got the paperwork
338# straight, since Sun's lawyers messed with the
339# FSF contract and RMS didn't accept the changes.
340# Written at SunLabs.
743b663c
FF
341# state.c - Not used at the moment, keep for reference (fnf)
342# state.h - Not used at the moment, keep for reference (fnf)
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
87756e15 353
eeadf5c2
RP
354Do-last:
355
d1bcda67
SS
356echo Removing traces of \"mpw\"...
357
358# Don't try to clean directories here, as the 'mv' command will fail.
359# Also, grep fails on NFS mounted directories.
360if ( echo $* | grep keep\-mpw > /dev/null ) ; then
361 for i in * ; do
362 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
363 echo Keeping mpw stuff in $i
364 fi
365 done
366else
367 for i in * ; do
368 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
369 echo Removing traces of \"mpw\" out of $i...
370 cp $i new
371 sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/d' < $i > new
372 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
373 echo Caching $i in .Recover...
374 mv $i .Recover
375 fi
376 mv new $i
377 fi
378 done
379fi
380
98c0e047
JL
381echo Removing traces of \"hpread\"...
382
383# Don't try to clean directories here, as the 'mv' command will fail.
384# Also, grep fails on NFS mounted directories.
385if ( echo $* | grep keep\-hpread > /dev/null ) ; then
386 for i in * ; do
387 if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
388 echo Keeping hpread stuff in $i
389 fi
390 done
391else
392 for i in * ; do
393 if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
394 echo Removing traces of \"hpread\" out of $i...
395 cp $i new
396 sed '/start\-sanitize\-hpread/,/end-\sanitize\-hpread/d' < $i > new
397 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
398 echo Caching $i in .Recover...
399 mv $i .Recover
400 fi
401 mv new $i
402 fi
403 done
404fi
405
406
eeadf5c2 407# End of file.
This page took 0.166859 seconds and 4 git commands to generate.