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