* Rename files for 14-character limits:
[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 remote-sp64sim.c remote-sim.h"
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 coffread.c
67 command.c
68 command.h
69 complaints.c
70 complaints.h
71 config
72 configure.in
73 convex-pinsn.c
74 convex-tdep.c
75 convex-xdep.c
76 copying.awk
77 copying.c
78 core-svr4.c
79 core.c
80 coredep.c
81 corelow.c
82 cp-valprint.c
83 dbxread.c
84 defs.h
85 delta68-nat.c
86 demangle.c
87 doc
88 dpx2-nat.c
89 dwarfread.c
90 elfread.c
91 environ.c
92 environ.h
93 eval.c
94 exec.c
95 expprint.c
96 expression.h
97 findvar.c
98 fork-child.c
99 frame.h
100 gcc.patch
101 gdb-stabs.h
102 gdb.1
103 gdbcmd.h
104 gdbcore.h
105 gdbserver
106 gdbtypes.c
107 gdbtypes.h
108 go32-xdep.c
109 gould-pinsn.c
110 gould-xdep.c
111 h8300-tdep.c
112 h8500-tdep.c
113 hp300ux-nat.c
114 hppa-pinsn.c
115 hppa-tdep.c
116 hppab-nat.c
117 hppah-nat.c
118 i386-pinsn.c
119 i386-stub.c
120 i386-tdep.c
121 i386aix-nat.c
122 i386b-nat.c
123 i386lynx-nat.c
124 i386mach-nat.c
125 i386v-nat.c
126 i386v4-nat.c
127 i387-tdep.c
128 i960-pinsn.c
129 i960-tdep.c
130 infcmd.c
131 inferior.h
132 inflow.c
133 infptrace.c
134 infrun.c
135 inftarg.c
136 irix4-nat.c
137 isi-xdep.c
138 kdb-start.c
139 language.c
140 language.h
141 m2-exp.y
142 m2-lang.c
143 m2-lang.h
144 m2-typeprint.c
145 m2-valprint.c
146 m68k-pinsn.c
147 m68k-stub.c
148 m68k-tdep.c
149 m88k-nat.c
150 m88k-pinsn.c
151 m88k-tdep.c
152 main.c
153 maint.c
154 mem-break.c
155 minimon.h
156 minsyms.c
157 mips-nat.c
158 mips-pinsn.c
159 mips-tdep.c
160 mipsread.c
161 monitor.h
162 munch
163 news-xdep.c
164 nindy-share
165 nindy-tdep.c
166 nlmread.c
167 ns32k-opcode.h
168 ns32k-pinsn.c
169 objfiles.c
170 objfiles.h
171 paread.c
172 parse.c
173 parser-defs.h
174 partial-stab.h
175 printcmd.c
176 procfs.c
177 putenv.c
178 pyr-pinsn.c
179 pyr-tdep.c
180 pyr-xdep.c
181 regex.c
182 regex.h
183 rem-multi.shar
184 remote-adapt.c
185 remote-bug.c
186 remote-eb.c
187 remote-es.c
188 remote-hms.c
189 remote-mips.c
190 remote-mm.c
191 remote-mon.c
192 remote-nindy.c
193 remote-sim.c
194 remote-st.c
195 remote-udi.c
196 remote-vx.c
197 remote-z8k.c
198 remote.c
199 rs6000-nat.c
200 rs6000-pinsn.c
201 rs6000-tdep.c
202 saber.suppress
203 ser-go32.c
204 ser-tcp.c
205 ser-unix.c
206 serial.c
207 serial.h
208 sh-tdep.c
209 signals.h
210 solib.c
211 solib.h
212 source.c
213 sparc-nat.c
214 sparc-pinsn.c
215 sparc-stub.c
216 sparc-tdep.c
217 sparclite
218 stabsread.c
219 stabsread.h
220 stack.c
221 standalone.c
222 stuff.c
223 sun3-nat.c
224 sun386-nat.c
225 symfile.c
226 symfile.h
227 symm-nat.c
228 symm-tdep.c
229 symmisc.c
230 symtab.c
231 symtab.h
232 tahoe-pinsn.c
233 target.c
234 target.h
235 terminal.h
236 testsuite
237 thread.c
238 thread.h
239 typeprint.c
240 typeprint.h
241 ultra3-nat.c
242 ultra3-xdep.c
243 umax-xdep.c
244 utils.c
245 valarith.c
246 valops.c
247 valprint.c
248 valprint.h
249 value.h
250 values.c
251 vax-pinsn.c
252 vx-share
253 xcoffexec.c
254 xcoffread.c
255 xcoffsolib.c
256 xcoffsolib.h
257 z8k-tdep.c
258
259
260 # Things which are explicitly *not* kept, for now.
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.
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.
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.
276 # state.c - Not used at the moment, keep for reference (fnf)
277 # state.h - Not used at the moment, keep for reference (fnf)
278 # tests - Old test programs for GDB, pre-gdbtest and pre-
279 # DejaGnu.
280
281 Things-to-lose:
282
283 deblib
284 energize
285 energize-patches
286 energize.c
287 energize.h
288 infrun.hacked.c
289 remote-sa.sparc.c
290 state.c
291 state.h
292 tests
293
294 Do-last:
295
296 echo 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.
300 if ( 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
306 else
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
319 fi
320
321 # End of file.