* scripttempl/mipsbsd.sc: Let sections align to their natural
[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\-mpw > /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-svr4.c
110 core.c
111 coredep.c
112 corelow.c
113 cp-valprint.c
114 dbxread.c
115 dcache.c
116 dcache.h
117 defs.h
118 delta68-nat.c
119 demangle.c
120 doc
121 dpx2-nat.c
122 dst.h
123 dstread.c
124 dwarfread.c
125 elfread.c
126 environ.c
127 environ.h
128 eval.c
129 exec.c
130 expprint.c
131 expression.h
132 findvar.c
133 fork-child.c
134 frame.h
135 gcc.patch
136 gdb-stabs.h
137 gdb.1
138 gdba.el
139 gdbcmd.h
140 gdbcore.h
141 gdbserver
142 gdbtypes.c
143 gdbtypes.h
144 go32-xdep.c
145 gould-pinsn.c
146 gould-xdep.c
147 h8300-tdep.c
148 h8500-tdep.c
149 hp300ux-nat.c
150 hppa-pinsn.c
151 hppa-tdep.c
152 hppab-nat.c
153 hppah-nat.c
154 i386-nlmstub.c
155 i386-pinsn.c
156 i386-stub.c
157 i386-tdep.c
158 i386aix-nat.c
159 i386b-nat.c
160 i386ly-tdep.c
161 i386m3-nat.c
162 i386mach-nat.c
163 i386v-nat.c
164 i386v4-nat.c
165 i387-tdep.c
166 i960-pinsn.c
167 i960-tdep.c
168 infcmd.c
169 inferior.h
170 inflow.c
171 infptrace.c
172 infrun.c
173 inftarg.c
174 irix4-nat.c
175 irix5-nat.c
176 isi-xdep.c
177 kdb-start.c
178 language.c
179 language.h
180 lynx-nat.c
181 m2-exp.y
182 m2-lang.c
183 m2-lang.h
184 m2-typeprint.c
185 m2-valprint.c
186 m3-nat.c
187 m68k-pinsn.c
188 m68k-stub.c
189 m68k-tdep.c
190 m88k-nat.c
191 m88k-pinsn.c
192 m88k-tdep.c
193 main.c
194 maint.c
195 mdebugread.c
196 mem-break.c
197 minimon.h
198 minsyms.c
199 mips-nat.c
200 mips-pinsn.c
201 mips-tdep.c
202 mipsm3-nat.c
203 mipsv4-nat.c
204 mipsread.c
205 monitor.h
206 news-xdep.c
207 nindy-share
208 nindy-tdep.c
209 nlmread.c
210 ns32k-opcode.h
211 ns32k-pinsn.c
212 ns32km3-nat.c
213 objfiles.c
214 objfiles.h
215 os9kread.c
216 osfsolib.c
217 paread.c
218 parse.c
219 parser-defs.h
220 partial-stab.h
221 printcmd.c
222 procfs.c
223 ptx4-nat.c
224 pyr-pinsn.c
225 pyr-tdep.c
226 pyr-xdep.c
227 regex.c
228 regex.h
229 rem-multi.shar
230 remote-adapt.c
231 remote-bug.c
232 remote-e7000.c
233 remote-eb.c
234 remote-es.c
235 remote-hms.c
236 remote-mips.c
237 remote-mm.c
238 remote-mon.c
239 remote-nindy.c
240 remote-os9k.c
241 remote-sim.c
242 remote-sim.h
243 remote-st.c
244 remote-udi.c
245 remote-utils.c
246 remote-utils.h
247 remote-vx.c
248 remote-z8k.c
249 remote.c
250 rs6000-nat.c
251 rs6000-pinsn.c
252 rs6000-tdep.c
253 saber.suppress
254 ser-go32.c
255 ser-tcp.c
256 ser-unix.c
257 serial.c
258 serial.h
259 sh-tdep.c
260 signals.h
261 solib.c
262 solib.h
263 source.c
264 sp64-tdep.c
265 sparc-nat.c
266 sparc-pinsn.c
267 sparc-stub.c
268 sparc-tdep.c
269 sparcl-stub.c
270 sparcl-tdep.c
271 sparclite
272 stabsread.c
273 stabsread.h
274 stack.c
275 standalone.c
276 stop-gdb.c
277 stuff.c
278 sun3-nat.c
279 sun386-nat.c
280 symfile.c
281 symfile.h
282 symm-nat.c
283 symm-tdep.c
284 symmisc.c
285 symtab.c
286 symtab.h
287 tahoe-pinsn.c
288 target.c
289 target.h
290 terminal.h
291 testsuite
292 thread.c
293 thread.h
294 top.c
295 top.h
296 typeprint.c
297 typeprint.h
298 ultra3-nat.c
299 ultra3-xdep.c
300 umax-xdep.c
301 utils.c
302 valarith.c
303 valops.c
304 valprint.c
305 valprint.h
306 value.h
307 values.c
308 vax-pinsn.c
309 vx-share
310 xcoffexec.c
311 xcoffread.c
312 xcoffsolib.c
313 xcoffsolib.h
314 z8k-tdep.c
315
316
317 # Things which are explicitly *not* kept, for now.
318 # deblib/ - CVS won't let you blow away directories yet,
319 # so this is still around from when Stu checked
320 # it in, as part of Lucid support.
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 deblib
338 energize
339 energize-patches
340 energize.c
341 energize.h
342 remote-sa.sparc.c
343 state.c
344 state.h
345 tests
346
347 Do-last:
348
349 echo Removing traces of \"mpw\"...
350
351 # Don't try to clean directories here, as the 'mv' command will fail.
352 # Also, grep fails on NFS mounted directories.
353 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
354 for i in * ; do
355 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
356 echo Keeping mpw stuff in $i
357 fi
358 done
359 else
360 for i in * ; do
361 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
362 echo Removing traces of \"mpw\" out of $i...
363 cp $i new
364 sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/d' < $i > new
365 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
366 echo Caching $i in .Recover...
367 mv $i .Recover
368 fi
369 mv new $i
370 fi
371 done
372 fi
373
374 # End of file.
This page took 0.036547 seconds and 4 git commands to generate.