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