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