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