]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/config/mips/.Sanitize
* dbxread.c (MSYMBOL_SIZE): New macro.
[thirdparty/binutils-gdb.git] / gdb / config / mips / .Sanitize
1 # .Sanitize for devo/gdb/config/mips.
2
3 # Each directory to survive its 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 directory.
15
16 Do-first:
17
18 # All files listed between the "Things-to-keep:" line and the
19 # "Files-to-sed:" line will be kept. All other files will be removed.
20 # Directories listed in this section will have their own Sanitize
21 # called. Directories not listed will be removed in their entirety
22 # with rm -rf.
23
24 Things-to-keep:
25
26 bigmips.mt
27 bigmips64.mt
28 decstation.mh
29 decstation.mt
30 embed.mt
31 embed64.mt
32 embedl.mt
33 embedl64.mt
34 irix3.mh
35 irix3.mt
36 irix4.mh
37 irix5.mh
38 irix5.mt
39 littlemips.mh
40 littlemips.mt
41 mipsel64.mt
42 mipsm3.mh
43 mipsm3.mt
44 mipsv4.mh
45 mipsv4.mt
46 news-mips.mh
47 nm-irix3.h
48 nm-irix4.h
49 nm-irix5.h
50 nm-mips.h
51 nm-news-mips.h
52 nm-riscos.h
53 riscos.mh
54 tm-bigmips.h
55 tm-bigmips64.h
56 tm-embed.h
57 tm-embed64.h
58 tm-embedl.h
59 tm-embedl64.h
60 tm-irix3.h
61 tm-irix5.h
62 tm-mips.h
63 tm-mips64.h
64 tm-mipsm3.h
65 tm-mipsv4.h
66 tm-tx39.h
67 tm-tx39l.h
68 tm-vr4300.h
69 tm-vr4300el.h
70 tm-vr5000.h
71 tm-vr5000el.h
72 tm-vxmips.h
73 tx39.mt
74 tx39l.mt
75 vr4300.mt
76 vr4300el.mt
77 vr5000.mt
78 vr5000el.mt
79 vxmips.mt
80 xm-irix3.h
81 xm-irix4.h
82 xm-irix5.h
83 xm-mips.h
84 xm-mipsm3.h
85 xm-mipsv4.h
86 xm-news-mips.h
87 xm-riscos.h
88
89 Things-to-lose:
90 r3900.mt
91 r3900l.mt
92 tm-r3900.h
93 tm-r3900l.h
94 tm-tx19.h
95 tm-tx19l.h
96 tx19.mt
97 tx19l.mt
98
99 Do-last:
100
101 if ( echo $* | grep keep\-gm > /dev/null ) ; then
102 for i in * ; do
103 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
104 if [ -n "${verbose}" ] ; then
105 echo Keeping gm stuff in $i
106 fi
107 fi
108 done
109 else
110 for i in * ; do
111 if test ! -d $i && (grep sanitize-gm $i > /dev/null) ; then
112 if [ -n "${verbose}" ] ; then
113 echo Removing traces of \"gm\" from $i...
114 fi
115 cp $i new
116 sed '/start\-sanitize\-gm/,/end-\sanitize\-gm/d' < $i > new
117 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
118 if [ -n "${verbose}" ] ; then
119 echo Caching $i in .Recover...
120 fi
121 mv $i .Recover
122 fi
123 mv new $i
124 fi
125 done
126 fi
127
128 # End of file.