Added remote-bug.c.
[deliverable/binutils-gdb.git] / gdb / .Sanitize
CommitLineData
f4240b08 1# .Sanitize for devo/gdb.
eeadf5c2
RP
2
3# Each directory to survive it's 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
15
16Do-first:
17
cb747ec5 18if ( echo $* | grep keep\-v9 > /dev/null ) ; then
9be4f7b4 19 keep_these_too="sp64-tdep.c remote-sp64sim.c remote-sim.h"
cb747ec5
DE
20fi
21
eeadf5c2
RP
22# All files listed between the "Things-to-keep:" line and the
23# "Files-to-sed:" line will be kept. All other files will be removed.
24# Directories listed in this section will have their own Sanitize
25# called. Directories not listed will be removed in their entirety
26# with rm -rf.
27
28Things-to-keep:
29
30.gdbinit
a96c3444 3129k-share
eeadf5c2
RP
32COPYING
33ChangeLog
34ChangeLog-3.x
ee799e2a 35ChangeLog-9091
5debf76d 36ChangeLog-92
bdf3621b 37Makefile.in
ddce75e0 38NEWS
eeadf5c2
RP
39Projects
40README
41TODO
b4b0321b
FF
42a29k-pinsn.c
43a29k-tdep.c
203a8d54
RP
44a68v-nat.c
45altos-xdep.c
eeadf5c2 46arm-convert.s
eeadf5c2
RP
47arm-pinsn.c
48arm-tdep.c
49arm-xdep.c
50blockframe.c
51breakpoint.c
52breakpoint.h
2ce38c6d
JG
53buildsym.c
54buildsym.h
56d921a8 55c-exp.y
22e39759
FF
56c-lang.c
57c-lang.h
a8a69e63
FF
58c-typeprint.c
59c-valprint.c
be772100 60call-cmds.h
b1086bf5
FF
61ch-exp.y
62ch-lang.c
63ch-lang.h
64ch-typeprint.c
65ch-valprint.c
eeadf5c2
RP
66coffread.c
67command.c
68command.h
51b80b00
FF
69complaints.c
70complaints.h
f187c3a4 71config
eeadf5c2
RP
72configure.in
73convex-pinsn.c
74convex-tdep.c
75convex-xdep.c
eeadf5c2
RP
76copying.awk
77copying.c
203a8d54 78core-svr4.c
eeadf5c2
RP
79core.c
80coredep.c
dfc82617 81corelow.c
a8a69e63 82cp-valprint.c
eeadf5c2
RP
83dbxread.c
84defs.h
be0ed5bb 85delta68-nat.c
2dbde378 86demangle.c
eeadf5c2 87doc
0a8f1742 88dpx2-nat.c
6fccdaf4
FF
89dwarfread.c
90elfread.c
eeadf5c2
RP
91environ.c
92environ.h
93eval.c
94exec.c
95expprint.c
eeadf5c2
RP
96expression.h
97findvar.c
e745abe5 98fork-child.c
eeadf5c2 99frame.h
5c5b5d4b 100gcc.patch
ed7c0948 101gdb-stabs.h
0857b46a 102gdb.1
eeadf5c2
RP
103gdbcmd.h
104gdbcore.h
463a71db 105gdbserver
a1f596f4
FF
106gdbtypes.c
107gdbtypes.h
ae0ea72e 108go32-xdep.c
eeadf5c2
RP
109gould-pinsn.c
110gould-xdep.c
0a8ed751 111h8300-tdep.c
5cd0940a 112h8500-tdep.c
b1de302a 113hp300ux-nat.c
76b731f9 114hppa-pinsn.c
66a1aa07 115hppa-tdep.c
ca048722 116hppab-nat.c
ca048722 117hppah-nat.c
eeadf5c2
RP
118i386-pinsn.c
119i386-stub.c
120i386-tdep.c
2c7ab4ca 121i386aix-nat.c
0e35d2f3 122i386b-nat.c
0bea8fb1 123i386lynx-nat.c
a113beac 124i386mach-nat.c
c7c94073 125i386v-nat.c
4d0eabff 126i386v4-nat.c
56d921a8 127i387-tdep.c
eeadf5c2
RP
128i960-pinsn.c
129i960-tdep.c
eeadf5c2
RP
130infcmd.c
131inferior.h
132inflow.c
133infptrace.c
134infrun.c
eeadf5c2 135inftarg.c
a70dc898 136irix4-nat.c
4aadcb02 137isi-xdep.c
eeadf5c2 138kdb-start.c
56d921a8
JG
139language.c
140language.h
141m2-exp.y
22e39759
FF
142m2-lang.c
143m2-lang.h
a8a69e63
FF
144m2-typeprint.c
145m2-valprint.c
eeadf5c2
RP
146m68k-pinsn.c
147m68k-stub.c
148m68k-tdep.c
173a4f1b 149m88k-nat.c
eeadf5c2
RP
150m88k-pinsn.c
151m88k-tdep.c
eeadf5c2 152main.c
0239d9b3 153maint.c
eeadf5c2 154mem-break.c
1111151a 155minimon.h
a1f596f4 156minsyms.c
a70dc898 157mips-nat.c
eeadf5c2
RP
158mips-pinsn.c
159mips-tdep.c
eeadf5c2 160mipsread.c
2f1c04d1 161monitor.h
eeadf5c2
RP
162munch
163news-xdep.c
164nindy-share
165nindy-tdep.c
db85f523 166nlmread.c
eeadf5c2
RP
167ns32k-opcode.h
168ns32k-pinsn.c
a1f596f4 169objfiles.c
5e2e79f8 170objfiles.h
e4dd52dd 171paread.c
56d921a8
JG
172parse.c
173parser-defs.h
7e258d18 174partial-stab.h
eeadf5c2 175printcmd.c
6fccdaf4 176procfs.c
eeadf5c2 177putenv.c
eeadf5c2
RP
178pyr-pinsn.c
179pyr-tdep.c
180pyr-xdep.c
181regex.c
182regex.h
183rem-multi.shar
1111151a 184remote-adapt.c
203a8d54 185remote-bug.c
eeadf5c2 186remote-eb.c
91c87211 187remote-es.c
d93b79d9 188remote-hms.c
c2a0f1cb 189remote-mips.c
1111151a 190remote-mm.c
2f1c04d1 191remote-monitor.c
eeadf5c2 192remote-nindy.c
ec25d19b 193remote-sim.c
91c87211 194remote-st.c
e4dd52dd 195remote-udi.c
eeadf5c2 196remote-vx.c
2aedd91e 197remote-z8k.c
eeadf5c2 198remote.c
dc48694c 199rs6000-nat.c
6373dbe3
JG
200rs6000-pinsn.c
201rs6000-tdep.c
eeadf5c2 202saber.suppress
ddce75e0 203ser-go32.c
4d551aa3 204ser-tcp.c
e8a5f0ed
SG
205ser-unix.c
206serial.c
ddce75e0 207serial.h
9faacb92 208sh-tdep.c
eeadf5c2 209signals.h
eeadf5c2 210solib.c
a1f596f4 211solib.h
eeadf5c2 212source.c
dfc82617 213sparc-nat.c
eeadf5c2 214sparc-pinsn.c
c9715956 215sparc-stub.c
eeadf5c2 216sparc-tdep.c
a96c3444 217sparclite
d07734e3
FF
218stabsread.c
219stabsread.h
eeadf5c2
RP
220stack.c
221standalone.c
eeadf5c2 222stuff.c
dc48694c 223sun3-nat.c
61bbb1c2 224sun386-nat.c
eeadf5c2
RP
225symfile.c
226symfile.h
d39d83c1 227symm-nat.c
203a8d54 228symm-tdep.c
eeadf5c2
RP
229symmisc.c
230symtab.c
231symtab.h
eeadf5c2
RP
232tahoe-pinsn.c
233target.c
234target.h
eeadf5c2 235terminal.h
a2df03aa 236testsuite
6a21c756
SG
237thread.c
238thread.h
a8a69e63
FF
239typeprint.c
240typeprint.h
6bf98ac0 241ultra3-nat.c
1111151a 242ultra3-xdep.c
eeadf5c2
RP
243umax-xdep.c
244utils.c
245valarith.c
246valops.c
247valprint.c
a8a69e63 248valprint.h
eeadf5c2
RP
249value.h
250values.c
eeadf5c2
RP
251vax-pinsn.c
252vx-share
6373dbe3
JG
253xcoffexec.c
254xcoffread.c
1eeba686
PB
255xcoffsolib.c
256xcoffsolib.h
2aedd91e 257z8k-tdep.c
eeadf5c2 258
87756e15 259
f747d259 260# Things which are explicitly *not* kept, for now.
2b577349
JG
261# deblib/ - CVS won't let you blow away directories yet,
262# so this is still around from when Stu checked
263# it in, as part of Lucid support.
743b663c
FF
264# energize - Part of Lucid support.
265# energize-patches - Part of Lucid support.
266# energize.c - Part of Lucid support.
267# energize.h - Part of Lucid support.
2b577349
JG
268# infrun.hacked.c - An old version of infrun.c that had some
269# wait_for_inferior improvements by gnu,
270# which were never fully debugged.
271# remote-sa.sparc.c - Remote target for a standalone SPARC, using
272# the FORTH console ROMs. We never got the paperwork
273# straight, since Sun's lawyers messed with the
274# FSF contract and RMS didn't accept the changes.
275# Written at SunLabs.
743b663c
FF
276# state.c - Not used at the moment, keep for reference (fnf)
277# state.h - Not used at the moment, keep for reference (fnf)
2b577349
JG
278# tests - Old test programs for GDB, pre-gdbtest and pre-
279# DejaGnu.
f747d259 280
87756e15
RP
281Things-to-lose:
282
283deblib
284energize
285energize-patches
286energize.c
287energize.h
288infrun.hacked.c
289remote-sa.sparc.c
290state.c
291state.h
292tests
293
eeadf5c2
RP
294Do-last:
295
85b9835f
DE
296echo Looking for signs of \"v9\"...
297
298# Don't try to clean directories here, as the 'mv' command will fail.
299# Also, grep fails on NFS mounted directories.
300if ( echo $* | grep keep\-v9 > /dev/null ) ; then
301 for i in * ; do
302 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
303 echo Keeping v9 stuff in $i
304 fi
305 done
306else
307 for i in * ; do
308 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
309 echo Cleaning the \"v9\" out of $i...
310 cp $i new
311 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
312 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
313 echo Caching $i in .Recover...
314 mv $i .Recover
315 fi
316 mv new $i
317 fi
318 done
319fi
320
eeadf5c2 321# End of file.
This page took 0.109313 seconds and 4 git commands to generate.