List the known things that are currently sanitized away. (Sanitize
[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\-chill > /dev/null ) ; then
19 keep_these_too="ch-exp.y ch-lang.c ch-lang.h ch-typeprint.c ch-valprint.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 Makefile.in
37 NEWS
38 Projects
39 README
40 TODO
41 a68v-nat.c
42 alldeps.mak
43 alloca.c
44 altos-xdep.c
45 am29k-pinsn.c
46 am29k-tdep.c
47 arm-convert.s
48 arm-pinsn.c
49 arm-tdep.c
50 arm-xdep.c
51 blockframe.c
52 breakpoint.c
53 breakpoint.h
54 buildsym.c
55 buildsym.h
56 c-exp.y
57 c-lang.c
58 c-lang.h
59 c-typeprint.c
60 c-valprint.c
61 call-cmds.h
62 coffread.c
63 command.c
64 command.h
65 complaints.c
66 complaints.h
67 config
68 configure.in
69 convex-pinsn.c
70 convex-tdep.c
71 convex-xdep.c
72 copying.awk
73 copying.c
74 core.c
75 coredep.c
76 corelow.c
77 cp-valprint.c
78 createtags
79 dbxread.c
80 defs.h
81 demangle.c
82 depend
83 doc
84 dwarfread.c
85 elfread.c
86 environ.c
87 environ.h
88 eval.c
89 exec.c
90 expprint.c
91 expression.h
92 findvar.c
93 fork-child.c
94 frame.h
95 gcc.patch
96 gdb-stabs.h
97 gdb.1
98 gdbcmd.h
99 gdbcore.h
100 gdbtypes.c
101 gdbtypes.h
102 go32-xdep.c
103 gould-pinsn.c
104 gould-xdep.c
105 h8300-tdep.c
106 h8500-tdep.c
107 hp300ux-nat.c
108 hppa-pinsn.c
109 hppab-core.c
110 hppab-nat.c
111 hppab-tdep.c
112 hppah-nat.c
113 hppah-tdep.c
114 i386-pinsn.c
115 i386-stub.c
116 i386-tdep.c
117 i386b-nat.c
118 i386mach-nat.c
119 i386v-nat.c
120 i386v4-nat.c
121 i387-tdep.c
122 i960-pinsn.c
123 i960-tdep.c
124 infcmd.c
125 inferior.h
126 inflow.c
127 infptrace.c
128 infrun.c
129 inftarg.c
130 irix4-nat.c
131 kdb-start.c
132 language.c
133 language.h
134 m2-exp.y
135 m2-lang.c
136 m2-lang.h
137 m2-typeprint.c
138 m2-valprint.c
139 m68k-pinsn.c
140 m68k-stub.c
141 m68k-tdep.c
142 m88k-nat.c
143 m88k-pinsn.c
144 m88k-tdep.c
145 main.c
146 maint.c
147 mem-break.c
148 minimon.h
149 minsyms.c
150 mips-nat.c
151 mips-pinsn.c
152 mips-tdep.c
153 mipsread.c
154 munch
155 news-xdep.c
156 nindy-share
157 nindy-tdep.c
158 ns32k-opcode.h
159 ns32k-pinsn.c
160 objfiles.c
161 objfiles.h
162 paread.c
163 parse.c
164 parser-defs.h
165 partial-stab.h
166 printcmd.c
167 procfs.c
168 putenv.c
169 pyr-pinsn.c
170 pyr-tdep.c
171 pyr-xdep.c
172 regex.c
173 regex.h
174 rem-multi.shar
175 remote-adapt.c
176 remote-eb.c
177 remote-es1800.c
178 remote-hms.c
179 remote-mips.c
180 remote-mm.c
181 remote-nindy.c
182 remote-sim.c
183 remote-st2000.c
184 remote-udi.c
185 remote-vx.c
186 remote-z8k.c
187 remote.c
188 rs6000-nat.c
189 rs6000-pinsn.c
190 rs6000-tdep.c
191 saber.suppress
192 ser-bsd.c
193 ser-go32.c
194 ser-termios.c
195 serial.h
196 signals.h
197 solib.c
198 solib.h
199 source.c
200 sparc-nat.c
201 sparc-pinsn.c
202 sparc-stub.c
203 sparc-tdep.c
204 sparclite
205 stabsread.c
206 stabsread.h
207 stack.c
208 standalone.c
209 stuff.c
210 sun3-nat.c
211 sun386-nat.c
212 symfile.c
213 symfile.h
214 symm-tdep.c
215 symm-xdep.c
216 symmisc.c
217 symtab.c
218 symtab.h
219 tahoe-pinsn.c
220 target.c
221 target.h
222 terminal.h
223 testsuite
224 typeprint.c
225 typeprint.h
226 ultra3-nat.c
227 ultra3-xdep.c
228 umax-xdep.c
229 utils.c
230 valarith.c
231 valops.c
232 valprint.c
233 valprint.h
234 value.h
235 values.c
236 vax-pinsn.c
237 vx-share
238 xcoffexec.c
239 xcoffread.c
240 xcoffsolib.c
241 xcoffsolib.h
242 z8k-tdep.c
243
244 # Things which are explicitly *not* kept, for now.
245 # ch-exp.y - Part of chill support.
246 # ch-lang.c - Part of chill support.
247 # ch-lang.h - Part of chill support.
248 # ch-typeprint.c - Part of chill support.
249 # ch-valprint.c - Part of chill support.
250 # energize - Part of Lucid support.
251 # energize-patches - Part of Lucid support.
252 # energize.c - Part of Lucid support.
253 # energize.h - Part of Lucid support.
254 # infrun.hacked.c - Beats me...
255 # monitor.h - ?
256 # remote-monitor.c - ?
257 # remote-sa.sparc.c - ?
258 # state.c - Not used at the moment, keep for reference (fnf)
259 # state.h - Not used at the moment, keep for reference (fnf)
260 # tests - ?
261
262 Do-last:
263
264 echo Thawing away the \"chill\"...
265
266 # Don't try to clean directories here, as the 'mv' command will fail.
267 # Also, grep fails on NFS mounted directories.
268 if ( echo $* | grep keep\-chill > /dev/null ) ; then
269 for i in * ; do
270 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
271 echo Keeping chill stuff in $i
272 fi
273 done
274 else
275 for i in * ; do
276 if test ! -d $i && (grep sanitize-chill $i > /dev/null) ; then
277 echo Thawing the \"chill\" out of $i...
278 cp $i new
279 sed '/start\-sanitize\-chill/,/end-\sanitize\-chill/d' < $i > new
280 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
281 echo Caching $i in .Recover...
282 mv $i .Recover
283 fi
284 mv new $i
285 fi
286 done
287 echo Thawing the \"chill\" out of Makefile.in...
288 cp Makefile.in new
289 sed -e 's/$(srcdir)\/ch-exp.y//g' \
290 -e 's/${srcdir}\/ch-exp.y//g' \
291 -e 's/ch-exp.y//g' \
292 -e 's/ch-exp.tab.c//g' \
293 -e 's/ch-exp.tab.o//g' \
294 -e 's/ch-lang.h//g' \
295 -e 's/ch-lang.c//g' \
296 -e 's/ch-lang.o//g' \
297 -e 's/ch-typeprint.c//g' \
298 -e 's/ch-typeprint.o//g' \
299 -e 's/ch-valprint.c//g' \
300 -e 's/ch-valprint.o//g' \
301 < Makefile.in > new
302 if [ -n "${safe}" -a ! -f .Recover/Makefile.in ] ; then
303 echo Caching Makefile.in in .Recover...
304 mv Makefile.in .Recover
305 fi
306 mv new Makefile.in
307 fi
308
309 # End of file.
This page took 0.036894 seconds and 5 git commands to generate.