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