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