]>
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 | ||
cb747ec5 | 18 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then |
40b92220 | 19 | keep_these_too="sp64-tdep.c" |
3ea2c30a FF |
20 | else |
21 | lose_these_too="sp64-tdep.c" | |
cb747ec5 DE |
22 | fi |
23 | ||
eeadf5c2 RP |
24 | # All files listed between the "Things-to-keep:" line and the |
25 | # "Files-to-sed:" line will be kept. All other files will be removed. | |
26 | # Directories listed in this section will have their own Sanitize | |
27 | # called. Directories not listed will be removed in their entirety | |
28 | # with rm -rf. | |
29 | ||
30 | Things-to-keep: | |
31 | ||
32 | .gdbinit | |
a96c3444 | 33 | 29k-share |
eeadf5c2 RP |
34 | COPYING |
35 | ChangeLog | |
36 | ChangeLog-3.x | |
ee799e2a | 37 | ChangeLog-9091 |
5debf76d | 38 | ChangeLog-92 |
1ea8b1dc | 39 | ChangeLog-93 |
bdf3621b | 40 | Makefile.in |
ddce75e0 | 41 | NEWS |
eeadf5c2 RP |
42 | Projects |
43 | README | |
44 | TODO | |
b4b0321b FF |
45 | a29k-pinsn.c |
46 | a29k-tdep.c | |
203a8d54 | 47 | a68v-nat.c |
cef4c2e7 PS |
48 | alpha-nat.c |
49 | alpha-tdep.c | |
203a8d54 | 50 | altos-xdep.c |
eeadf5c2 | 51 | arm-convert.s |
eeadf5c2 RP |
52 | arm-pinsn.c |
53 | arm-tdep.c | |
54 | arm-xdep.c | |
55 | blockframe.c | |
56 | breakpoint.c | |
57 | breakpoint.h | |
2ce38c6d JG |
58 | buildsym.c |
59 | buildsym.h | |
56d921a8 | 60 | c-exp.y |
22e39759 FF |
61 | c-lang.c |
62 | c-lang.h | |
a8a69e63 FF |
63 | c-typeprint.c |
64 | c-valprint.c | |
be772100 | 65 | call-cmds.h |
b1086bf5 FF |
66 | ch-exp.y |
67 | ch-lang.c | |
68 | ch-lang.h | |
69 | ch-typeprint.c | |
70 | ch-valprint.c | |
ead291d4 SG |
71 | coff-solib.c |
72 | coff-solib.h | |
eeadf5c2 RP |
73 | coffread.c |
74 | command.c | |
75 | command.h | |
51b80b00 FF |
76 | complaints.c |
77 | complaints.h | |
f187c3a4 | 78 | config |
eeadf5c2 RP |
79 | configure.in |
80 | convex-pinsn.c | |
81 | convex-tdep.c | |
82 | convex-xdep.c | |
eeadf5c2 RP |
83 | copying.awk |
84 | copying.c | |
203a8d54 | 85 | core-svr4.c |
eeadf5c2 RP |
86 | core.c |
87 | coredep.c | |
dfc82617 | 88 | corelow.c |
a8a69e63 | 89 | cp-valprint.c |
eeadf5c2 | 90 | dbxread.c |
755892d6 RP |
91 | dcache.c |
92 | dcache.h | |
eeadf5c2 | 93 | defs.h |
be0ed5bb | 94 | delta68-nat.c |
2dbde378 | 95 | demangle.c |
eeadf5c2 | 96 | doc |
0a8f1742 | 97 | dpx2-nat.c |
2d628281 JK |
98 | dst.h |
99 | dstread.c | |
6fccdaf4 FF |
100 | dwarfread.c |
101 | elfread.c | |
eeadf5c2 RP |
102 | environ.c |
103 | environ.h | |
104 | eval.c | |
105 | exec.c | |
106 | expprint.c | |
eeadf5c2 RP |
107 | expression.h |
108 | findvar.c | |
e745abe5 | 109 | fork-child.c |
eeadf5c2 | 110 | frame.h |
5c5b5d4b | 111 | gcc.patch |
ed7c0948 | 112 | gdb-stabs.h |
0857b46a | 113 | gdb.1 |
eeadf5c2 RP |
114 | gdbcmd.h |
115 | gdbcore.h | |
463a71db | 116 | gdbserver |
a1f596f4 FF |
117 | gdbtypes.c |
118 | gdbtypes.h | |
ae0ea72e | 119 | go32-xdep.c |
eeadf5c2 RP |
120 | gould-pinsn.c |
121 | gould-xdep.c | |
0a8ed751 | 122 | h8300-tdep.c |
5cd0940a | 123 | h8500-tdep.c |
b1de302a | 124 | hp300ux-nat.c |
76b731f9 | 125 | hppa-pinsn.c |
66a1aa07 | 126 | hppa-tdep.c |
ca048722 | 127 | hppab-nat.c |
ca048722 | 128 | hppah-nat.c |
ef0faeb6 | 129 | i386-nlmstub.c |
eeadf5c2 RP |
130 | i386-pinsn.c |
131 | i386-stub.c | |
132 | i386-tdep.c | |
2c7ab4ca | 133 | i386aix-nat.c |
0e35d2f3 | 134 | i386b-nat.c |
c458501e | 135 | i386ly-tdep.c |
c2d751d5 | 136 | i386m3-nat.c |
a113beac | 137 | i386mach-nat.c |
c7c94073 | 138 | i386v-nat.c |
4d0eabff | 139 | i386v4-nat.c |
56d921a8 | 140 | i387-tdep.c |
eeadf5c2 RP |
141 | i960-pinsn.c |
142 | i960-tdep.c | |
eeadf5c2 RP |
143 | infcmd.c |
144 | inferior.h | |
145 | inflow.c | |
146 | infptrace.c | |
147 | infrun.c | |
eeadf5c2 | 148 | inftarg.c |
a70dc898 | 149 | irix4-nat.c |
a2f1e2e5 | 150 | irix5-nat.c |
4aadcb02 | 151 | isi-xdep.c |
eeadf5c2 | 152 | kdb-start.c |
56d921a8 JG |
153 | language.c |
154 | language.h | |
069e0566 | 155 | lynx-nat.c |
56d921a8 | 156 | m2-exp.y |
22e39759 FF |
157 | m2-lang.c |
158 | m2-lang.h | |
a8a69e63 FF |
159 | m2-typeprint.c |
160 | m2-valprint.c | |
c2d751d5 | 161 | m3-nat.c |
eeadf5c2 RP |
162 | m68k-pinsn.c |
163 | m68k-stub.c | |
164 | m68k-tdep.c | |
173a4f1b | 165 | m88k-nat.c |
eeadf5c2 RP |
166 | m88k-pinsn.c |
167 | m88k-tdep.c | |
eeadf5c2 | 168 | main.c |
0239d9b3 | 169 | maint.c |
a2f1e2e5 | 170 | mdebugread.c |
eeadf5c2 | 171 | mem-break.c |
1111151a | 172 | minimon.h |
a1f596f4 | 173 | minsyms.c |
a70dc898 | 174 | mips-nat.c |
eeadf5c2 RP |
175 | mips-pinsn.c |
176 | mips-tdep.c | |
c2d751d5 | 177 | mipsm3-nat.c |
eeadf5c2 | 178 | mipsread.c |
2f1c04d1 | 179 | monitor.h |
eeadf5c2 RP |
180 | news-xdep.c |
181 | nindy-share | |
182 | nindy-tdep.c | |
db85f523 | 183 | nlmread.c |
eeadf5c2 RP |
184 | ns32k-opcode.h |
185 | ns32k-pinsn.c | |
c2d751d5 | 186 | ns32km3-nat.c |
a1f596f4 | 187 | objfiles.c |
5e2e79f8 | 188 | objfiles.h |
25200748 | 189 | os9kread.c |
cef4c2e7 | 190 | osfsolib.c |
e4dd52dd | 191 | paread.c |
56d921a8 JG |
192 | parse.c |
193 | parser-defs.h | |
7e258d18 | 194 | partial-stab.h |
eeadf5c2 | 195 | printcmd.c |
6fccdaf4 | 196 | procfs.c |
eeadf5c2 | 197 | putenv.c |
eeadf5c2 RP |
198 | pyr-pinsn.c |
199 | pyr-tdep.c | |
200 | pyr-xdep.c | |
201 | regex.c | |
202 | regex.h | |
203 | rem-multi.shar | |
1111151a | 204 | remote-adapt.c |
203a8d54 | 205 | remote-bug.c |
a0b28275 | 206 | remote-e7000.c |
eeadf5c2 | 207 | remote-eb.c |
91c87211 | 208 | remote-es.c |
d93b79d9 | 209 | remote-hms.c |
c2a0f1cb | 210 | remote-mips.c |
1111151a | 211 | remote-mm.c |
c033ec17 | 212 | remote-mon.c |
eeadf5c2 | 213 | remote-nindy.c |
25200748 | 214 | remote-os9k.c |
ec25d19b | 215 | remote-sim.c |
40b92220 | 216 | remote-sim.h |
91c87211 | 217 | remote-st.c |
e4dd52dd | 218 | remote-udi.c |
3283eab3 JK |
219 | remote-utils.c |
220 | remote-utils.h | |
eeadf5c2 | 221 | remote-vx.c |
2aedd91e | 222 | remote-z8k.c |
eeadf5c2 | 223 | remote.c |
dc48694c | 224 | rs6000-nat.c |
6373dbe3 JG |
225 | rs6000-pinsn.c |
226 | rs6000-tdep.c | |
eeadf5c2 | 227 | saber.suppress |
ddce75e0 | 228 | ser-go32.c |
4d551aa3 | 229 | ser-tcp.c |
e8a5f0ed SG |
230 | ser-unix.c |
231 | serial.c | |
ddce75e0 | 232 | serial.h |
9faacb92 | 233 | sh-tdep.c |
eeadf5c2 | 234 | signals.h |
eeadf5c2 | 235 | solib.c |
a1f596f4 | 236 | solib.h |
eeadf5c2 | 237 | source.c |
dfc82617 | 238 | sparc-nat.c |
eeadf5c2 | 239 | sparc-pinsn.c |
c9715956 | 240 | sparc-stub.c |
eeadf5c2 | 241 | sparc-tdep.c |
a96c3444 | 242 | sparclite |
d07734e3 FF |
243 | stabsread.c |
244 | stabsread.h | |
eeadf5c2 RP |
245 | stack.c |
246 | standalone.c | |
eeadf5c2 | 247 | stuff.c |
dc48694c | 248 | sun3-nat.c |
61bbb1c2 | 249 | sun386-nat.c |
eeadf5c2 RP |
250 | symfile.c |
251 | symfile.h | |
d39d83c1 | 252 | symm-nat.c |
203a8d54 | 253 | symm-tdep.c |
eeadf5c2 RP |
254 | symmisc.c |
255 | symtab.c | |
256 | symtab.h | |
eeadf5c2 RP |
257 | tahoe-pinsn.c |
258 | target.c | |
259 | target.h | |
eeadf5c2 | 260 | terminal.h |
a2df03aa | 261 | testsuite |
6a21c756 SG |
262 | thread.c |
263 | thread.h | |
a8a69e63 FF |
264 | typeprint.c |
265 | typeprint.h | |
6bf98ac0 | 266 | ultra3-nat.c |
1111151a | 267 | ultra3-xdep.c |
eeadf5c2 RP |
268 | umax-xdep.c |
269 | utils.c | |
270 | valarith.c | |
271 | valops.c | |
272 | valprint.c | |
a8a69e63 | 273 | valprint.h |
eeadf5c2 RP |
274 | value.h |
275 | values.c | |
eeadf5c2 RP |
276 | vax-pinsn.c |
277 | vx-share | |
6373dbe3 JG |
278 | xcoffexec.c |
279 | xcoffread.c | |
1eeba686 PB |
280 | xcoffsolib.c |
281 | xcoffsolib.h | |
2aedd91e | 282 | z8k-tdep.c |
eeadf5c2 | 283 | |
87756e15 | 284 | |
f747d259 | 285 | # Things which are explicitly *not* kept, for now. |
2b577349 JG |
286 | # deblib/ - CVS won't let you blow away directories yet, |
287 | # so this is still around from when Stu checked | |
288 | # it in, as part of Lucid support. | |
743b663c FF |
289 | # energize - Part of Lucid support. |
290 | # energize-patches - Part of Lucid support. | |
291 | # energize.c - Part of Lucid support. | |
292 | # energize.h - Part of Lucid support. | |
2b577349 JG |
293 | # remote-sa.sparc.c - Remote target for a standalone SPARC, using |
294 | # the FORTH console ROMs. We never got the paperwork | |
295 | # straight, since Sun's lawyers messed with the | |
296 | # FSF contract and RMS didn't accept the changes. | |
297 | # Written at SunLabs. | |
743b663c FF |
298 | # state.c - Not used at the moment, keep for reference (fnf) |
299 | # state.h - Not used at the moment, keep for reference (fnf) | |
2b577349 JG |
300 | # tests - Old test programs for GDB, pre-gdbtest and pre- |
301 | # DejaGnu. | |
f747d259 | 302 | |
87756e15 RP |
303 | Things-to-lose: |
304 | ||
305 | deblib | |
306 | energize | |
307 | energize-patches | |
308 | energize.c | |
309 | energize.h | |
87756e15 RP |
310 | remote-sa.sparc.c |
311 | state.c | |
312 | state.h | |
313 | tests | |
314 | ||
eeadf5c2 RP |
315 | Do-last: |
316 | ||
85b9835f DE |
317 | echo Looking for signs of \"v9\"... |
318 | ||
319 | # Don't try to clean directories here, as the 'mv' command will fail. | |
320 | # Also, grep fails on NFS mounted directories. | |
321 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then | |
322 | for i in * ; do | |
323 | if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then | |
324 | echo Keeping v9 stuff in $i | |
325 | fi | |
326 | done | |
327 | else | |
328 | for i in * ; do | |
329 | if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then | |
330 | echo Cleaning the \"v9\" out of $i... | |
331 | cp $i new | |
332 | sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new | |
333 | if [ -n "${safe}" -a ! -f .Recover/$i ] ; then | |
334 | echo Caching $i in .Recover... | |
335 | mv $i .Recover | |
336 | fi | |
337 | mv new $i | |
338 | fi | |
339 | done | |
340 | fi | |
341 | ||
eeadf5c2 | 342 | # End of file. |