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