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