* cgen-trace.c (first_insn_p): New static local.
[deliverable/binutils-gdb.git] / sim / common / .Sanitize
CommitLineData
3994972d 1# .Sanitize for devo/sim/common.
7bf1bbbc 2
3994972d 3# Each directory to survive its way into a release will need a file
7bf1bbbc
SC
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
3994972d 14# done in this directory.
7bf1bbbc
SC
15
16Do-first:
17
36de6f40
DE
18cygnus_files="cgen.sh"
19if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
20 keep_these_too="${cygnus_files} ${keep_these_too}"
21else
22 lose_these_too="${cygnus_files} ${lose_these_too}"
23fi
24
d8f53049 25am30_files="dv-core.c dv-pal.c dv-glue.c hw-base.c hw-base.h hw-device.c hw-device.h hw-ports.c hw-ports.h hw-properties.c hw-properties.h hw-tree.c hw-tree.h sim-hw.h sim-hw.c"
6d133cc9
AC
26if ( echo $* | grep keep\-am30 > /dev/null ) ; then
27 keep_these_too="${am30_files} ${keep_these_too}"
28else
29 lose_these_too="${am30_files} ${lose_these_too}"
30fi
31
7bf1bbbc
SC
32# All files listed between the "Things-to-keep:" line and the
33# "Files-to-sed:" line will be kept. All other files will be removed.
34# Directories listed in this section will have their own Sanitize
35# called. Directories not listed will be removed in their entirety
36# with rm -rf.
37
38Things-to-keep:
39
f025d903 40ChangeLog
db7d7ff8
DE
41Make-common.in
42Makefile.in
fc4198bb 43acconfig.h
db7d7ff8
DE
44aclocal.m4
45callback.c
f7abc1ca
DE
46cgen-mem.h
47cgen-ops.h
b9c8cd10 48cgen-scache.c
b9c8cd10
DE
49cgen-sim.h
50cgen-trace.c
51cgen-trace.h
52cgen-types.h
53cgen-utils.c
db7d7ff8
DE
54config.in
55configure.in
56configure
84c6d152
DE
57dv-sockser.c
58dv-sockser.h
88d5f8e8 59gdbinit.in
b9c8cd10 60genmloop.sh
f7abc1ca 61gennltvals.sh
db7d7ff8
DE
62gentmap.c
63gentvals.sh
64nltvals.def
c95d08a8 65nrun.c
7bf1bbbc
SC
66run.c
67run.1
ba237406 68sim-abort.c
332cb5d9 69sim-alu.h
ba237406 70sim-assert.h
e77fd269 71sim-base.h
d0d80f48 72sim-basics.h
332cb5d9
AC
73sim-bits.c
74sim-bits.h
b9d580a4
SG
75sim-break.c
76sim-break.h
710f55ce 77sim-config.c
d0d80f48 78sim-config.h
a1dc3945
AC
79sim-core.c
80sim-core.h
433a8eaf
DE
81sim-cpu.c
82sim-cpu.h
332cb5d9
AC
83sim-endian.c
84sim-endian.h
ba237406
AC
85sim-engine.c
86sim-engine.h
a1dc3945
AC
87sim-events.c
88sim-events.h
710f55ce
DE
89sim-fpu.c
90sim-fpu.h
fafce69a 91sim-hload.c
6dbaff8f 92sim-hrw.c
2b9cac47 93sim-info.c
d0d80f48 94sim-inline.c
332cb5d9 95sim-inline.h
a1dc3945
AC
96sim-io.c
97sim-io.h
3b609fd5 98sim-load.c
a34abff8
AC
99sim-memopt.c
100sim-memopt.h
b9c8cd10 101sim-model.c
b320601b
DE
102sim-model.h
103sim-module.c
104sim-module.h
f5c7064a
AC
105sim-n-bits.h
106sim-n-core.h
107sim-n-endian.h
4ede3a83
DE
108sim-options.c
109sim-options.h
b320601b
DE
110sim-profile.c
111sim-profile.h
ba237406
AC
112sim-reason.c
113sim-resume.c
114sim-run.c
1ebc7e0e
DE
115sim-signal.c
116sim-signal.h
ba237406 117sim-stop.c
e9b2f579 118sim-trace.c
3b609fd5 119sim-trace.h
a1dc3945 120sim-types.h
e77fd269 121sim-utils.c
f4749781 122sim-utils.h
5697f152
DE
123sim-watch.c
124sim-watch.h
f7abc1ca 125syscall.c
db7d7ff8 126tconfig.in
7bf1bbbc
SC
127
128Things-to-lose:
129
7bf1bbbc
SC
130Do-last:
131
1294727e
DE
132d30v_files="ChangeLog gennltvals.sh nltvals.def"
133if ( echo $* | grep keep\-d30v > /dev/null ) ; then
134 for i in $d30v_files ; do
135 if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
136 if [ -n "${verbose}" ] ; then
137 echo Keeping d30v stuff in $i
138 fi
139 fi
140 done
141else
142 for i in $d30v_files ; do
143 if test ! -d $i && (grep sanitize-d30v $i > /dev/null) ; then
144 if [ -n "${verbose}" ] ; then
145 echo Removing traces of \"d30v\" from $i...
146 fi
147 cp $i new
148 sed '/start\-sanitize\-d30v/,/end-\sanitize\-d30v/d' < $i > new
149 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
150 if [ -n "${verbose}" ] ; then
151 echo Caching $i in .Recover...
152 fi
153 mv $i .Recover
154 fi
155 mv new $i
156 fi
157 done
158fi
159
d8f53049 160am30_files="ChangeLog sim-module.c sim-base.h Make-common.in"
6d133cc9
AC
161if ( echo $* | grep keep\-am30 > /dev/null ) ; then
162 for i in $am30_files ; do
163 if test ! -d $i && (grep sanitize-am30 $i > /dev/null) ; then
164 if [ -n "${verbose}" ] ; then
165 echo Keeping am30 stuff in $i
166 fi
167 fi
168 done
169else
170 for i in $am30_files ; do
171 if test ! -d $i && (grep sanitize-am30 $i > /dev/null) ; then
172 if [ -n "${verbose}" ] ; then
173 echo Removing traces of \"am30\" from $i...
174 fi
175 cp $i new
176 sed '/start\-sanitize\-am30/,/end-\sanitize\-am30/d' < $i > new
177 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
178 if [ -n "${verbose}" ] ; then
179 echo Caching $i in .Recover...
180 fi
181 mv $i .Recover
182 fi
183 mv new $i
184 fi
185 done
186fi
187
36de6f40
DE
188cygnus_files="ChangeLog Make-common.in"
189if ( echo $* | grep keep\-cygnus > /dev/null ) ; then
190 for i in $cygnus_files ; do
191 if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
192 if [ -n "${verbose}" ] ; then
193 echo Keeping cygnus stuff in $i
194 fi
195 fi
196 done
197else
198 for i in $cygnus_files ; do
199 if test ! -d $i && (grep sanitize-cygnus $i > /dev/null) ; then
200 if [ -n "${verbose}" ] ; then
201 echo Removing traces of \"cygnus\" from $i...
202 fi
203 cp $i new
204 sed '/start\-sanitize\-cygnus/,/end-\sanitize\-cygnus/d' < $i > new
205 if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
206 if [ -n "${verbose}" ] ; then
207 echo Caching $i in .Recover...
208 fi
209 mv $i .Recover
210 fi
211 mv new $i
212 fi
213 done
214fi
215
7bf1bbbc 216# End of file.
This page took 0.114978 seconds and 4 git commands to generate.