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