]>
Commit | Line | Data |
---|---|---|
f4240b08 | 1 | # .Sanitize for devo/gdb. |
eeadf5c2 RP |
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 | ||
19cfe25d | 18 | if ( echo $* | grep keep\-chill > /dev/null ) ; then |
a8a69e63 | 19 | keep_these_too="ch-exp.y ch-lang.c ch-lang.h ch-typeprint.c ch-valprint.c" |
19cfe25d FF |
20 | fi |
21 | ||
eeadf5c2 RP |
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 | |
a96c3444 | 31 | 29k-share |
eeadf5c2 RP |
32 | COPYING |
33 | ChangeLog | |
34 | ChangeLog-3.x | |
ee799e2a | 35 | ChangeLog-9091 |
bdf3621b | 36 | Makefile.in |
ddce75e0 | 37 | NEWS |
eeadf5c2 RP |
38 | Projects |
39 | README | |
40 | TODO | |
124a6fc0 | 41 | a68v-nat.c |
eeadf5c2 RP |
42 | alldeps.mak |
43 | alloca.c | |
44 | altos-xdep.c | |
eeadf5c2 RP |
45 | am29k-pinsn.c |
46 | am29k-tdep.c | |
eeadf5c2 | 47 | arm-convert.s |
eeadf5c2 RP |
48 | arm-pinsn.c |
49 | arm-tdep.c | |
50 | arm-xdep.c | |
51 | blockframe.c | |
52 | breakpoint.c | |
53 | breakpoint.h | |
2ce38c6d JG |
54 | buildsym.c |
55 | buildsym.h | |
56d921a8 | 56 | c-exp.y |
22e39759 FF |
57 | c-lang.c |
58 | c-lang.h | |
a8a69e63 FF |
59 | c-typeprint.c |
60 | c-valprint.c | |
be772100 | 61 | call-cmds.h |
eeadf5c2 RP |
62 | coffread.c |
63 | command.c | |
64 | command.h | |
51b80b00 FF |
65 | complaints.c |
66 | complaints.h | |
f187c3a4 | 67 | config |
eeadf5c2 RP |
68 | configure.in |
69 | convex-pinsn.c | |
70 | convex-tdep.c | |
71 | convex-xdep.c | |
eeadf5c2 RP |
72 | copying.awk |
73 | copying.c | |
74 | core.c | |
75 | coredep.c | |
dfc82617 | 76 | corelow.c |
a8a69e63 | 77 | cp-valprint.c |
eeadf5c2 RP |
78 | createtags |
79 | dbxread.c | |
80 | defs.h | |
2dbde378 | 81 | demangle.c |
55b32c02 | 82 | depend |
eeadf5c2 | 83 | doc |
6fccdaf4 FF |
84 | dwarfread.c |
85 | elfread.c | |
eeadf5c2 RP |
86 | environ.c |
87 | environ.h | |
88 | eval.c | |
89 | exec.c | |
90 | expprint.c | |
eeadf5c2 RP |
91 | expression.h |
92 | findvar.c | |
e745abe5 | 93 | fork-child.c |
eeadf5c2 | 94 | frame.h |
5c5b5d4b | 95 | gcc.patch |
ed7c0948 | 96 | gdb-stabs.h |
0857b46a | 97 | gdb.1 |
eeadf5c2 RP |
98 | gdbcmd.h |
99 | gdbcore.h | |
a1f596f4 FF |
100 | gdbtypes.c |
101 | gdbtypes.h | |
ae0ea72e | 102 | go32-xdep.c |
eeadf5c2 RP |
103 | gould-pinsn.c |
104 | gould-xdep.c | |
0a8ed751 | 105 | h8300-tdep.c |
5cd0940a | 106 | h8500-tdep.c |
b1de302a | 107 | hp300ux-nat.c |
76b731f9 | 108 | hppa-pinsn.c |
3b0d8c28 | 109 | hppab-core.c |
ca048722 | 110 | hppab-nat.c |
3b0d8c28 | 111 | hppab-tdep.c |
ca048722 | 112 | hppah-nat.c |
3b0d8c28 | 113 | hppah-tdep.c |
eeadf5c2 RP |
114 | i386-pinsn.c |
115 | i386-stub.c | |
116 | i386-tdep.c | |
0e35d2f3 | 117 | i386b-nat.c |
a113beac | 118 | i386mach-nat.c |
c7c94073 | 119 | i386v-nat.c |
4d0eabff | 120 | i386v4-nat.c |
56d921a8 | 121 | i387-tdep.c |
eeadf5c2 RP |
122 | i960-pinsn.c |
123 | i960-tdep.c | |
eeadf5c2 RP |
124 | infcmd.c |
125 | inferior.h | |
126 | inflow.c | |
127 | infptrace.c | |
128 | infrun.c | |
eeadf5c2 | 129 | inftarg.c |
a70dc898 | 130 | irix4-nat.c |
eeadf5c2 | 131 | kdb-start.c |
56d921a8 JG |
132 | language.c |
133 | language.h | |
134 | m2-exp.y | |
22e39759 FF |
135 | m2-lang.c |
136 | m2-lang.h | |
a8a69e63 FF |
137 | m2-typeprint.c |
138 | m2-valprint.c | |
eeadf5c2 RP |
139 | m68k-pinsn.c |
140 | m68k-stub.c | |
141 | m68k-tdep.c | |
173a4f1b | 142 | m88k-nat.c |
eeadf5c2 RP |
143 | m88k-pinsn.c |
144 | m88k-tdep.c | |
eeadf5c2 | 145 | main.c |
0239d9b3 | 146 | maint.c |
eeadf5c2 | 147 | mem-break.c |
1111151a | 148 | minimon.h |
a1f596f4 | 149 | minsyms.c |
a70dc898 | 150 | mips-nat.c |
eeadf5c2 RP |
151 | mips-pinsn.c |
152 | mips-tdep.c | |
eeadf5c2 | 153 | mipsread.c |
eeadf5c2 RP |
154 | munch |
155 | news-xdep.c | |
156 | nindy-share | |
157 | nindy-tdep.c | |
eeadf5c2 RP |
158 | ns32k-opcode.h |
159 | ns32k-pinsn.c | |
a1f596f4 | 160 | objfiles.c |
5e2e79f8 | 161 | objfiles.h |
e4dd52dd | 162 | paread.c |
56d921a8 JG |
163 | parse.c |
164 | parser-defs.h | |
7e258d18 | 165 | partial-stab.h |
eeadf5c2 | 166 | printcmd.c |
6fccdaf4 | 167 | procfs.c |
eeadf5c2 | 168 | putenv.c |
eeadf5c2 RP |
169 | pyr-pinsn.c |
170 | pyr-tdep.c | |
171 | pyr-xdep.c | |
172 | regex.c | |
173 | regex.h | |
174 | rem-multi.shar | |
1111151a | 175 | remote-adapt.c |
eeadf5c2 | 176 | remote-eb.c |
ddce75e0 | 177 | remote-es1800.c |
d93b79d9 | 178 | remote-hms.c |
c2a0f1cb | 179 | remote-mips.c |
1111151a | 180 | remote-mm.c |
eeadf5c2 | 181 | remote-nindy.c |
ec25d19b | 182 | remote-sim.c |
6c7e40b4 | 183 | remote-st2000.c |
e4dd52dd | 184 | remote-udi.c |
eeadf5c2 | 185 | remote-vx.c |
2aedd91e | 186 | remote-z8k.c |
eeadf5c2 | 187 | remote.c |
dc48694c | 188 | rs6000-nat.c |
6373dbe3 JG |
189 | rs6000-pinsn.c |
190 | rs6000-tdep.c | |
eeadf5c2 | 191 | saber.suppress |
6c7e40b4 | 192 | ser-bsd.c |
ddce75e0 DHW |
193 | ser-go32.c |
194 | ser-termios.c | |
195 | serial.h | |
eeadf5c2 | 196 | signals.h |
eeadf5c2 | 197 | solib.c |
a1f596f4 | 198 | solib.h |
eeadf5c2 | 199 | source.c |
dfc82617 | 200 | sparc-nat.c |
eeadf5c2 | 201 | sparc-pinsn.c |
c9715956 | 202 | sparc-stub.c |
eeadf5c2 | 203 | sparc-tdep.c |
a96c3444 | 204 | sparclite |
d07734e3 FF |
205 | stabsread.c |
206 | stabsread.h | |
eeadf5c2 RP |
207 | stack.c |
208 | standalone.c | |
eeadf5c2 | 209 | stuff.c |
dc48694c | 210 | sun3-nat.c |
61bbb1c2 | 211 | sun386-nat.c |
eeadf5c2 RP |
212 | symfile.c |
213 | symfile.h | |
214 | symm-tdep.c | |
215 | symm-xdep.c | |
216 | symmisc.c | |
217 | symtab.c | |
218 | symtab.h | |
eeadf5c2 RP |
219 | tahoe-pinsn.c |
220 | target.c | |
221 | target.h | |
eeadf5c2 | 222 | terminal.h |
a2df03aa | 223 | testsuite |
a8a69e63 FF |
224 | typeprint.c |
225 | typeprint.h | |
6bf98ac0 | 226 | ultra3-nat.c |
1111151a | 227 | ultra3-xdep.c |
eeadf5c2 RP |
228 | umax-xdep.c |
229 | utils.c | |
230 | valarith.c | |
231 | valops.c | |
232 | valprint.c | |
a8a69e63 | 233 | valprint.h |
eeadf5c2 RP |
234 | value.h |
235 | values.c | |
eeadf5c2 RP |
236 | vax-pinsn.c |
237 | vx-share | |
6373dbe3 JG |
238 | xcoffexec.c |
239 | xcoffread.c | |
1eeba686 PB |
240 | xcoffsolib.c |
241 | xcoffsolib.h | |
2aedd91e | 242 | z8k-tdep.c |
eeadf5c2 | 243 | |
f747d259 | 244 | # Things which are explicitly *not* kept, for now. |
743b663c FF |
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 - ? | |
f747d259 | 261 | |
eeadf5c2 RP |
262 | Do-last: |
263 | ||
19cfe25d FF |
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 | |
3825dfe8 FF |
289 | sed -e 's/$(srcdir)\/ch-exp.y//g' \ |
290 | -e 's/${srcdir}\/ch-exp.y//g' \ | |
19cfe25d FF |
291 | -e 's/ch-exp.y//g' \ |
292 | -e 's/ch-exp.tab.c//g' \ | |
293 | -e 's/ch-exp.tab.o//g' \ | |
22e39759 FF |
294 | -e 's/ch-lang.h//g' \ |
295 | -e 's/ch-lang.c//g' \ | |
296 | -e 's/ch-lang.o//g' \ | |
a8a69e63 FF |
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' \ | |
0a06f1bc | 301 | < Makefile.in > new |
19cfe25d FF |
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 | ||
eeadf5c2 | 309 | # End of file. |