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