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