]> Git Repo - binutils.git/blame - gdb/.Sanitize
* gas/config/tc-hppa.h (obj_frob_symbol): Delete ELF specific
[binutils.git] / gdb / .Sanitize
CommitLineData
f4240b08 1# .Sanitize for devo/gdb.
eeadf5c2 2
d1bcda67 3# Each directory to survive its way into a release will need a file
eeadf5c2
RP
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
d1bcda67 14# done in this directory.
eeadf5c2
RP
15
16Do-first:
17
2ff6b38a 18mpw_files="mpw-config.in mpw-make.in ser-mac.c mac-xdep.c mac-defs.h macgdb.r mpw-init.c ChangeLog.mpw"
d1bcda67
SS
19
20if ( echo $* | grep keep\-mpw > /dev/null ) ; then
21 keep_these_too="${mpw_files} ${keep_these_too}"
22 if [ -n "${verbose}" ] ; then
23 echo Keeping ${mpw_files}
24 fi
25else
26 lose_these_too="${mpw_files} ${lose_these_too}"
27 if [ -n "${verbose}" ] ; then
28 echo Deleting ${mpw_files}
29 fi
30fi
31
98c0e047
JL
32hpread_files="hpread.c ChangeLog.hpread"
33
34if ( echo $* | grep keep\-hpread > /dev/null ) ; then
35 keep_these_too="${hpread_files} ${keep_these_too}"
36 if [ -n "${verbose}" ] ; then
37 echo Keeping ${hpread_files}
38 fi
39else
40 lose_these_too="${hpread_files} ${lose_these_too}"
41 if [ -n "${verbose}" ] ; then
42 echo Deleting ${hpread_files}
43 fi
44fi
45
eeadf5c2
RP
46# All files listed between the "Things-to-keep:" line and the
47# "Files-to-sed:" line will be kept. All other files will be removed.
48# Directories listed in this section will have their own Sanitize
49# called. Directories not listed will be removed in their entirety
50# with rm -rf.
51
52Things-to-keep:
53
54.gdbinit
a96c3444 5529k-share
eeadf5c2
RP
56COPYING
57ChangeLog
58ChangeLog-3.x
ee799e2a 59ChangeLog-9091
5debf76d 60ChangeLog-92
1ea8b1dc 61ChangeLog-93
bdf3621b 62Makefile.in
ddce75e0 63NEWS
eeadf5c2
RP
64README
65TODO
b4b0321b
FF
66a29k-pinsn.c
67a29k-tdep.c
203a8d54 68a68v-nat.c
cef4c2e7
PS
69alpha-nat.c
70alpha-tdep.c
203a8d54 71altos-xdep.c
1c95d7ab
JK
72annotate.c
73annotate.h
eeadf5c2 74arm-convert.s
eeadf5c2
RP
75arm-pinsn.c
76arm-tdep.c
77arm-xdep.c
78blockframe.c
79breakpoint.c
80breakpoint.h
2ce38c6d
JG
81buildsym.c
82buildsym.h
56d921a8 83c-exp.y
22e39759
FF
84c-lang.c
85c-lang.h
a8a69e63
FF
86c-typeprint.c
87c-valprint.c
be772100 88call-cmds.h
b1086bf5
FF
89ch-exp.y
90ch-lang.c
91ch-lang.h
92ch-typeprint.c
93ch-valprint.c
ead291d4
SG
94coff-solib.c
95coff-solib.h
eeadf5c2
RP
96coffread.c
97command.c
98command.h
51b80b00
FF
99complaints.c
100complaints.h
f187c3a4 101config
eeadf5c2
RP
102configure.in
103convex-pinsn.c
104convex-tdep.c
105convex-xdep.c
eeadf5c2
RP
106copying.awk
107copying.c
256533df 108core-sol2.c
203a8d54 109core-svr4.c
eeadf5c2
RP
110core.c
111coredep.c
dfc82617 112corelow.c
a8a69e63 113cp-valprint.c
670a8e09 114cxux-nat.c
eeadf5c2 115dbxread.c
755892d6
RP
116dcache.c
117dcache.h
eeadf5c2 118defs.h
be0ed5bb 119delta68-nat.c
2dbde378 120demangle.c
eeadf5c2 121doc
0a8f1742 122dpx2-nat.c
2d628281
JK
123dst.h
124dstread.c
6fccdaf4
FF
125dwarfread.c
126elfread.c
eeadf5c2
RP
127environ.c
128environ.h
129eval.c
130exec.c
131expprint.c
eeadf5c2 132expression.h
042bb079
SS
133f-exp.y
134f-lang.c
135f-lang.h
136f-typeprint.c
137f-valprint.c
eeadf5c2 138findvar.c
e745abe5 139fork-child.c
eeadf5c2 140frame.h
5c5b5d4b 141gcc.patch
ed7c0948 142gdb-stabs.h
0857b46a 143gdb.1
dec525ce 144gdba.el
eeadf5c2
RP
145gdbcmd.h
146gdbcore.h
463a71db 147gdbserver
8cb35771
SG
148gdbtk.c
149gdbtk.tcl
a1f596f4
FF
150gdbtypes.c
151gdbtypes.h
ae0ea72e 152go32-xdep.c
eeadf5c2
RP
153gould-pinsn.c
154gould-xdep.c
0a8ed751 155h8300-tdep.c
5cd0940a 156h8500-tdep.c
b1de302a 157hp300ux-nat.c
76b731f9 158hppa-pinsn.c
66a1aa07 159hppa-tdep.c
ca048722 160hppab-nat.c
ca048722 161hppah-nat.c
eeadf5c2
RP
162i386-pinsn.c
163i386-stub.c
164i386-tdep.c
2c7ab4ca 165i386aix-nat.c
0e35d2f3 166i386b-nat.c
c458501e 167i386ly-tdep.c
c2d751d5 168i386m3-nat.c
a113beac 169i386mach-nat.c
c7c94073 170i386v-nat.c
4d0eabff 171i386v4-nat.c
56d921a8 172i387-tdep.c
eeadf5c2
RP
173i960-pinsn.c
174i960-tdep.c
eeadf5c2
RP
175infcmd.c
176inferior.h
177inflow.c
178infptrace.c
179infrun.c
eeadf5c2 180inftarg.c
a70dc898 181irix4-nat.c
a2f1e2e5 182irix5-nat.c
4aadcb02 183isi-xdep.c
eeadf5c2 184kdb-start.c
56d921a8
JG
185language.c
186language.h
069e0566 187lynx-nat.c
56d921a8 188m2-exp.y
22e39759
FF
189m2-lang.c
190m2-lang.h
a8a69e63
FF
191m2-typeprint.c
192m2-valprint.c
c2d751d5 193m3-nat.c
eeadf5c2
RP
194m68k-pinsn.c
195m68k-stub.c
196m68k-tdep.c
173a4f1b 197m88k-nat.c
eeadf5c2
RP
198m88k-pinsn.c
199m88k-tdep.c
eeadf5c2 200main.c
0239d9b3 201maint.c
a2f1e2e5 202mdebugread.c
eeadf5c2 203mem-break.c
1111151a 204minimon.h
a1f596f4 205minsyms.c
a70dc898 206mips-nat.c
eeadf5c2
RP
207mips-pinsn.c
208mips-tdep.c
c2d751d5 209mipsm3-nat.c
2fe3b329 210mipsv4-nat.c
eeadf5c2 211mipsread.c
2f1c04d1 212monitor.h
25ca0dfc 213monitor.c
eeadf5c2
RP
214news-xdep.c
215nindy-share
216nindy-tdep.c
bbc34049 217nlm
db85f523 218nlmread.c
eeadf5c2 219ns32k-pinsn.c
c2d751d5 220ns32km3-nat.c
a1f596f4 221objfiles.c
5e2e79f8 222objfiles.h
25ca0dfc 223op50-rom.c
25200748 224os9kread.c
cef4c2e7 225osfsolib.c
56d921a8
JG
226parse.c
227parser-defs.h
7e258d18 228partial-stab.h
eeadf5c2 229printcmd.c
6fccdaf4 230procfs.c
c6889f63 231ptx4-nat.c
eeadf5c2
RP
232pyr-pinsn.c
233pyr-tdep.c
234pyr-xdep.c
235regex.c
236regex.h
237rem-multi.shar
1111151a 238remote-adapt.c
203a8d54 239remote-bug.c
a0b28275 240remote-e7000.c
eeadf5c2 241remote-eb.c
91c87211 242remote-es.c
d93b79d9 243remote-hms.c
c2a0f1cb 244remote-mips.c
1111151a 245remote-mm.c
eeadf5c2 246remote-nindy.c
25200748 247remote-os9k.c
399290be 248remote-pa.c
ec25d19b 249remote-sim.c
40b92220 250remote-sim.h
91c87211 251remote-st.c
e4dd52dd 252remote-udi.c
3283eab3
JK
253remote-utils.c
254remote-utils.h
eeadf5c2 255remote-vx.c
2aedd91e 256remote-z8k.c
eeadf5c2 257remote.c
dc48694c 258rs6000-nat.c
6373dbe3
JG
259rs6000-pinsn.c
260rs6000-tdep.c
fb9f8033 261rom68k-rom.c
eeadf5c2 262saber.suppress
55679787 263ser-e7kpc.c
ddce75e0 264ser-go32.c
4d551aa3 265ser-tcp.c
e8a5f0ed
SG
266ser-unix.c
267serial.c
ddce75e0 268serial.h
9faacb92 269sh-tdep.c
eeadf5c2 270signals.h
eeadf5c2 271solib.c
a1f596f4 272solib.h
bfe2f12b 273somread.c
bb140953
JL
274somsolib.c
275somsolib.h
eeadf5c2 276source.c
8c16485e 277sp64-tdep.c
dfc82617 278sparc-nat.c
eeadf5c2 279sparc-pinsn.c
c9715956 280sparc-stub.c
eeadf5c2 281sparc-tdep.c
2b14c195
KH
282sparcl-stub.c
283sparcl-tdep.c
a96c3444 284sparclite
d07734e3
FF
285stabsread.c
286stabsread.h
eeadf5c2
RP
287stack.c
288standalone.c
1e6f592d 289stop-gdb.c
eeadf5c2 290stuff.c
dc48694c 291sun3-nat.c
61bbb1c2 292sun386-nat.c
eeadf5c2
RP
293symfile.c
294symfile.h
d39d83c1 295symm-nat.c
203a8d54 296symm-tdep.c
eeadf5c2
RP
297symmisc.c
298symtab.c
299symtab.h
eeadf5c2
RP
300tahoe-pinsn.c
301target.c
302target.h
eeadf5c2 303terminal.h
a2df03aa 304testsuite
6a21c756
SG
305thread.c
306thread.h
172559ec
JK
307top.c
308top.h
a8a69e63
FF
309typeprint.c
310typeprint.h
6bf98ac0 311ultra3-nat.c
1111151a 312ultra3-xdep.c
eeadf5c2
RP
313umax-xdep.c
314utils.c
315valarith.c
316valops.c
317valprint.c
a8a69e63 318valprint.h
eeadf5c2
RP
319value.h
320values.c
eeadf5c2
RP
321vax-pinsn.c
322vx-share
25ca0dfc 323w89k-rom.c
6373dbe3 324xcoffread.c
1eeba686
PB
325xcoffsolib.c
326xcoffsolib.h
2aedd91e 327z8k-tdep.c
eeadf5c2 328
87756e15 329
f747d259 330# Things which are explicitly *not* kept, for now.
743b663c
FF
331# energize - Part of Lucid support.
332# energize-patches - Part of Lucid support.
333# energize.c - Part of Lucid support.
334# energize.h - Part of Lucid support.
2b577349
JG
335# remote-sa.sparc.c - Remote target for a standalone SPARC, using
336# the FORTH console ROMs. We never got the paperwork
337# straight, since Sun's lawyers messed with the
338# FSF contract and RMS didn't accept the changes.
339# Written at SunLabs.
743b663c
FF
340# state.c - Not used at the moment, keep for reference (fnf)
341# state.h - Not used at the moment, keep for reference (fnf)
f747d259 342
87756e15
RP
343Things-to-lose:
344
87756e15
RP
345energize
346energize-patches
347energize.c
348energize.h
87756e15
RP
349remote-sa.sparc.c
350state.c
351state.h
87756e15 352
eeadf5c2
RP
353Do-last:
354
d1bcda67
SS
355echo Removing traces of \"mpw\"...
356
357# Don't try to clean directories here, as the 'mv' command will fail.
358# Also, grep fails on NFS mounted directories.
359if ( echo $* | grep keep\-mpw > /dev/null ) ; then
360 for i in * ; do
361 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
362 echo Keeping mpw stuff in $i
363 fi
364 done
365else
366 for i in * ; do
367 if test ! -d $i && (grep sanitize-mpw $i > /dev/null) ; then
368 echo Removing traces of \"mpw\" out of $i...
369 cp $i new
370 sed '/start\-sanitize\-mpw/,/end-\sanitize\-mpw/d' < $i > new
371 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
372 echo Caching $i in .Recover...
373 mv $i .Recover
374 fi
375 mv new $i
376 fi
377 done
378fi
379
98c0e047
JL
380echo Removing traces of \"hpread\"...
381
382# Don't try to clean directories here, as the 'mv' command will fail.
383# Also, grep fails on NFS mounted directories.
384if ( echo $* | grep keep\-hpread > /dev/null ) ; then
385 for i in * ; do
386 if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
387 echo Keeping hpread stuff in $i
388 fi
389 done
390else
391 for i in * ; do
392 if test ! -d $i && (grep sanitize-hpread $i > /dev/null) ; then
393 echo Removing traces of \"hpread\" out of $i...
394 cp $i new
395 sed '/start\-sanitize\-hpread/,/end-\sanitize\-hpread/d' < $i > new
396 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
397 echo Caching $i in .Recover...
398 mv $i .Recover
399 fi
400 mv new $i
401 fi
402 done
403fi
404
405
eeadf5c2 406# End of file.
This page took 0.41412 seconds and 4 git commands to generate.