* complaints.c: New file, code moved from utils.c.
[deliverable/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\-chill > /dev/null ) ; then
19 keep_these_too="ch-exp.y ch-lang.c ch-lang.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 COPYING
32 ChangeLog
33 ChangeLog-3.x
34 ChangeLog-9091
35 Convex.notes
36 Makefile.in
37 NEWS
38 Projects
39 README
40 TODO
41 a68v-nat.c
42 alldeps.mak
43 alloca.c
44 altos-xdep.c
45 am29k-opcode.h
46 am29k-pinsn.c
47 am29k-tdep.c
48 arm-convert.s
49 arm-pinsn.c
50 arm-tdep.c
51 arm-xdep.c
52 blockframe.c
53 breakpoint.c
54 breakpoint.h
55 buildsym.c
56 buildsym.h
57 c-exp.y
58 c-lang.c
59 c-lang.h
60 call-cmds.h
61 coffread.c
62 command.c
63 command.h
64 complaints.c
65 complaints.h
66 config
67 configure.in
68 convex-pinsn.c
69 convex-tdep.c
70 convex-xdep.c
71 convx-opcode.h
72 copying.awk
73 copying.c
74 core.c
75 coredep.c
76 corelow.c
77 createtags
78 dbxread.c
79 defs.h
80 demangle.c
81 depend
82 doc
83 dwarfread.c
84 elfread.c
85 environ.c
86 environ.h
87 eval.c
88 exec.c
89 expprint.c
90 expression.h
91 findvar.c
92 fork-child.c
93 frame.h
94 gcc.patch
95 gdb-stabs.h
96 gdb.1
97 gdbcmd.h
98 gdbcore.h
99 gdbtypes.c
100 gdbtypes.h
101 go32-nat.c
102 go32-xdep.c
103 gould-pinsn.c
104 gould-xdep.c
105 h8300-tdep.c
106 hp300ux-nat.c
107 hppa-pinsn.c
108 hppab-core.c
109 hppab-nat.c
110 hppab-tdep.c
111 hppah-nat.c
112 hppah-tdep.c
113 i386-pinsn.c
114 i386-stub.c
115 i386-tdep.c
116 i386b-nat.c
117 i386mach-nat.c
118 i386v-nat.c
119 i386v4-nat.c
120 i387-tdep.c
121 i960-pinsn.c
122 i960-tdep.c
123 ieee-float.c
124 ieee-float.h
125 infcmd.c
126 inferior.h
127 inflow.c
128 infptrace.c
129 infrun.c
130 inftarg.c
131 irix4-nat.c
132 kdb-start.c
133 language.c
134 language.h
135 m2-exp.y
136 m2-lang.c
137 m2-lang.h
138 m68k-pinsn.c
139 m68k-stub.c
140 m68k-tdep.c
141 m88k-nat.c
142 m88k-pinsn.c
143 m88k-tdep.c
144 main.c
145 maint.c
146 mem-break.c
147 minimon.h
148 minsyms.c
149 mips-nat.c
150 mips-pinsn.c
151 mips-tdep.c
152 mipsread.c
153 munch
154 news-xdep.c
155 nindy-share
156 nindy-tdep.c
157 nm-apollo68b.h
158 nm-apollo68v.h
159 nm-delta88.h
160 nm-hp300bsd.h
161 nm-hp300hpux.h
162 nm-hppab.h
163 nm-hppah.h
164 nm-i386bsd.h
165 nm-i386mach.h
166 nm-i386sco.h
167 nm-i386v.h
168 nm-i386v4.h
169 nm-irix3.h
170 nm-irix4.h
171 nm-linux.h
172 nm-m88k.h
173 nm-mips.h
174 nm-news.h
175 nm-rs6000.h
176 nm-sun2.h
177 nm-sun3.h
178 nm-sun386.h
179 nm-sun4os4.h
180 nm-sysv4.h
181 nm-trash.h
182 nm-ultra3.h
183 nm-umax.h
184 nm-vax.h
185 ns32k-opcode.h
186 ns32k-pinsn.c
187 objfiles.c
188 objfiles.h
189 os68k-xdep.c
190 parse.c
191 parser-defs.h
192 partial-stab.h
193 printcmd.c
194 procfs.c
195 putenv.c
196 pyr-pinsn.c
197 pyr-tdep.c
198 pyr-xdep.c
199 regex.c
200 regex.h
201 rem-multi.shar
202 remote-adapt.c
203 remote-eb.c
204 remote-es1800.c
205 remote-hms.c
206 remote-mm.c
207 remote-nindy.c
208 remote-st2000.c
209 remote-vx.c
210 remote.c
211 rs6000-nat.c
212 rs6000-pinsn.c
213 rs6000-tdep.c
214 saber.suppress
215 ser-bsd.c
216 ser-go32.c
217 ser-termios.c
218 serial.h
219 signals.h
220 solib.c
221 solib.h
222 source.c
223 sparc-nat.c
224 sparc-pinsn.c
225 sparc-stub.c
226 sparc-tdep.c
227 stabsread.c
228 stabsread.h
229 stack.c
230 standalone.c
231 stuff.c
232 sun3-nat.c
233 sun386-nat.c
234 symfile.c
235 symfile.h
236 symm-tdep.c
237 symm-xdep.c
238 symmisc.c
239 symtab.c
240 symtab.h
241 tahoe-pinsn.c
242 target.c
243 target.h
244 terminal.h
245 tm-29k.h
246 tm-3b1.h
247 tm-68k-noun.h
248 tm-68k-un.h
249 tm-68k.h
250 tm-altos.h
251 tm-amix.h
252 tm-arm.h
253 tm-bigmips.h
254 tm-convex.h
255 tm-delta88.h
256 tm-es1800.h
257 tm-h8300.h
258 tm-hp300bsd.h
259 tm-hp300hpux.h
260 tm-hppa.h
261 tm-hppab.h
262 tm-hppah.h
263 tm-i386bsd.h
264 tm-i386v.h
265 tm-i386v4.h
266 tm-i960.h
267 tm-irix3.h
268 tm-isi.h
269 tm-linux.h
270 tm-m88k.h
271 tm-merlin.h
272 tm-mips.h
273 tm-news.h
274 tm-nindy960.h
275 tm-np1.h
276 tm-os68k.h
277 tm-pn.h
278 tm-pyr.h
279 tm-rs6000.h
280 tm-sparc.h
281 tm-spc-noun.h
282 tm-spc-un.h
283 tm-st2000.h
284 tm-stratus.h
285 tm-sun2.h
286 tm-sun2os4.h
287 tm-sun3.h
288 tm-sun386.h
289 tm-sun3os4.h
290 tm-sun4os4.h
291 tm-sun4sol2.h
292 tm-sunos.h
293 tm-symmetry.h
294 tm-sysv4.h
295 tm-tahoe.h
296 tm-ultra3.h
297 tm-umax.h
298 tm-vax.h
299 tm-vx68.h
300 tm-vx960.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 value.h
309 values.c
310 vax-pinsn.c
311 vx-share
312 xcoffexec.c
313 xcoffread.c
314 xcoffsolib.c
315 xcoffsolib.h
316 xm-3b1.h
317 xm-altos.h
318 xm-amix.h
319 xm-apollo68b.h
320 xm-apollo68v.h
321 xm-arm.h
322 xm-bigmips.h
323 xm-convex.h
324 xm-delta88.h
325 xm-go32.h
326 xm-hp300bsd.h
327 xm-hp300hpux.h
328 xm-hppab.h
329 xm-hppah.h
330 xm-i386bsd.h
331 xm-i386mach.h
332 xm-i386sco.h
333 xm-i386v.h
334 xm-i386v32.h
335 xm-i386v4.h
336 xm-irix3.h
337 xm-irix4.h
338 xm-isi.h
339 xm-linux.h
340 xm-m68k.h
341 xm-m88k.h
342 xm-merlin.h
343 xm-mips.h
344 xm-news.h
345 xm-news1000.h
346 xm-np1.h
347 xm-pn.h
348 xm-pyr.h
349 xm-rs6000.h
350 xm-rtbsd.h
351 xm-sparc.h
352 xm-stratus.h
353 xm-sun2.h
354 xm-sun3.h
355 xm-sun386.h
356 xm-sun3os4.h
357 xm-sun4os4.h
358 xm-sun4sol2.h
359 xm-symmetry.h
360 xm-sysv4.h
361 xm-tahoe.h
362 xm-ultra3.h
363 xm-umax.h
364 xm-vax.h
365 xm-vaxbsd.h
366 xm-vaxult.h
367
368 Do-last:
369
370 echo Thawing away the \"chill\"...
371
372 # Don't try to clean directories here, as the 'mv' command will fail.
373 # Also, grep fails on NFS mounted directories.
374 if ( echo $* | grep keep\-chill > /dev/null ) ; then
375 for i in * ; do
376 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
377 echo Keeping chill stuff in $i
378 fi
379 done
380 else
381 for i in * ; do
382 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
383 echo Thawing the \"chill\" out of $i...
384 cp $i new
385 sed '/start\-sanitize\-chill/,/end-\sanitize\-chill/d' < $i > new
386 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
387 echo Caching $i in .Recover...
388 mv $i .Recover
389 fi
390 mv new $i
391 fi
392 done
393 echo Thawing the \"chill\" out of Makefile.in...
394 cp Makefile.in new
395 sed -e 's/$(srcdir)\/ch-exp.y//g' \
396 -e 's/${srcdir}\/ch-exp.y//g' \
397 -e 's/ch-exp.y//g' \
398 -e 's/ch-exp.tab.c//g' \
399 -e 's/ch-exp.tab.o//g' \
400 -e 's/ch-lang.h//g' \
401 -e 's/ch-lang.c//g' \
402 -e 's/ch-lang.o//g' \
403 < Makefile.in > new
404 if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then
405 echo Caching Makefile.in in .Recover...
406 mv Makefile.in .Recover
407 fi
408 mv new Makefile.in
409 fi
410
411 # End of file.
This page took 0.040856 seconds and 5 git commands to generate.