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