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