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