* Beginnings of SOM shared library support. Breakpoints and
[deliverable/binutils-gdb.git] / gdb / .Sanitize
1 # .Sanitize for devo/gdb.
2
3 # Each directory to survive its 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 directory.
15
16 Do-first:
17
18 mpw_files="mpw-config.in mpw-make.in ser-mac.c mac-xdep.c mac-defs.h macgdb.r mpw-init.c ChangeLog.mpw"
19
20 if ( 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
25 else
26 lose_these_too="${mpw_files} ${lose_these_too}"
27 if [ -n "${verbose}" ] ; then
28 echo Deleting ${mpw_files}
29 fi
30 fi
31
32 hpread_files="hpread.c ChangeLog.hpread"
33
34 if ( 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
39 else
40 lose_these_too="${hpread_files} ${lose_these_too}"
41 if [ -n "${verbose}" ] ; then
42 echo Deleting ${hpread_files}
43 fi
44 fi
45
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
52 Things-to-keep:
53
54 .gdbinit
55 29k-share
56 COPYING
57 ChangeLog
58 ChangeLog-3.x
59 ChangeLog-9091
60 ChangeLog-92
61 ChangeLog-93
62 Makefile.in
63 NEWS
64 README
65 TODO
66 a29k-pinsn.c
67 a29k-tdep.c
68 a68v-nat.c
69 alpha-nat.c
70 alpha-tdep.c
71 altos-xdep.c
72 annotate.c
73 annotate.h
74 arm-convert.s
75 arm-pinsn.c
76 arm-tdep.c
77 arm-xdep.c
78 blockframe.c
79 breakpoint.c
80 breakpoint.h
81 buildsym.c
82 buildsym.h
83 c-exp.y
84 c-lang.c
85 c-lang.h
86 c-typeprint.c
87 c-valprint.c
88 call-cmds.h
89 ch-exp.y
90 ch-lang.c
91 ch-lang.h
92 ch-typeprint.c
93 ch-valprint.c
94 coff-solib.c
95 coff-solib.h
96 coffread.c
97 command.c
98 command.h
99 complaints.c
100 complaints.h
101 config
102 configure.in
103 convex-pinsn.c
104 convex-tdep.c
105 convex-xdep.c
106 copying.awk
107 copying.c
108 core-sol2.c
109 core-svr4.c
110 core.c
111 coredep.c
112 corelow.c
113 cp-valprint.c
114 cxux-nat.c
115 dbxread.c
116 dcache.c
117 dcache.h
118 defs.h
119 delta68-nat.c
120 demangle.c
121 doc
122 dpx2-nat.c
123 dst.h
124 dstread.c
125 dwarfread.c
126 elfread.c
127 environ.c
128 environ.h
129 eval.c
130 exec.c
131 expprint.c
132 expression.h
133 f-exp.y
134 f-lang.c
135 f-lang.h
136 f-typeprint.c
137 f-valprint.c
138 findvar.c
139 fork-child.c
140 frame.h
141 gcc.patch
142 gdb-stabs.h
143 gdb.1
144 gdba.el
145 gdbcmd.h
146 gdbcore.h
147 gdbserver
148 gdbtk.c
149 gdbtk.tcl
150 gdbtypes.c
151 gdbtypes.h
152 go32-xdep.c
153 gould-pinsn.c
154 gould-xdep.c
155 h8300-tdep.c
156 h8500-tdep.c
157 hp300ux-nat.c
158 hppa-pinsn.c
159 hppa-tdep.c
160 hppab-nat.c
161 hppah-nat.c
162 i386-pinsn.c
163 i386-stub.c
164 i386-tdep.c
165 i386aix-nat.c
166 i386b-nat.c
167 i386ly-tdep.c
168 i386m3-nat.c
169 i386mach-nat.c
170 i386v-nat.c
171 i386v4-nat.c
172 i387-tdep.c
173 i960-pinsn.c
174 i960-tdep.c
175 infcmd.c
176 inferior.h
177 inflow.c
178 infptrace.c
179 infrun.c
180 inftarg.c
181 irix4-nat.c
182 irix5-nat.c
183 isi-xdep.c
184 kdb-start.c
185 language.c
186 language.h
187 lynx-nat.c
188 m2-exp.y
189 m2-lang.c
190 m2-lang.h
191 m2-typeprint.c
192 m2-valprint.c
193 m3-nat.c
194 m68k-pinsn.c
195 m68k-stub.c
196 m68k-tdep.c
197 m88k-nat.c
198 m88k-pinsn.c
199 m88k-tdep.c
200 main.c
201 maint.c
202 mdebugread.c
203 mem-break.c
204 minimon.h
205 minsyms.c
206 mips-nat.c
207 mips-pinsn.c
208 mips-tdep.c
209 mipsm3-nat.c
210 mipsv4-nat.c
211 mipsread.c
212 monitor.h
213 monitor.c
214 news-xdep.c
215 nindy-share
216 nindy-tdep.c
217 nlm
218 nlmread.c
219 ns32k-pinsn.c
220 ns32km3-nat.c
221 objfiles.c
222 objfiles.h
223 op50-rom.c
224 os9kread.c
225 osfsolib.c
226 parse.c
227 parser-defs.h
228 partial-stab.h
229 printcmd.c
230 procfs.c
231 ptx4-nat.c
232 pyr-pinsn.c
233 pyr-tdep.c
234 pyr-xdep.c
235 regex.c
236 regex.h
237 rem-multi.shar
238 remote-adapt.c
239 remote-bug.c
240 remote-e7000.c
241 remote-eb.c
242 remote-es.c
243 remote-hms.c
244 remote-mips.c
245 remote-mm.c
246 remote-mon.c
247 remote-nindy.c
248 remote-os9k.c
249 remote-pa.c
250 remote-sim.c
251 remote-sim.h
252 remote-st.c
253 remote-udi.c
254 remote-utils.c
255 remote-utils.h
256 remote-vx.c
257 remote-z8k.c
258 remote.c
259 rs6000-nat.c
260 rs6000-pinsn.c
261 rs6000-tdep.c
262 saber.suppress
263 ser-e7kpc.c
264 ser-go32.c
265 ser-tcp.c
266 ser-unix.c
267 serial.c
268 serial.h
269 sh-tdep.c
270 signals.h
271 solib.c
272 solib.h
273 somread.c
274 somsolib.c
275 somsolib.h
276 source.c
277 sp64-tdep.c
278 sparc-nat.c
279 sparc-pinsn.c
280 sparc-stub.c
281 sparc-tdep.c
282 sparcl-stub.c
283 sparcl-tdep.c
284 sparclite
285 stabsread.c
286 stabsread.h
287 stack.c
288 standalone.c
289 stop-gdb.c
290 stuff.c
291 sun3-nat.c
292 sun386-nat.c
293 symfile.c
294 symfile.h
295 symm-nat.c
296 symm-tdep.c
297 symmisc.c
298 symtab.c
299 symtab.h
300 tahoe-pinsn.c
301 target.c
302 target.h
303 terminal.h
304 testsuite
305 thread.c
306 thread.h
307 top.c
308 top.h
309 typeprint.c
310 typeprint.h
311 ultra3-nat.c
312 ultra3-xdep.c
313 umax-xdep.c
314 utils.c
315 valarith.c
316 valops.c
317 valprint.c
318 valprint.h
319 value.h
320 values.c
321 vax-pinsn.c
322 vx-share
323 w89k-rom.c
324 xcoffread.c
325 xcoffsolib.c
326 xcoffsolib.h
327 z8k-tdep.c
328
329
330 # Things which are explicitly *not* kept, for now.
331 # energize - Part of Lucid support.
332 # energize-patches - Part of Lucid support.
333 # energize.c - Part of Lucid support.
334 # energize.h - Part of Lucid support.
335 # remote-sa.sparc.c - Remote target for a standalone SPARC, using
336 # the FORTH console ROMs. We never got the paperwork
337 # straight, since Sun's lawyers messed with the
338 # FSF contract and RMS didn't accept the changes.
339 # Written at SunLabs.
340 # state.c - Not used at the moment, keep for reference (fnf)
341 # state.h - Not used at the moment, keep for reference (fnf)
342
343 Things-to-lose:
344
345 energize
346 energize-patches
347 energize.c
348 energize.h
349 remote-sa.sparc.c
350 state.c
351 state.h
352
353 Do-last:
354
355 echo Removing traces of \"mpw\"...
356
357 # Don't try to clean directories here, as the 'mv' command will fail.
358 # Also, grep fails on NFS mounted directories.
359 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
360 for i in * ; do
361 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
362 echo Keeping mpw stuff in $i
363 fi
364 done
365 else
366 for i in * ; do
367 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
368 echo Removing traces of \"mpw\" out of $i...
369 cp $i new
370 sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/d' < $i > new
371 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
372 echo Caching $i in .Recover...
373 mv $i .Recover
374 fi
375 mv new $i
376 fi
377 done
378 fi
379
380 echo Removing traces of \"hpread\"...
381
382 # Don't try to clean directories here, as the 'mv' command will fail.
383 # Also, grep fails on NFS mounted directories.
384 if ( echo $* | grep keep\-hpread > /dev/null ) ; then
385 for i in * ; do
386 if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
387 echo Keeping hpread stuff in $i
388 fi
389 done
390 else
391 for i in * ; do
392 if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
393 echo Removing traces of \"hpread\" out of $i...
394 cp $i new
395 sed '/start\-sanitize\-hpread/,/end-\sanitize\-hpread/d' < $i > new
396 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
397 echo Caching $i in .Recover...
398 mv $i .Recover
399 fi
400 mv new $i
401 fi
402 done
403 fi
404
405
406 # End of file.
This page took 0.045063 seconds and 4 git commands to generate.