* ser-e7kpc.c: New file to support the E7000 with the PC ISA
[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-sol2.c
110 core-svr4.c
111 core.c
112 coredep.c
113 corelow.c
114 cp-valprint.c
115 dbxread.c
116 dcache.c
117 dcache.h
118 defs.h
119 delta68-nat.c
120 demangle.c
121 doc
122 dpx2-nat.c
123 dst.h
124 dstread.c
125 dwarfread.c
126 elfread.c
127 environ.c
128 environ.h
129 eval.c
130 exec.c
131 expprint.c
132 expression.h
133 findvar.c
134 fork-child.c
135 frame.h
136 gcc.patch
137 gdb-stabs.h
138 gdb.1
139 gdba.el
140 gdbcmd.h
141 gdbcore.h
142 gdbserver
143 gdbtypes.c
144 gdbtypes.h
145 go32-xdep.c
146 gould-pinsn.c
147 gould-xdep.c
148 h8300-tdep.c
149 h8500-tdep.c
150 hp300ux-nat.c
151 hppa-pinsn.c
152 hppa-tdep.c
153 hppab-nat.c
154 hppah-nat.c
155 i386-nlmstub.c
156 i386-pinsn.c
157 i386-stub.c
158 i386-tdep.c
159 i386aix-nat.c
160 i386b-nat.c
161 i386ly-tdep.c
162 i386m3-nat.c
163 i386mach-nat.c
164 i386v-nat.c
165 i386v4-nat.c
166 i387-tdep.c
167 i960-pinsn.c
168 i960-tdep.c
169 infcmd.c
170 inferior.h
171 inflow.c
172 infptrace.c
173 infrun.c
174 inftarg.c
175 irix4-nat.c
176 irix5-nat.c
177 isi-xdep.c
178 kdb-start.c
179 language.c
180 language.h
181 lynx-nat.c
182 m2-exp.y
183 m2-lang.c
184 m2-lang.h
185 m2-typeprint.c
186 m2-valprint.c
187 m3-nat.c
188 m68k-pinsn.c
189 m68k-stub.c
190 m68k-tdep.c
191 m88k-nat.c
192 m88k-pinsn.c
193 m88k-tdep.c
194 main.c
195 maint.c
196 mdebugread.c
197 mem-break.c
198 minimon.h
199 minsyms.c
200 mips-nat.c
201 mips-pinsn.c
202 mips-tdep.c
203 mipsm3-nat.c
204 mipsv4-nat.c
205 mipsread.c
206 monitor.h
207 news-xdep.c
208 nindy-share
209 nindy-tdep.c
210 nlmread.c
211 ns32k-opcode.h
212 ns32k-pinsn.c
213 ns32km3-nat.c
214 objfiles.c
215 objfiles.h
216 os9kread.c
217 osfsolib.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-e7kpc.c
255 ser-go32.c
256 ser-tcp.c
257 ser-unix.c
258 serial.c
259 serial.h
260 sh-tdep.c
261 signals.h
262 solib.c
263 solib.h
264 somread.c
265 source.c
266 sp64-tdep.c
267 sparc-nat.c
268 sparc-pinsn.c
269 sparc-stub.c
270 sparc-tdep.c
271 sparcl-stub.c
272 sparcl-tdep.c
273 sparclite
274 stabsread.c
275 stabsread.h
276 stack.c
277 standalone.c
278 stop-gdb.c
279 stuff.c
280 sun3-nat.c
281 sun386-nat.c
282 symfile.c
283 symfile.h
284 symm-nat.c
285 symm-tdep.c
286 symmisc.c
287 symtab.c
288 symtab.h
289 tahoe-pinsn.c
290 target.c
291 target.h
292 terminal.h
293 testsuite
294 thread.c
295 thread.h
296 top.c
297 top.h
298 typeprint.c
299 typeprint.h
300 ultra3-nat.c
301 ultra3-xdep.c
302 umax-xdep.c
303 utils.c
304 valarith.c
305 valops.c
306 valprint.c
307 valprint.h
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 z8k-tdep.c
317
318
319 # Things which are explicitly *not* kept, for now.
320 # deblib/ - CVS won't let you blow away directories yet,
321 # so this is still around from when Stu checked
322 # it in, as part of Lucid support.
323 # energize - Part of Lucid support.
324 # energize-patches - Part of Lucid support.
325 # energize.c - Part of Lucid support.
326 # energize.h - Part of Lucid support.
327 # remote-sa.sparc.c - Remote target for a standalone SPARC, using
328 # the FORTH console ROMs. We never got the paperwork
329 # straight, since Sun's lawyers messed with the
330 # FSF contract and RMS didn't accept the changes.
331 # Written at SunLabs.
332 # state.c - Not used at the moment, keep for reference (fnf)
333 # state.h - Not used at the moment, keep for reference (fnf)
334 # tests - Old test programs for GDB, pre-gdbtest and pre-
335 # DejaGnu.
336
337 Things-to-lose:
338
339 deblib
340 energize
341 energize-patches
342 energize.c
343 energize.h
344 remote-sa.sparc.c
345 state.c
346 state.h
347 tests
348
349 Do-last:
350
351 echo Removing traces of \"mpw\"...
352
353 # Don't try to clean directories here, as the 'mv' command will fail.
354 # Also, grep fails on NFS mounted directories.
355 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
356 for i in * ; do
357 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
358 echo Keeping mpw stuff in $i
359 fi
360 done
361 else
362 for i in * ; do
363 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
364 echo Removing traces of \"mpw\" out of $i...
365 cp $i new
366 sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/d' < $i > new
367 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
368 echo Caching $i in .Recover...
369 mv $i .Recover
370 fi
371 mv new $i
372 fi
373 done
374 fi
375
376 # End of file.