use remote-utils facilities for baud_rate
[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 83dbxread.c
755892d6
RP
84dcache.c
85dcache.h
eeadf5c2 86defs.h
be0ed5bb 87delta68-nat.c
2dbde378 88demangle.c
eeadf5c2 89doc
0a8f1742 90dpx2-nat.c
6fccdaf4
FF
91dwarfread.c
92elfread.c
eeadf5c2
RP
93environ.c
94environ.h
95eval.c
96exec.c
97expprint.c
eeadf5c2
RP
98expression.h
99findvar.c
e745abe5 100fork-child.c
eeadf5c2 101frame.h
5c5b5d4b 102gcc.patch
ed7c0948 103gdb-stabs.h
0857b46a 104gdb.1
eeadf5c2
RP
105gdbcmd.h
106gdbcore.h
463a71db 107gdbserver
a1f596f4
FF
108gdbtypes.c
109gdbtypes.h
ae0ea72e 110go32-xdep.c
eeadf5c2
RP
111gould-pinsn.c
112gould-xdep.c
0a8ed751 113h8300-tdep.c
5cd0940a 114h8500-tdep.c
b1de302a 115hp300ux-nat.c
76b731f9 116hppa-pinsn.c
66a1aa07 117hppa-tdep.c
ca048722 118hppab-nat.c
ca048722 119hppah-nat.c
eeadf5c2
RP
120i386-pinsn.c
121i386-stub.c
122i386-tdep.c
2c7ab4ca 123i386aix-nat.c
0e35d2f3 124i386b-nat.c
0bea8fb1 125i386lynx-nat.c
a113beac 126i386mach-nat.c
c7c94073 127i386v-nat.c
4d0eabff 128i386v4-nat.c
56d921a8 129i387-tdep.c
eeadf5c2
RP
130i960-pinsn.c
131i960-tdep.c
eeadf5c2
RP
132infcmd.c
133inferior.h
134inflow.c
135infptrace.c
136infrun.c
eeadf5c2 137inftarg.c
a70dc898 138irix4-nat.c
4aadcb02 139isi-xdep.c
eeadf5c2 140kdb-start.c
56d921a8
JG
141language.c
142language.h
143m2-exp.y
22e39759
FF
144m2-lang.c
145m2-lang.h
a8a69e63
FF
146m2-typeprint.c
147m2-valprint.c
eeadf5c2
RP
148m68k-pinsn.c
149m68k-stub.c
150m68k-tdep.c
173a4f1b 151m88k-nat.c
eeadf5c2
RP
152m88k-pinsn.c
153m88k-tdep.c
eeadf5c2 154main.c
0239d9b3 155maint.c
eeadf5c2 156mem-break.c
1111151a 157minimon.h
a1f596f4 158minsyms.c
a70dc898 159mips-nat.c
eeadf5c2
RP
160mips-pinsn.c
161mips-tdep.c
eeadf5c2 162mipsread.c
2f1c04d1 163monitor.h
eeadf5c2
RP
164munch
165news-xdep.c
166nindy-share
167nindy-tdep.c
db85f523 168nlmread.c
eeadf5c2
RP
169ns32k-opcode.h
170ns32k-pinsn.c
a1f596f4 171objfiles.c
5e2e79f8 172objfiles.h
e4dd52dd 173paread.c
56d921a8
JG
174parse.c
175parser-defs.h
7e258d18 176partial-stab.h
eeadf5c2 177printcmd.c
6fccdaf4 178procfs.c
eeadf5c2 179putenv.c
eeadf5c2
RP
180pyr-pinsn.c
181pyr-tdep.c
182pyr-xdep.c
183regex.c
184regex.h
185rem-multi.shar
1111151a 186remote-adapt.c
203a8d54 187remote-bug.c
eeadf5c2 188remote-eb.c
91c87211 189remote-es.c
d93b79d9 190remote-hms.c
c2a0f1cb 191remote-mips.c
1111151a 192remote-mm.c
c033ec17 193remote-mon.c
eeadf5c2 194remote-nindy.c
ec25d19b 195remote-sim.c
91c87211 196remote-st.c
e4dd52dd 197remote-udi.c
eeadf5c2 198remote-vx.c
2aedd91e 199remote-z8k.c
eeadf5c2 200remote.c
dc48694c 201rs6000-nat.c
6373dbe3
JG
202rs6000-pinsn.c
203rs6000-tdep.c
eeadf5c2 204saber.suppress
ddce75e0 205ser-go32.c
4d551aa3 206ser-tcp.c
e8a5f0ed
SG
207ser-unix.c
208serial.c
ddce75e0 209serial.h
9faacb92 210sh-tdep.c
eeadf5c2 211signals.h
eeadf5c2 212solib.c
a1f596f4 213solib.h
eeadf5c2 214source.c
dfc82617 215sparc-nat.c
eeadf5c2 216sparc-pinsn.c
c9715956 217sparc-stub.c
eeadf5c2 218sparc-tdep.c
a96c3444 219sparclite
d07734e3
FF
220stabsread.c
221stabsread.h
eeadf5c2
RP
222stack.c
223standalone.c
eeadf5c2 224stuff.c
dc48694c 225sun3-nat.c
61bbb1c2 226sun386-nat.c
eeadf5c2
RP
227symfile.c
228symfile.h
d39d83c1 229symm-nat.c
203a8d54 230symm-tdep.c
eeadf5c2
RP
231symmisc.c
232symtab.c
233symtab.h
eeadf5c2
RP
234tahoe-pinsn.c
235target.c
236target.h
eeadf5c2 237terminal.h
a2df03aa 238testsuite
6a21c756
SG
239thread.c
240thread.h
a8a69e63
FF
241typeprint.c
242typeprint.h
6bf98ac0 243ultra3-nat.c
1111151a 244ultra3-xdep.c
eeadf5c2
RP
245umax-xdep.c
246utils.c
247valarith.c
248valops.c
249valprint.c
a8a69e63 250valprint.h
eeadf5c2
RP
251value.h
252values.c
eeadf5c2
RP
253vax-pinsn.c
254vx-share
6373dbe3
JG
255xcoffexec.c
256xcoffread.c
1eeba686
PB
257xcoffsolib.c
258xcoffsolib.h
2aedd91e 259z8k-tdep.c
eeadf5c2 260
87756e15 261
f747d259 262# Things which are explicitly *not* kept, for now.
2b577349
JG
263# deblib/ - CVS won't let you blow away directories yet,
264# so this is still around from when Stu checked
265# it in, as part of Lucid support.
743b663c
FF
266# energize - Part of Lucid support.
267# energize-patches - Part of Lucid support.
268# energize.c - Part of Lucid support.
269# energize.h - Part of Lucid support.
72dd16ea
ILT
270# i386-nlmstub.c - i386 NLM stub, not yet distributable because
271# it contains Novell proprietary code.
2b577349
JG
272# infrun.hacked.c - An old version of infrun.c that had some
273# wait_for_inferior improvements by gnu,
274# which were never fully debugged.
275# remote-sa.sparc.c - Remote target for a standalone SPARC, using
276# the FORTH console ROMs. We never got the paperwork
277# straight, since Sun's lawyers messed with the
278# FSF contract and RMS didn't accept the changes.
279# Written at SunLabs.
743b663c
FF
280# state.c - Not used at the moment, keep for reference (fnf)
281# state.h - Not used at the moment, keep for reference (fnf)
2b577349
JG
282# tests - Old test programs for GDB, pre-gdbtest and pre-
283# DejaGnu.
f747d259 284
87756e15
RP
285Things-to-lose:
286
287deblib
288energize
289energize-patches
290energize.c
291energize.h
72dd16ea 292i386-nlmstub.c
87756e15
RP
293infrun.hacked.c
294remote-sa.sparc.c
295state.c
296state.h
297tests
298
eeadf5c2
RP
299Do-last:
300
85b9835f
DE
301echo Looking for signs of \"v9\"...
302
303# Don't try to clean directories here, as the 'mv' command will fail.
304# Also, grep fails on NFS mounted directories.
305if ( echo $* | grep keep\-v9 > /dev/null ) ; then
306 for i in * ; do
307 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
308 echo Keeping v9 stuff in $i
309 fi
310 done
311else
312 for i in * ; do
313 if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then
314 echo Cleaning the \"v9\" out of $i...
315 cp $i new
316 sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new
317 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
318 echo Caching $i in .Recover...
319 mv $i .Recover
320 fi
321 mv new $i
322 fi
323 done
324fi
325
eeadf5c2 326# End of file.
This page took 0.115469 seconds and 4 git commands to generate.