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