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