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 |
c2d751d5 | 132 | i386m3-nat.c |
a113beac | 133 | i386mach-nat.c |
c7c94073 | 134 | i386v-nat.c |
4d0eabff | 135 | i386v4-nat.c |
56d921a8 | 136 | i387-tdep.c |
eeadf5c2 RP |
137 | i960-pinsn.c |
138 | i960-tdep.c | |
eeadf5c2 RP |
139 | infcmd.c |
140 | inferior.h | |
141 | inflow.c | |
142 | infptrace.c | |
143 | infrun.c | |
eeadf5c2 | 144 | inftarg.c |
a70dc898 | 145 | irix4-nat.c |
4aadcb02 | 146 | isi-xdep.c |
eeadf5c2 | 147 | kdb-start.c |
56d921a8 JG |
148 | language.c |
149 | language.h | |
150 | m2-exp.y | |
22e39759 FF |
151 | m2-lang.c |
152 | m2-lang.h | |
a8a69e63 FF |
153 | m2-typeprint.c |
154 | m2-valprint.c | |
c2d751d5 | 155 | m3-nat.c |
eeadf5c2 RP |
156 | m68k-pinsn.c |
157 | m68k-stub.c | |
158 | m68k-tdep.c | |
173a4f1b | 159 | m88k-nat.c |
eeadf5c2 RP |
160 | m88k-pinsn.c |
161 | m88k-tdep.c | |
eeadf5c2 | 162 | main.c |
0239d9b3 | 163 | maint.c |
eeadf5c2 | 164 | mem-break.c |
1111151a | 165 | minimon.h |
a1f596f4 | 166 | minsyms.c |
a70dc898 | 167 | mips-nat.c |
eeadf5c2 RP |
168 | mips-pinsn.c |
169 | mips-tdep.c | |
c2d751d5 | 170 | mipsm3-nat.c |
eeadf5c2 | 171 | mipsread.c |
2f1c04d1 | 172 | monitor.h |
eeadf5c2 RP |
173 | munch |
174 | news-xdep.c | |
175 | nindy-share | |
176 | nindy-tdep.c | |
db85f523 | 177 | nlmread.c |
eeadf5c2 RP |
178 | ns32k-opcode.h |
179 | ns32k-pinsn.c | |
c2d751d5 | 180 | ns32km3-nat.c |
a1f596f4 | 181 | objfiles.c |
5e2e79f8 | 182 | objfiles.h |
cef4c2e7 | 183 | osfsolib.c |
e4dd52dd | 184 | paread.c |
56d921a8 JG |
185 | parse.c |
186 | parser-defs.h | |
7e258d18 | 187 | partial-stab.h |
eeadf5c2 | 188 | printcmd.c |
6fccdaf4 | 189 | procfs.c |
eeadf5c2 | 190 | putenv.c |
eeadf5c2 RP |
191 | pyr-pinsn.c |
192 | pyr-tdep.c | |
193 | pyr-xdep.c | |
194 | regex.c | |
195 | regex.h | |
196 | rem-multi.shar | |
1111151a | 197 | remote-adapt.c |
203a8d54 | 198 | remote-bug.c |
eeadf5c2 | 199 | remote-eb.c |
91c87211 | 200 | remote-es.c |
d93b79d9 | 201 | remote-hms.c |
c2a0f1cb | 202 | remote-mips.c |
1111151a | 203 | remote-mm.c |
c033ec17 | 204 | remote-mon.c |
eeadf5c2 | 205 | remote-nindy.c |
ec25d19b | 206 | remote-sim.c |
40b92220 | 207 | remote-sim.h |
91c87211 | 208 | remote-st.c |
e4dd52dd | 209 | remote-udi.c |
3283eab3 JK |
210 | remote-utils.c |
211 | remote-utils.h | |
eeadf5c2 | 212 | remote-vx.c |
2aedd91e | 213 | remote-z8k.c |
eeadf5c2 | 214 | remote.c |
dc48694c | 215 | rs6000-nat.c |
6373dbe3 JG |
216 | rs6000-pinsn.c |
217 | rs6000-tdep.c | |
eeadf5c2 | 218 | saber.suppress |
ddce75e0 | 219 | ser-go32.c |
4d551aa3 | 220 | ser-tcp.c |
e8a5f0ed SG |
221 | ser-unix.c |
222 | serial.c | |
ddce75e0 | 223 | serial.h |
9faacb92 | 224 | sh-tdep.c |
eeadf5c2 | 225 | signals.h |
eeadf5c2 | 226 | solib.c |
a1f596f4 | 227 | solib.h |
eeadf5c2 | 228 | source.c |
dfc82617 | 229 | sparc-nat.c |
eeadf5c2 | 230 | sparc-pinsn.c |
c9715956 | 231 | sparc-stub.c |
eeadf5c2 | 232 | sparc-tdep.c |
a96c3444 | 233 | sparclite |
d07734e3 FF |
234 | stabsread.c |
235 | stabsread.h | |
eeadf5c2 RP |
236 | stack.c |
237 | standalone.c | |
eeadf5c2 | 238 | stuff.c |
dc48694c | 239 | sun3-nat.c |
61bbb1c2 | 240 | sun386-nat.c |
eeadf5c2 RP |
241 | symfile.c |
242 | symfile.h | |
d39d83c1 | 243 | symm-nat.c |
203a8d54 | 244 | symm-tdep.c |
eeadf5c2 RP |
245 | symmisc.c |
246 | symtab.c | |
247 | symtab.h | |
eeadf5c2 RP |
248 | tahoe-pinsn.c |
249 | target.c | |
250 | target.h | |
eeadf5c2 | 251 | terminal.h |
a2df03aa | 252 | testsuite |
6a21c756 SG |
253 | thread.c |
254 | thread.h | |
a8a69e63 FF |
255 | typeprint.c |
256 | typeprint.h | |
6bf98ac0 | 257 | ultra3-nat.c |
1111151a | 258 | ultra3-xdep.c |
eeadf5c2 RP |
259 | umax-xdep.c |
260 | utils.c | |
261 | valarith.c | |
262 | valops.c | |
263 | valprint.c | |
a8a69e63 | 264 | valprint.h |
eeadf5c2 RP |
265 | value.h |
266 | values.c | |
eeadf5c2 RP |
267 | vax-pinsn.c |
268 | vx-share | |
6373dbe3 JG |
269 | xcoffexec.c |
270 | xcoffread.c | |
1eeba686 PB |
271 | xcoffsolib.c |
272 | xcoffsolib.h | |
2aedd91e | 273 | z8k-tdep.c |
eeadf5c2 | 274 | |
87756e15 | 275 | |
f747d259 | 276 | # Things which are explicitly *not* kept, for now. |
2b577349 JG |
277 | # deblib/ - CVS won't let you blow away directories yet, |
278 | # so this is still around from when Stu checked | |
279 | # it in, as part of Lucid support. | |
743b663c FF |
280 | # energize - Part of Lucid support. |
281 | # energize-patches - Part of Lucid support. | |
282 | # energize.c - Part of Lucid support. | |
283 | # energize.h - Part of Lucid support. | |
2b577349 JG |
284 | # infrun.hacked.c - An old version of infrun.c that had some |
285 | # wait_for_inferior improvements by gnu, | |
286 | # which were never fully debugged. | |
287 | # remote-sa.sparc.c - Remote target for a standalone SPARC, using | |
288 | # the FORTH console ROMs. We never got the paperwork | |
289 | # straight, since Sun's lawyers messed with the | |
290 | # FSF contract and RMS didn't accept the changes. | |
291 | # Written at SunLabs. | |
743b663c FF |
292 | # state.c - Not used at the moment, keep for reference (fnf) |
293 | # state.h - Not used at the moment, keep for reference (fnf) | |
2b577349 JG |
294 | # tests - Old test programs for GDB, pre-gdbtest and pre- |
295 | # DejaGnu. | |
f747d259 | 296 | |
87756e15 RP |
297 | Things-to-lose: |
298 | ||
299 | deblib | |
300 | energize | |
301 | energize-patches | |
302 | energize.c | |
303 | energize.h | |
304 | infrun.hacked.c | |
305 | remote-sa.sparc.c | |
306 | state.c | |
307 | state.h | |
308 | tests | |
309 | ||
eeadf5c2 RP |
310 | Do-last: |
311 | ||
85b9835f DE |
312 | echo Looking for signs of \"v9\"... |
313 | ||
314 | # Don't try to clean directories here, as the 'mv' command will fail. | |
315 | # Also, grep fails on NFS mounted directories. | |
316 | if ( echo $* | grep keep\-v9 > /dev/null ) ; then | |
317 | for i in * ; do | |
318 | if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then | |
319 | echo Keeping v9 stuff in $i | |
320 | fi | |
321 | done | |
322 | else | |
323 | for i in * ; do | |
324 | if test ! -d $i && (grep sanitize-v9 $i > /dev/null) ; then | |
325 | echo Cleaning the \"v9\" out of $i... | |
326 | cp $i new | |
327 | sed '/start\-sanitize\-v9/,/end-\sanitize\-v9/d' < $i > new | |
328 | if [ -n "${safe}" -a ! -f .Recover/$i ] ; then | |
329 | echo Caching $i in .Recover... | |
330 | mv $i .Recover | |
331 | fi | |
332 | mv new $i | |
333 | fi | |
334 | done | |
335 | fi | |
336 | ||
eeadf5c2 | 337 | # End of file. |