1 |
227 |
jeremybenn |
2010-02-04 Mike Frysinger
|
2 |
|
|
|
3 |
|
|
* sim-model.c: Include sim-model.h
|
4 |
|
|
|
5 |
|
|
2010-02-04 Mike Frysinger
|
6 |
|
|
|
7 |
|
|
* sim-base.h: Declare sim_state.cpu as a pointer in the comment. Drop
|
8 |
|
|
& from the STATE_CPU() examples.
|
9 |
|
|
|
10 |
|
|
2010-01-24 Doug Evans
|
11 |
|
|
|
12 |
|
|
* cgen-accfp.c (fextsfdf): New arg how. All callers updated.
|
13 |
|
|
(ftruncdfsf, floatsisf, flostsidf, ufloatsisf, fixsfsi, fixdfsi,
|
14 |
|
|
ufixsfsi): Ditto.
|
15 |
|
|
* cgen-fpu.h (CGEN_FPCONV_KIND): New enum.
|
16 |
|
|
(struct cgen_fp_ops): Update signatures of floating point conversion
|
17 |
|
|
operations.
|
18 |
|
|
|
19 |
|
|
* Make-common.in (CGEN_SIM_DEPS): Define.
|
20 |
|
|
(CGEN_INCLUDE_DEPS): Use it.
|
21 |
|
|
(CGEN_MAIN_CPU_DEPS): Simplify.
|
22 |
|
|
|
23 |
|
|
2010-01-22 Doug Evans
|
24 |
|
|
|
25 |
|
|
* cgen-ops.h (SUBWORDXFSI): Fix word ordering.
|
26 |
|
|
(SUBWORDTFSI, JOINSIDI): Ditto.
|
27 |
|
|
|
28 |
|
|
2010-01-05 Doug Evans
|
29 |
|
|
|
30 |
|
|
* cgen-types.h (SETDI): Delete, unused.
|
31 |
|
|
|
32 |
|
|
2009-12-02 Doug Evans
|
33 |
|
|
|
34 |
|
|
* cgen-engine.h: Remove duplicated comment.
|
35 |
|
|
|
36 |
|
|
2009-11-23 Doug Evans
|
37 |
|
|
|
38 |
|
|
* cgen-engine.h (EXTRACT_MSB0_SINT): Renamed from EXTRACT_MSB0_INT.
|
39 |
|
|
(EXTRACT_LSB0_SINT): Renamed from EXTRACT_LSB0_INT.
|
40 |
|
|
|
41 |
|
|
2009-11-22 Doug Evans
|
42 |
|
|
|
43 |
|
|
* cgen-engine.h (EXTRACT_MSB0_LGSINT, EXTRACT_MSB0_LGUINT): Define.
|
44 |
|
|
(EXTRACT_LSB0_LGSINT, EXTRACT_LSB0_LGUINT): Define.
|
45 |
|
|
(EXTRACT_FN, SEMANTIC_FN): Use CGEN_INSN_WORD in prototype
|
46 |
|
|
instead of CGEN_INSN_INT.
|
47 |
|
|
|
48 |
|
|
* cgen-trace.h (trace_extract): Add cast to fix warning.
|
49 |
|
|
|
50 |
|
|
2009-11-05 Doug Evans
|
51 |
|
|
|
52 |
|
|
* cgen-mem.h (DECLARE_GETT): Don't inline.
|
53 |
|
|
(DECLARE_SETT): Ditto.
|
54 |
|
|
|
55 |
|
|
2009-10-15 Joel Sherrill
|
56 |
|
|
|
57 |
|
|
* sim-inline.h: Fix spelling error.
|
58 |
|
|
|
59 |
|
|
2009-10-02 Ralf Corsepius
|
60 |
|
|
|
61 |
|
|
* Make-common.in: Add datarootdir.
|
62 |
|
|
|
63 |
|
|
2009-08-29 Ralf Wildenhues
|
64 |
|
|
|
65 |
|
|
* aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS)
|
66 |
|
|
(SIM_CHECK_MEMBERS_1): Remove.
|
67 |
|
|
* configure.ac: Replace SIM_CHECK_MEMBERS call with equivalent
|
68 |
|
|
AC_CHECK_MEMBERS one.
|
69 |
|
|
* configure: Regenerate.
|
70 |
|
|
|
71 |
|
|
* aclocal.m4 (SIM_CHECK_MEMBER): Use AU_ALIAS to define, not defn.
|
72 |
|
|
* configure: Regenerate.
|
73 |
|
|
|
74 |
|
|
2009-08-22 Ralf Wildenhues
|
75 |
|
|
|
76 |
|
|
* config.in: Regenerate.
|
77 |
|
|
* configure: Likewise.
|
78 |
|
|
|
79 |
|
|
* aclocal.m4 (SIM_CHECK_MEMBER): Replace definition with
|
80 |
|
|
definition of AC_CHECK_MEMBER.
|
81 |
|
|
|
82 |
|
|
* aclocal.m4: m4_include toplevel config/override.m4.
|
83 |
|
|
* configure: Regenerate.
|
84 |
|
|
|
85 |
|
|
2009-07-30 Ralf Wildenhues
|
86 |
|
|
|
87 |
|
|
* Makefile.in (datarootdir): New variable.
|
88 |
|
|
|
89 |
|
|
2009-07-07 Doug Evans
|
90 |
|
|
|
91 |
|
|
* Make-common.in (CPU_DIR): Define.
|
92 |
|
|
|
93 |
|
|
2009-07-06 Doug Evans
|
94 |
|
|
|
95 |
|
|
* Make-common.in (CGEN_CPU_EXTR,CGEN_CPU_READ): Pass canonical
|
96 |
|
|
identifiers for file types rather than encoding internal
|
97 |
|
|
implementation details of cgen.sh.
|
98 |
|
|
(CGEN_CPU_WRITE,CGEN_CPU_SEM,CGEN_CPU_SEMSW): Ditto.
|
99 |
|
|
* cgen.sh: Add support for parallel makes.
|
100 |
|
|
Rewrite cpu/decode handling to avoid generating "extrafiles" twice.
|
101 |
|
|
|
102 |
|
|
2009-05-18 Jon Beniston
|
103 |
|
|
|
104 |
|
|
* gennltvals.sh: Add lm32 target.
|
105 |
|
|
* nltvals.def: Add lm32 syscall definitions.
|
106 |
|
|
|
107 |
|
|
2009-03-19 J"orn Rennecke (tiny change)
|
108 |
|
|
|
109 |
|
|
Speed up simulator startup:
|
110 |
|
|
* sim-utils.c (zalloc): Use xcalloc.
|
111 |
|
|
|
112 |
|
|
2009-01-07 Hans-Peter Nilsson
|
113 |
|
|
|
114 |
|
|
* cgen-ops.h (ADDQI, SUBQI, MULQI, NEGQI, ABSQI, ADDHI, SUBHI)
|
115 |
|
|
(MULHI, NEGHI, ABSHI, ADDSI, SUBSI, MULSI, NEGSI, ABSSI, ADDDI)
|
116 |
|
|
(SUBDI, MULDI, NEGDI, ABSDI): Cast arguments to the unsigned type
|
117 |
|
|
variant; UQI, UHI, USI, UDI, and cast the result to the signed
|
118 |
|
|
type, QI, HI, SI, DI.
|
119 |
|
|
|
120 |
|
|
* callback.c (os_error): Mark as being a noreturn function.
|
121 |
|
|
* sim-io.h (sim_io_error): Similar for sim_io_error.
|
122 |
|
|
|
123 |
|
|
2008-11-12 Joel Sherrill
|
124 |
|
|
|
125 |
|
|
* aclocal.m4: Fix underquoting of function names.
|
126 |
|
|
|
127 |
|
|
2008-10-21 Julian Brown
|
128 |
|
|
|
129 |
|
|
* Make-common.in (run$(EXEEXT)): Add LDFLAGS.
|
130 |
|
|
|
131 |
|
|
2008-07-11 Hans-Peter Nilsson
|
132 |
|
|
|
133 |
|
|
* common.m4: Add test for libz and zlib.h.
|
134 |
|
|
* configure: Regenerate to track ../common/common.m4 changes.
|
135 |
|
|
* config.in: Ditto.
|
136 |
|
|
|
137 |
|
|
2008-06-06 Vladimir Prus
|
138 |
|
|
Daniel Jacobowitz
|
139 |
|
|
Joseph Myers
|
140 |
|
|
|
141 |
|
|
* aclocal.m4: Include ../../config/acx.m4.
|
142 |
|
|
* common.m4: Use ACX_PKGVERSION and ACX_BUGURL.
|
143 |
|
|
* configure, config.in: Regenerate.
|
144 |
|
|
* Make-common.in (LIB_OBJS): Add version.o.
|
145 |
|
|
(version.c, version.o): New rules.
|
146 |
|
|
* run.c: Include version.h.
|
147 |
|
|
(usage): Add help parameter. Print output either to stdout or
|
148 |
|
|
stderr depending on that parameter.
|
149 |
|
|
(print_version): New.
|
150 |
|
|
(main): Check for --help and --version.
|
151 |
|
|
* run-sim.h (sim_target_display_usage): Add help parameter.
|
152 |
|
|
* version.h: New.
|
153 |
|
|
|
154 |
|
|
2008-04-14 Hans Kester
|
155 |
|
|
|
156 |
|
|
* sim-signal.c: Define missing signals for _WIN32.
|
157 |
|
|
|
158 |
|
|
2008-02-12 M Ranga Swami Reddy
|
159 |
|
|
|
160 |
|
|
* gennltvals.sh: Add cr16.
|
161 |
|
|
* nltvals.def: Rebuild.
|
162 |
|
|
|
163 |
|
|
2007-10-11 Jesper Nilsson
|
164 |
|
|
|
165 |
|
|
* callback.c (cb_is_stdin, cb_is_stdout, cb_is_stderr): Add functions.
|
166 |
|
|
* syscall.c (cb_syscall): Test for stdin/out/err, not just fd 0/1/2.
|
167 |
|
|
|
168 |
|
|
2007-08-10 Nick Clifton
|
169 |
|
|
|
170 |
|
|
* sim-memopt.c (memory_options): Mention that the
|
171 |
|
|
--memory-size switch accepts suffixes.
|
172 |
|
|
(parse_size): Handle a suffix on the size value.
|
173 |
|
|
* sim-options.c (standard_options): Mention that the mem-size
|
174 |
|
|
switch accepts suffixes.
|
175 |
|
|
(standard_option_handler): Handle a suffix on the size value.
|
176 |
|
|
|
177 |
|
|
2006-12-21 Hans-Peter Nilsson
|
178 |
|
|
|
179 |
|
|
* acconfig.h: Remove.
|
180 |
|
|
* config.in: Regenerate.
|
181 |
|
|
|
182 |
|
|
2006-11-07 Thiemo Seufer
|
183 |
|
|
|
184 |
|
|
* gentmap.c: Fix compile time warning.
|
185 |
|
|
|
186 |
|
|
2006-11-07 Thiemo Seufer
|
187 |
|
|
|
188 |
|
|
* sim-base.h (text_start, text_end, start_addr): Use bfd_vma type
|
189 |
|
|
for bfd text addresses.
|
190 |
|
|
|
191 |
|
|
2006-08-29 Thiemo Seufer
|
192 |
|
|
Nigel Stephens
|
193 |
|
|
|
194 |
|
|
* sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly for
|
195 |
|
|
SIM_QUIET_NAN_NEGATED.
|
196 |
|
|
|
197 |
|
|
2006-08-29 Nigel Stephens
|
198 |
|
|
|
199 |
|
|
* sim-profile.c (profile_pc_init): Initialise default profiling
|
200 |
|
|
frequency to a prime number.
|
201 |
|
|
(profile_print_pc): Convert gmon.out sample data into target
|
202 |
|
|
byte order.
|
203 |
|
|
|
204 |
|
|
2006-06-13 Richard Earnshaw
|
205 |
|
|
|
206 |
|
|
* aclocal.m4: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.
|
207 |
|
|
* common.m4: Likewise.
|
208 |
|
|
* configure: Regenerated.
|
209 |
|
|
|
210 |
|
|
2006-06-05 Daniel Jacobowitz
|
211 |
|
|
|
212 |
|
|
* aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR.
|
213 |
|
|
* configure: Regenerated.
|
214 |
|
|
|
215 |
|
|
2006-05-31 Daniel Jacobowitz
|
216 |
|
|
|
217 |
|
|
* Make-common.in: Replace INTLLIBS and INTLDEPS with LIBINTL
|
218 |
|
|
and LIBINTL_DEP everywhere.
|
219 |
|
|
(CSEARCH): Use INCINTL.
|
220 |
|
|
* aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR. Include new
|
221 |
|
|
gettext macros.
|
222 |
|
|
* configure: Regenerated.
|
223 |
|
|
|
224 |
|
|
2006-03-29 Hans-Peter Nilsson
|
225 |
|
|
|
226 |
|
|
* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Correct duplicate-
|
227 |
|
|
option-contents test.
|
228 |
|
|
|
229 |
|
|
2005-11-28 Mark Mitchell
|
230 |
|
|
|
231 |
|
|
* sim-signal.c (sim_signal_to_target): Fix typos.
|
232 |
|
|
|
233 |
|
|
* sim-reason.c (sim_stop_reason): Use
|
234 |
|
|
sim_signal_to_target, not sim_signal_to_host.
|
235 |
|
|
* sim-signal.c (sim_signal_to_host): Fix typo.
|
236 |
|
|
(sim_signal_to_target): New function.
|
237 |
|
|
|
238 |
|
|
2005-07-10 Hans-Peter Nilsson
|
239 |
|
|
|
240 |
|
|
* sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES
|
241 |
|
|
change.
|
242 |
|
|
|
243 |
|
|
2005-07-08 Ian Lance Taylor
|
244 |
|
|
|
245 |
|
|
* sim-fpu.c (sim_fpu_abs): Always clear the sign bit.
|
246 |
|
|
|
247 |
|
|
* sim-fpu.c (pack_fpu): If SIM_QUIET_NAN_NEGATED is defined, use a
|
248 |
|
|
different fraction for a quiet NaN.
|
249 |
|
|
(unpack_fpu): Likewise.
|
250 |
|
|
|
251 |
|
|
2005-07-08 Ben Elliston
|
252 |
|
|
|
253 |
|
|
* callback.c: Remove ANSI_PROTOTYPES conditional code.
|
254 |
|
|
* sim-load.c: Likewise.
|
255 |
|
|
* syscall.c: Likewise.
|
256 |
|
|
|
257 |
|
|
2005-05-24 Corinna Vinschen
|
258 |
|
|
|
259 |
|
|
* Make-common.in (LIBDEPS): Correctly use INTLDEPS for dependency
|
260 |
|
|
check.
|
261 |
|
|
|
262 |
|
|
2005-05-17 Daniel Jacobowitz
|
263 |
|
|
|
264 |
|
|
* Make-common.in (install-common, installdirs): Honor $DESTDIR.
|
265 |
|
|
|
266 |
|
|
2005-04-20 Manoj Iyer
|
267 |
|
|
|
268 |
|
|
* sim-types.h: Changed unsigned32 and unsigned64 to signed32
|
269 |
|
|
and signed64 for __ALPHA__.
|
270 |
|
|
|
271 |
|
|
2005-03-23 Mark Kettenis
|
272 |
|
|
|
273 |
|
|
* aclocal.m4 Include ../../gettext.m4.
|
274 |
|
|
(CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST)
|
275 |
|
|
(AM_LC_MESSAGES): Remove.
|
276 |
|
|
* configure: Regenerate.
|
277 |
|
|
|
278 |
|
|
2005-02-28 Jim Blandy
|
279 |
|
|
|
280 |
|
|
* aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include
|
281 |
|
|
-Wuninitialized in the default list of build warnings if CFLAGS is
|
282 |
|
|
set, and doesn't include -O. (Using -Wuninitialized without
|
283 |
|
|
optimization produces a warning, which interferes with compilation
|
284 |
|
|
with -Werror.)
|
285 |
|
|
|
286 |
|
|
2005-02-21 Jim Blandy
|
287 |
|
|
|
288 |
|
|
* callback.c (os_fstat): Don't declare 't' unless it's used.
|
289 |
|
|
|
290 |
|
|
2005-02-09 Jim Blandy
|
291 |
|
|
|
292 |
|
|
* Make-common.in (CGEN): Load guile.scm, and include a trailing
|
293 |
|
|
'-s' argument.
|
294 |
|
|
(CGEN_FLAGS_TO_PASS): Include single quotes around the reference
|
295 |
|
|
to $(CGEN), to ensure that the command substitution happens where
|
296 |
|
|
the variable is referenced in the submake, not when the submake's
|
297 |
|
|
arguments are expanded.
|
298 |
|
|
(cgen.sh): Be prepared for the 'cgen' argument to contain spaces.
|
299 |
|
|
(arch, cpu, decode, cpu-decode, defs, desc): Place the name of the
|
300 |
|
|
application Scheme script directly after ${cgen}; don't precede it
|
301 |
|
|
with a -s.
|
302 |
|
|
|
303 |
|
|
2005-01-28 Hans-Peter Nilsson
|
304 |
|
|
|
305 |
|
|
* syscall.c (cb_syscall) : New case.
|
306 |
|
|
* callback.c [HAVE_LIMITS_H]: Include limits.h.
|
307 |
|
|
Include libiberty.h.
|
308 |
|
|
(os_close, os_read, os_write, os_fstat, os_ftruncate): Support fd
|
309 |
|
|
being either end of a pipe.
|
310 |
|
|
(os_pipe, os_pipe_empty, os_pipe_nonempty): New functions.
|
311 |
|
|
(os_shutdown): Clear pipe state.
|
312 |
|
|
(default_callback): Initialize new members.
|
313 |
|
|
|
314 |
|
|
* callback.c (default_callback): Initialize target_endian.
|
315 |
|
|
(cb_store_target_endian): Renamed from store, new first parameter
|
316 |
|
|
host_callback *cb, drop last parameter big_p. Take endianness
|
317 |
|
|
from cb.
|
318 |
|
|
(cb_host_to_target_stat): Change to use cb_store_target_endian.
|
319 |
|
|
Remove variable big_p.
|
320 |
|
|
* nrun.c (main): Initialize default_callback.target_endian.
|
321 |
|
|
|
322 |
|
|
2005-01-14 Andrew Cagney
|
323 |
|
|
|
324 |
|
|
* configure.ac: Replace SIM_AC_COMMON with sinclude of common.m4.
|
325 |
|
|
Add explicit call to AC_CONFIG_HEADER.
|
326 |
|
|
* common.m4: Delete call to AC_CONFIG_HEADER, update usage.
|
327 |
|
|
* configure: Re-generate.
|
328 |
|
|
|
329 |
|
|
2005-01-12 Andrew Cagney
|
330 |
|
|
|
331 |
|
|
* common.m4: New file, based on of aclocal.m4.
|
332 |
|
|
|
333 |
|
|
2005-01-11 Andrew Cagney
|
334 |
|
|
|
335 |
|
|
* aclocal.m4 (SIM_AC_OUTPUT): Rewrite to use 2.59 macros.
|
336 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
337 |
|
|
|
338 |
|
|
2005-01-07 Andrew Cagney
|
339 |
|
|
|
340 |
|
|
* configure.ac: Rename configure.in, require autoconf 2.59.
|
341 |
|
|
* aclocal.m4 (SIM_AC_COMMON): Delete call to AC_CONFIG_AUX_DIR.
|
342 |
|
|
* configure: Re-generate.
|
343 |
|
|
|
344 |
|
|
2004-12-15 Hans-Peter Nilsson
|
345 |
|
|
|
346 |
|
|
* syscall.c (cb_syscall)
|
347 |
|
|
: New cases.
|
348 |
|
|
|
349 |
|
|
2004-12-13 Hans-Peter Nilsson
|
350 |
|
|
|
351 |
|
|
* syscall.c (cb_syscall) : New case.
|
352 |
|
|
(cb_syscall) : New case.
|
353 |
|
|
* callback.c (os_lstat): New function.
|
354 |
|
|
|
355 |
|
|
2004-12-08 Hans-Peter Nilsson
|
356 |
|
|
|
357 |
|
|
* run.1: Document --sysroot=filepath.
|
358 |
|
|
* sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT.
|
359 |
|
|
(standard_options): Support --sysroot=.
|
360 |
|
|
(standard_option_handler): Handle OPTION_SYSROOT.
|
361 |
|
|
* syscall.c (simulator_sysroot): Define, initialized empty.
|
362 |
|
|
(get_path): Prepend simulator_sysroot to absolute file path.
|
363 |
|
|
[HAVE_STRING_H]: Include string.h.
|
364 |
|
|
[!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h.
|
365 |
|
|
* nrun.c [HAVE_UNISTD_H]: Include unistd.h.
|
366 |
|
|
(main): If simulator_sysroot is not empty, chdir there.
|
367 |
|
|
* sim-config.h (simulator_sysroot): Declare.
|
368 |
|
|
|
369 |
|
|
* aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break
|
370 |
|
|
cgen_rtx_error" in a CGEN-generated simulator.
|
371 |
|
|
* gdbinit.in: Break on sim_core_signal too. Have autoconf
|
372 |
|
|
replacement for CGEN-related breakpoints.
|
373 |
|
|
|
374 |
|
|
2004-12-07 Hans-Peter Nilsson
|
375 |
|
|
|
376 |
|
|
* Make-common.in (sim-basics_h): Add $(callback_h).
|
377 |
|
|
|
378 |
|
|
2004-12-03 Hans-Peter Nilsson
|
379 |
|
|
|
380 |
|
|
* configure.in (SIM_CHECK_MEMBERS): Call for struct stat members
|
381 |
|
|
st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev,
|
382 |
|
|
st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime.
|
383 |
|
|
* aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1)
|
384 |
|
|
(SIM_CHECK_MEMBERS): New macros.
|
385 |
|
|
* callback.c (cb_host_to_target_stat): Use temporary macro ST_x
|
386 |
|
|
for struct stat member test and write. Add ST_x calls for each
|
387 |
|
|
struct stat member tested in configure.in. Wrap each ST_x call in
|
388 |
|
|
#ifdef of configure macro for that member.
|
389 |
|
|
* configure, config.in: Regenerate.
|
390 |
|
|
|
391 |
|
|
2004-12-01 Hans-Peter Nilsson
|
392 |
|
|
|
393 |
|
|
* cgen.sh: New thirteenth parameter opcfile, defaulting to
|
394 |
|
|
/dev/null.
|
395 |
|
|
: Pass -OPC opcfile.
|
396 |
|
|
* Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth
|
397 |
|
|
parameter to cgen.sh.
|
398 |
|
|
|
399 |
|
|
2004-11-30 Richard Earnshaw
|
400 |
|
|
|
401 |
|
|
* Make-common.in (sim-basics_h): Correct dependencies on
|
402 |
|
|
cconfig.h and tconfig.h
|
403 |
|
|
(sim-load.o): Correct typo in sim-basics_h dependency.
|
404 |
|
|
|
405 |
|
|
2004-11-18 Richard Earnshaw
|
406 |
|
|
|
407 |
|
|
* Make-common.in (sim-*_h): Add macros for all sim headers listing
|
408 |
|
|
sub-dependencies for other sim files that they include.
|
409 |
|
|
(sim_main_headers): Use sim-*_h macros.
|
410 |
|
|
(sim-load.o): Depend on sim-basics_h, not sim_main_headers.
|
411 |
|
|
|
412 |
|
|
2004-11-16 Hans-Peter Nilsson
|
413 |
|
|
|
414 |
|
|
* sim-config.c (sim_config): Recognize when a bfd has unspecified
|
415 |
|
|
endian information.
|
416 |
|
|
|
417 |
|
|
* Make-common.in (sim-load.o): Depend on $(sim_main_headers) and
|
418 |
|
|
$(remote_sim_h) too.
|
419 |
|
|
(sim_main_headers): Add sim-utils.h.
|
420 |
|
|
|
421 |
|
|
2004-10-07 Kazuhiro Inaoka
|
422 |
|
|
|
423 |
|
|
* cgen-defs.h (ENDSWITCH): Changed to compile with gcc-3.4.2.
|
424 |
|
|
|
425 |
|
|
2004-07-26 Andrew Cagney
|
426 |
|
|
|
427 |
|
|
Problem from Olaf Hering .
|
428 |
|
|
* Makefile.in (install-man, installdirs): Add DESTDIR prefix.
|
429 |
|
|
|
430 |
|
|
2004-07-10 Ben Elliston
|
431 |
|
|
|
432 |
|
|
* hw-tree.c (parse_integer_property): Typo fix in comments.
|
433 |
|
|
* sim-options.c (sim_args_command): Likewise.
|
434 |
|
|
|
435 |
|
|
2004-06-28 Andrew Cagney
|
436 |
|
|
|
437 |
|
|
* run.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
|
438 |
|
|
|
439 |
|
|
2004-06-27 J"orn Rennecke
|
440 |
|
|
|
441 |
|
|
* callback.c (os_shutdown): Fix bug in last change: actually
|
442 |
|
|
mark file descriptors as available on startup.
|
443 |
|
|
|
444 |
|
|
2004-06-25 J"orn Rennecke
|
445 |
|
|
|
446 |
|
|
[ include/gdb: * callback.h (host_callback_struct): Replace
|
447 |
|
|
members fdopen and alwaysopen with fd_buddy. ]
|
448 |
|
|
* callback.c: Changed all users.
|
449 |
|
|
|
450 |
|
|
2004-06-15 Alan Modra
|
451 |
|
|
|
452 |
|
|
* sim-load.c (sim_load_file): Use bfd_get_section_size
|
453 |
|
|
instead of bfd_get_section_size_before_reloc.
|
454 |
|
|
|
455 |
|
|
2004-05-18 Daniel Jacobowitz
|
456 |
|
|
|
457 |
|
|
* dv-glue.c (hw_glue_finish): Cast result of sizeof to long before
|
458 |
|
|
passing it to printf.
|
459 |
|
|
|
460 |
|
|
2004-05-10 Daniel Jacobowitz
|
461 |
|
|
|
462 |
|
|
* callback.c: Update copyright dates.
|
463 |
|
|
* run.c: Likewise.
|
464 |
|
|
* sim-basics.h: Likewise.
|
465 |
|
|
* sim-load.c: Likewise.
|
466 |
|
|
* syscall.c: Likewise.
|
467 |
|
|
|
468 |
|
|
2004-05-10 Maciej W. Rozycki
|
469 |
|
|
|
470 |
|
|
* callback.c: Include cconfig.h instead of config.h.
|
471 |
|
|
* run.c: Likewise.
|
472 |
|
|
* sim-basics.h: Likewise.
|
473 |
|
|
* sim-load.c: Likewise.
|
474 |
|
|
* syscall.c: Likewise.
|
475 |
|
|
|
476 |
|
|
2004-01-16 Ben Elliston
|
477 |
|
|
|
478 |
|
|
* Makefile.in (clean): Remove rm -f $(ALL), as $(ALL) is empty.
|
479 |
|
|
|
480 |
|
|
2003-12-19 Kazuhiro Inaoka
|
481 |
|
|
|
482 |
|
|
* sim-core.c (sim_core_trans_addr): Added for m32r-linux-run.
|
483 |
|
|
|
484 |
|
|
2003-11-22 Kazu Hirata
|
485 |
|
|
|
486 |
|
|
* sim-options.c (standard_options): Fix the names of H8
|
487 |
|
|
variants.
|
488 |
|
|
|
489 |
|
|
2003-10-30 Andrew Cagney
|
490 |
|
|
|
491 |
|
|
* sim-trace.c, sim-base.h: Replace "struct symbol_cache_entry"
|
492 |
|
|
with "struct bfd_symbol".
|
493 |
|
|
|
494 |
|
|
2003-10-21 Andrew Cagney
|
495 |
|
|
|
496 |
|
|
* callback.c (os_truncate): Call "truncate", and not "stat".
|
497 |
|
|
|
498 |
|
|
2003-10-20 Andrew Cagney
|
499 |
|
|
|
500 |
|
|
* sim-base.h: Replace "struct sec" with "struct bfd_section".
|
501 |
|
|
|
502 |
|
|
2003-10-15 J"orn Rennecke
|
503 |
|
|
|
504 |
|
|
* callback.c (os_ftruncate, os_truncate): New functions.
|
505 |
|
|
(default_callback): Initialize ftruncate and truncate members.
|
506 |
|
|
|
507 |
|
|
2003-09-08 Dave Brolley
|
508 |
|
|
|
509 |
|
|
On behalf of Doug Evans
|
510 |
|
|
* cgen.sh: New arg archfile.
|
511 |
|
|
* Make-common.in (cgen-arch,cgen-cpu,cgen-defs,cgen-decode,
|
512 |
|
|
cgen-cpu-decode,cgen-desc): Update call to cgen.sh.
|
513 |
|
|
|
514 |
|
|
2003-08-28 Andrew Cagney
|
515 |
|
|
|
516 |
|
|
* dv-glue.c (hw_glue_finish): Change %d to %ld to match sizeof.
|
517 |
|
|
* sim-options.c (print_help): Cast the format with specifier to
|
518 |
|
|
"int".
|
519 |
|
|
|
520 |
|
|
2003-08-20 Michael Snyder
|
521 |
|
|
Dave Brolley
|
522 |
|
|
|
523 |
|
|
* cgen-par.h (flags, word1): New target-specific
|
524 |
|
|
fields of CGEN_WRITE_QUEUE_ELEMENT.
|
525 |
|
|
(CGEN_WRITE_QUEUE_ELEMENT_FLAGS): New accessor macro.
|
526 |
|
|
(CGEN_WRITE_QUEUE_ELEMENT_WORD1): New accessor macro.
|
527 |
|
|
* gennltvals.sh: Add frv target.
|
528 |
|
|
* nltvals.def: Add frv target.
|
529 |
|
|
|
530 |
|
|
2003-06-23 Michael Snyder
|
531 |
|
|
|
532 |
|
|
* nrun.c (main): Delete h8/300 ifdef (sim now handles signals).
|
533 |
|
|
* sim-reg.c: Fix cut-and-paste bug in comment.
|
534 |
|
|
|
535 |
|
|
2003-06-22 Andrew Cagney
|
536 |
|
|
|
537 |
|
|
From matthew green :
|
538 |
|
|
* sim-fpu.h: Update copyright.
|
539 |
|
|
(sim_fpu_fraction, sim_fpu_guard): New prototypes.
|
540 |
|
|
* sim-fpu.c: Update copyright.
|
541 |
|
|
(sim_fpu_fraction, sim_fpu_guard): New inline functions.
|
542 |
|
|
|
543 |
|
|
2003-06-17 Frank Ch. Eigler
|
544 |
|
|
|
545 |
|
|
From Doug Evans :
|
546 |
|
|
* cgen-trace.h (sim_disasm_read_memory): Update args to be compatible
|
547 |
|
|
with disassemble_info:read_memory_func.
|
548 |
|
|
* cgen-trace.c (sim_disasm_read_memory): Ditto.
|
549 |
|
|
|
550 |
|
|
2003-06-04 Michael Snyder
|
551 |
|
|
|
552 |
|
|
* common/run.c (main): Remove SIM_H8300 ifdef.
|
553 |
|
|
(usage): Ditto.
|
554 |
|
|
* common/sim-options.c (STANDARD_OPTIONS): Add SIM_H8300SX.
|
555 |
|
|
(standard_options): Add '-x' for h8/300sx.
|
556 |
|
|
(standard_option_handler): Add case for SIM_H8300SX.
|
557 |
|
|
|
558 |
|
|
2003-04-13 Michael Snyder
|
559 |
|
|
|
560 |
|
|
* Make-common.in (sim-events.o, sim-config.o): Depend on sim-main.h.
|
561 |
|
|
|
562 |
|
|
2003-03-01 Andrew Cagney
|
563 |
|
|
|
564 |
|
|
* sim-engine.c (sim_engine_halt): If jmpbuf is invalid, abort.
|
565 |
|
|
(sim_engine_vabort): Ditto.
|
566 |
|
|
|
567 |
|
|
2003-02-27 Andrew Cagney
|
568 |
|
|
|
569 |
|
|
* sim-utils.h (sim_analyze_program, sim_load_file): Rename _bfd to bfd.
|
570 |
|
|
* sim-hload.c (sim_load), sim-base.h (sim_state_base): Ditto.
|
571 |
|
|
* nrun.c (main): Ditto.
|
572 |
|
|
|
573 |
|
|
2003-02-26 Andrew Cagney
|
574 |
|
|
|
575 |
|
|
* sim-engine.h (sim_engine_abort): Add noreturn attribute.
|
576 |
|
|
(sim_engine_vabort): Ditto.
|
577 |
|
|
(sim_engine_halt, sim_engine_restart): Ditto.
|
578 |
|
|
|
579 |
|
|
2003-02-20 Andrew Cagney
|
580 |
|
|
|
581 |
|
|
* Make-common.in (SIM_NEW_COMMON_OBJS): Remove sim-break.o
|
582 |
|
|
(sim-break_h): Delete macro.
|
583 |
|
|
(sim-break.o): Delete rule.
|
584 |
|
|
* sim-break.c: Delete file.
|
585 |
|
|
* sim-break.h: Delete file.
|
586 |
|
|
* sim-base.h [SIM_HAVE_BREAKPOINTS]: Don't include "sim-break.h".
|
587 |
|
|
(STATE_BREAKPOINTS): Delete macro.
|
588 |
|
|
(sim_state_base): Delete field breakpoints.
|
589 |
|
|
* sim-module.c (modules) [SIM_HAVE_BREAKPOINTS]: Don't add
|
590 |
|
|
sim_break_install to array.
|
591 |
|
|
|
592 |
|
|
2003-01-08 Kazu Hirata
|
593 |
|
|
|
594 |
|
|
* run.c (usage): Fix typos.
|
595 |
|
|
|
596 |
|
|
2002-11-27 Richard Sandiford
|
597 |
|
|
|
598 |
|
|
* sim-fpu.c (sim_fpu_inv): Use sim_fpu_div.
|
599 |
|
|
|
600 |
|
|
2002-11-22 Andrew Cagney
|
601 |
|
|
|
602 |
|
|
* dv-core.c: Update copyright. sim/common contributed to the FSF.
|
603 |
|
|
* dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto.
|
604 |
|
|
* hw-device.h, hw-handles.c, hw-handles.h: Ditto.
|
605 |
|
|
* hw-instances.c, hw-instances.h, hw-properties.c: Ditto.
|
606 |
|
|
* hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto.
|
607 |
|
|
* sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto.
|
608 |
|
|
* sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto.
|
609 |
|
|
* sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto.
|
610 |
|
|
* sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto.
|
611 |
|
|
* sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.
|
612 |
|
|
|
613 |
|
|
2002-11-13 Andrew Cagney
|
614 |
|
|
|
615 |
|
|
* run.c (main): Remove SIM_HAVE_ENVIRONMENT from #endif.
|
616 |
|
|
|
617 |
|
|
2002-11-06 Richard Sandiford
|
618 |
|
|
|
619 |
|
|
* Make-common.in (SIM_EXTRA_DISTCLEAN): New macro.
|
620 |
|
|
(distclean): Depend on it.
|
621 |
|
|
|
622 |
|
|
2002-10-14 Alan Modra
|
623 |
|
|
|
624 |
|
|
* cgen-trace.h: Test __BFD_H_SEEN__ rather than BFD_VERSION.
|
625 |
|
|
|
626 |
|
|
2002-08-29 Dave Brolley
|
627 |
|
|
|
628 |
|
|
* Make-common.in (CGEN_READ_SCM): Remove ../../cgen/stamp-cgen.
|
629 |
|
|
|
630 |
|
|
2002-07-17 Andrew Cagney
|
631 |
|
|
|
632 |
|
|
* run-sim.h: Add #ifdef RUN_SIM_H wrapper.
|
633 |
|
|
(sim_set_callbacks, sim_size, sim_trace)
|
634 |
|
|
(sim_set_trace, sim_set_profile_size, sim_kill): Declare. Moved
|
635 |
|
|
to here from "gdb/remote-sim.h".
|
636 |
|
|
|
637 |
|
|
2002-07-16 Andrew Cagney
|
638 |
|
|
|
639 |
|
|
* sim-resume.c (sim_resume): Add local variable sig_to_deliver to
|
640 |
|
|
avoid possible longjmp problems with automatic variable siggnal.
|
641 |
|
|
|
642 |
|
|
2002-07-14 Andrew Cagney
|
643 |
|
|
|
644 |
|
|
From 2002-07-11 Momchil Velikov :
|
645 |
|
|
* Make-common.in (installdirs): Make $(libdir) too, needed when
|
646 |
|
|
installing libsim.a.
|
647 |
|
|
|
648 |
|
|
2002-07-13 Andrew Cagney
|
649 |
|
|
|
650 |
|
|
* gennltvals.sh (dir): Mark d30v as obsolete.
|
651 |
|
|
* nltvals.def: Remove d30v.
|
652 |
|
|
|
653 |
|
|
2002-06-17 Andrew Cagney
|
654 |
|
|
|
655 |
|
|
* hw-events.c (hw_event_queue_schedule): Initialize `dummy'.
|
656 |
|
|
|
657 |
|
|
* sim-memopt.c: Include .
|
658 |
|
|
(do_memopt_add): Fix printf format.
|
659 |
|
|
* sim-events.c (sim_events_schedule): Initialize ``dummy''.
|
660 |
|
|
|
661 |
|
|
2002-06-16 Andrew Cagney
|
662 |
|
|
|
663 |
|
|
* aclocal.m4 (SIM_AC_OPTION_WARNINGS): Update to match GDB's
|
664 |
|
|
--enable-gdb-build-warnings.
|
665 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
666 |
|
|
|
667 |
|
|
2002-06-09 Aldy Hernandez
|
668 |
|
|
|
669 |
|
|
* sim-fpu.c (unpack_fpu): Initialize exponent for
|
670 |
|
|
sim_fpu_class_zero.
|
671 |
|
|
(i2fpu): Same.
|
672 |
|
|
(sim_fpu_sqrt): Same.
|
673 |
|
|
|
674 |
|
|
2002-06-08 Andrew Cagney
|
675 |
|
|
|
676 |
|
|
* gentmap.c (gen_targ_map_c): Generate "gdb/callback.h".
|
677 |
|
|
* sim-basics.h: Include "gdb/callback.h" and "gdb/remote-sim.h".
|
678 |
|
|
* run.c: Ditto.
|
679 |
|
|
* sim-load.c: Ditto.
|
680 |
|
|
* callback.c: Ditto.
|
681 |
|
|
* syscall.c: Ditto.
|
682 |
|
|
* Make-common.in (callback_h): Define.
|
683 |
|
|
(remote_sim_h): Define.
|
684 |
|
|
(run.o): Update.
|
685 |
|
|
(callback.o): Update.
|
686 |
|
|
(syscall.o): Update.
|
687 |
|
|
(sim-load.o):
|
688 |
|
|
(nrun.o): Update.
|
689 |
|
|
(sim-hload.o): Update.
|
690 |
|
|
(sim-io.o): Update.
|
691 |
|
|
(sim-reason.o): Update.
|
692 |
|
|
(sim-reg.o): Update.
|
693 |
|
|
(sim-resume.o): Update.
|
694 |
|
|
|
695 |
|
|
2002-05-30 Kazu Hirata
|
696 |
|
|
|
697 |
|
|
* run.c: Fix formatting.
|
698 |
|
|
|
699 |
|
|
2002-05-20 Nick Clifton
|
700 |
|
|
|
701 |
|
|
* run-sim.h: New header. Provide prototypes for functions used
|
702 |
|
|
between run() and libsim.a which are not used by GDB.
|
703 |
|
|
* run.c: Include run-sim.h.
|
704 |
|
|
(main): If SIM_TARGET_SWITCHES is defined call
|
705 |
|
|
sim_target_parse_command_line.
|
706 |
|
|
(usage): If SIM_TARGET_SWITCHES is defined call
|
707 |
|
|
sim_target_display_usage.
|
708 |
|
|
|
709 |
|
|
2002-05-17 Andrey Volkov
|
710 |
|
|
|
711 |
|
|
* run.c: Made h8300s as new target, not h8300h alias.
|
712 |
|
|
Added new option -S (h8300s target)
|
713 |
|
|
* sim-options.c: Ditto.
|
714 |
|
|
|
715 |
|
|
2002-05-01 Chris Demetriou
|
716 |
|
|
|
717 |
|
|
* callback.c: Use 'deprecated' rather than 'depreciated.'
|
718 |
|
|
|
719 |
|
|
2002-02-24 Andrew Cagney
|
720 |
|
|
|
721 |
|
|
From wiz at danbala:
|
722 |
|
|
* sim-fpu.h: Fix grammar and typos.
|
723 |
|
|
Fix PR gdb/287.
|
724 |
|
|
|
725 |
|
|
2002-02-10 Chris Demetriou
|
726 |
|
|
|
727 |
|
|
* callback.c: Fix some spelling errors.
|
728 |
|
|
* hw-device.h: Likewise.
|
729 |
|
|
* hw-tree.c: Likewise.
|
730 |
|
|
* sim-abort.c: Likewise.
|
731 |
|
|
* sim-alu.h: Likewise.
|
732 |
|
|
* sim-core.h: Likewise.
|
733 |
|
|
* sim-events.c: Likewise.
|
734 |
|
|
* sim-events.h: Likewise.
|
735 |
|
|
* sim-fpu.h: Likewise.
|
736 |
|
|
* sim-profile.h: Likewise.
|
737 |
|
|
* sim-utils.c: Likewise.
|
738 |
|
|
|
739 |
|
|
2002-01-31 Hans-Peter Nilsson
|
740 |
|
|
|
741 |
|
|
* cgen-ops.h (ADDCQI, ADDCFQI, ADDOFQI, SUBCQI, SUBCFQI, SUBOFQI):
|
742 |
|
|
New functions.
|
743 |
|
|
|
744 |
|
|
2002-01-20 Ben Elliston
|
745 |
|
|
|
746 |
|
|
* sim-fpu.h (SIM_FPU_IS_QNAN): Replace "Quite" with "Quiet" in
|
747 |
|
|
the comment for this enumerator.
|
748 |
|
|
|
749 |
|
|
2002-01-14 Ben Elliston
|
750 |
|
|
|
751 |
|
|
* sim-fpu.h: Fix comment about sim_fpu_* constants.
|
752 |
|
|
|
753 |
|
|
2001-12-20 Kazu Hirata
|
754 |
|
|
|
755 |
|
|
* run.c (usage): Fix a typo.
|
756 |
|
|
|
757 |
|
|
2001-07-05 Ben Elliston
|
758 |
|
|
|
759 |
|
|
* Make-common.in (srccgen): Remove.
|
760 |
|
|
(CGEN_CPU_DIR): Define.
|
761 |
|
|
(CGEN_READ_SCM): Redefine without $(srccgen).
|
762 |
|
|
(CGEN_ARCH_SCM): Ditto.
|
763 |
|
|
(CGEN_CPU_SCM): Ditto.
|
764 |
|
|
(CGEN_DECODE_SCM): Ditto.
|
765 |
|
|
(CGEN_DESC_SCM): Ditto.
|
766 |
|
|
|
767 |
|
|
2001-04-25 Frank Ch. Eigler
|
768 |
|
|
|
769 |
|
|
* sim-load.c (sim_load_file): Put it back: external now.
|
770 |
|
|
* sim-utils.c (sim_analyze_program): Ditto. Nyuk nyuk nyuk.
|
771 |
|
|
|
772 |
|
|
2001-04-21 Andrew Cagney
|
773 |
|
|
|
774 |
|
|
* sim-load.c (sim_load_file): Delete call bfd_cache_close. BFD
|
775 |
|
|
internal interface.
|
776 |
|
|
* sim-utils.c (sim_analyze_program): Ditto.
|
777 |
|
|
|
778 |
|
|
2001-04-19 Frank Ch. Eigler
|
779 |
|
|
|
780 |
|
|
* sim-utils.c (sim_analyze_program): Call bfd_cache_close after
|
781 |
|
|
we're finished with its immediate use.
|
782 |
|
|
* sim-load.c (sim_load_file): Ditto.
|
783 |
|
|
|
784 |
|
|
2001-03-16 Frank Ch. Eigler
|
785 |
|
|
|
786 |
|
|
Add support for mmap-based memory regions.
|
787 |
|
|
* sim-memopt.c (mmap_next_fd): New global.
|
788 |
|
|
(sim_memory_init): Reinitialize it.
|
789 |
|
|
(OPTION_MEMORY_MAPFILE, memory_option_handler): Support new
|
790 |
|
|
"--memory-mapfile FILE" option. Check for some errors.
|
791 |
|
|
(do_memopt_add): Conditionally do mmap instead of malloc for
|
792 |
|
|
backing store of simulated memory. Check for more errors.
|
793 |
|
|
(do_simopt_delete, sim_memory_uninstall): Corresponding cleanup.
|
794 |
|
|
* sim-memopt.h (munmap_length): New member of _sim_memopt.
|
795 |
|
|
* configure.in: Look for mmap/fstat related functions and headers.
|
796 |
|
|
* config.in, configure: Regenerated.
|
797 |
|
|
|
798 |
|
|
2001-03-15 Frank Ch. Eigler
|
799 |
|
|
|
800 |
|
|
* sim-core.c (sim_core_map_attach): Correct overlap-related
|
801 |
|
|
error messages.
|
802 |
|
|
|
803 |
|
|
2001-03-07 Michael Meissner
|
804 |
|
|
|
805 |
|
|
* run.c (alloca-conf.h): Delete, no longer provided.
|
806 |
|
|
|
807 |
|
|
2001-02-22 Ben Elliston
|
808 |
|
|
|
809 |
|
|
* sim-trace.h (TRACE_VPU_IDX): Add.
|
810 |
|
|
(TRACE_vpu): Define.
|
811 |
|
|
(WITH_TRACE_VPU_P): Likewise.
|
812 |
|
|
(TRACE_VPU_P): Likewise.
|
813 |
|
|
* sim-trace.c (OPTION_TRACE_VPU): Define.
|
814 |
|
|
(trace_options): Add --trace-vpu.
|
815 |
|
|
(trace_option_handler): Handle OPTION_TRACE_VPU.
|
816 |
|
|
(trace_option_handler): Include VPU tracing in --trace-semantics.
|
817 |
|
|
(trace_idx_to_str): Handle TRACE_VPU_IDX.
|
818 |
|
|
|
819 |
|
|
2001-02-21 Ben Elliston
|
820 |
|
|
|
821 |
|
|
* sim-trace.h (TRACE_BRANCH_INPUT1): New macro.
|
822 |
|
|
(TRACE_BRANCH_INPUT2): Likewise.
|
823 |
|
|
|
824 |
|
|
2001-02-09 Ben Elliston
|
825 |
|
|
|
826 |
|
|
* (profile_print_pc): Write header out in target byte order.
|
827 |
|
|
|
828 |
|
|
2001-02-09 Ben Elliston
|
829 |
|
|
|
830 |
|
|
* sim-profile.c (profile_pc_init): Correct bug in loop logic when
|
831 |
|
|
adjusting the pc shift value.
|
832 |
|
|
|
833 |
|
|
2001-01-12 Chris Demetriou
|
834 |
|
|
|
835 |
|
|
* aclocal.m4 (SIM_AC_OPTION_SCACHE): Properly handle the case
|
836 |
|
|
where a numeric value is supplied.
|
837 |
|
|
|
838 |
|
|
2001-01-06 Ben Elliston
|
839 |
|
|
|
840 |
|
|
* cgen.sh: Allow extrafiles to include the semantics files when
|
841 |
|
|
generating an ISA-specific decoder.
|
842 |
|
|
|
843 |
|
|
2000-12-27 Alexandre Oliva
|
844 |
|
|
|
845 |
|
|
* Make-common.in (sim-io.o): Depend on targ-vals.h.
|
846 |
|
|
|
847 |
|
|
2000-12-23 Ben Elliston
|
848 |
|
|
|
849 |
|
|
* cgen-trace.c (trace_result): Handle 'f' type operands; output
|
850 |
|
|
them to the trace stream using sim_fpu_printn_fpu. Include
|
851 |
|
|
"sim-fpu.h".
|
852 |
|
|
|
853 |
|
|
2000-12-15 Ben Elliston
|
854 |
|
|
|
855 |
|
|
* sim-fpu.h (sim_fpu_printn_fpu): Declare.
|
856 |
|
|
* sim-fpu.c (print_bits): Add digits parameter. Print only as many
|
857 |
|
|
trailing digits as specified (-1 to print all digits).
|
858 |
|
|
(sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu.
|
859 |
|
|
(sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls
|
860 |
|
|
to print_bits ().
|
861 |
|
|
|
862 |
|
|
2000-12-13 Ben Elliston
|
863 |
|
|
|
864 |
|
|
* cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor
|
865 |
|
|
sed expressions into $sedscript, substituting @prefix@/@PREFIX@.
|
866 |
|
|
(defs): New action.
|
867 |
|
|
|
868 |
|
|
2000-12-12 Geoffrey Keating
|
869 |
|
|
|
870 |
|
|
* sim-endian.h: Don't have parameters on macro definitions which
|
871 |
|
|
are simply renaming functions, to permit use of XCONCAT2 in both
|
872 |
|
|
the macro name and the arguments in a use of such a definition.
|
873 |
|
|
|
874 |
|
|
2000-12-11 Ben Elliston
|
875 |
|
|
|
876 |
|
|
* cgen-ops.h (SUBWORDDFDI): New function.
|
877 |
|
|
|
878 |
|
|
2000-12-05 Ben Elliston
|
879 |
|
|
|
880 |
|
|
* Make-common.in (cgen-defs): New target.
|
881 |
|
|
(cgen-decode): Pass $(EXTRAFILES).
|
882 |
|
|
|
883 |
|
|
* genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and
|
884 |
|
|
-outfile-suffix options.
|
885 |
|
|
|
886 |
|
|
2000-12-04 Ben Elliston
|
887 |
|
|
|
888 |
|
|
* cgen-ops.h (SUBWORDSIQI): Mask off top bits.
|
889 |
|
|
(SUBWORDSIUQI): Likewise.
|
890 |
|
|
(SUBWORDDIHI): Likewise.
|
891 |
|
|
(SUBWORDDIQI): New function.
|
892 |
|
|
|
893 |
|
|
* cgen-trace.c (disassemble_insn): Remove unused declaration.
|
894 |
|
|
* cgen-scache.c (scache_option_handler): Remove unused local var.
|
895 |
|
|
|
896 |
|
|
2000-12-03 Ben Elliston
|
897 |
|
|
|
898 |
|
|
* sim-profile.c (profile_option_handler): Remove unused prof_nr.
|
899 |
|
|
|
900 |
|
|
2000-11-26 Stephane Carrez
|
901 |
|
|
|
902 |
|
|
* hw-events.c (delete_hw_event_data): Remove the scheduled events.
|
903 |
|
|
|
904 |
|
|
2000-11-26 Stephane Carrez
|
905 |
|
|
|
906 |
|
|
* dv-core.c (dv_core_attach_address_callback): Don't abort if
|
907 |
|
|
space is not zero.
|
908 |
|
|
|
909 |
|
|
2000-11-24 Stephane Carrez
|
910 |
|
|
|
911 |
|
|
* hw-base.c (hw_delete): Don't free base_of_hw since it's freed.
|
912 |
|
|
(set_hw_delete): Moved the macro as a function.
|
913 |
|
|
* hw-base.h (set_hw_delete): Declare as external function.
|
914 |
|
|
* hw-alloc.c (delete_hw_alloc_data): Allow to free the memory
|
915 |
|
|
allocated using hw_malloc.
|
916 |
|
|
|
917 |
|
|
2000-11-24 Stephane Carrez
|
918 |
|
|
|
919 |
|
|
* sim-options.c (sim_parse_args): Free the memory used for
|
920 |
|
|
long_options, short_options, handlers, opt_cpu, orig_val.
|
921 |
|
|
|
922 |
|
|
2000-11-20 Ben Elliston
|
923 |
|
|
|
924 |
|
|
* cgen-ops.h (SUBBI): New macro.
|
925 |
|
|
(SUBWORDSIQI, SUBWORDSIHI, SUBWORDSIUQI): New functions.
|
926 |
|
|
(SUBWORDDIHI, SUBWORDDIUQI, SUBWORDDIDF): Likewise.
|
927 |
|
|
|
928 |
|
|
2000-11-16 Ben Elliston
|
929 |
|
|
|
930 |
|
|
* cgen-types.h (VOID): New type.
|
931 |
|
|
|
932 |
|
|
2000-11-09 Ben Elliston
|
933 |
|
|
|
934 |
|
|
* sim-fpu.c (sim_fpu_one): Set exponent to 0.
|
935 |
|
|
(sim_fpu_two): Set exponent to 1.
|
936 |
|
|
|
937 |
|
|
2000-10-26 Ben Elliston
|
938 |
|
|
|
939 |
|
|
* cgen.sh: Handle an isa argument between cpu and mach. Default to
|
940 |
|
|
`all'. Pass `-i' options to cgen applications.
|
941 |
|
|
* Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode,
|
942 |
|
|
cgen-desc): Pass $(isa) to cgen.sh.
|
943 |
|
|
|
944 |
|
|
2000-10-08 Ben Elliston
|
945 |
|
|
|
946 |
|
|
* cgen-utils.c (cgen_rtx_error): New function.
|
947 |
|
|
|
948 |
|
|
2000-10-07 Ben Elliston
|
949 |
|
|
|
950 |
|
|
* cgen-trace.c (sim_cgen_disassemble_insn): Handle failure
|
951 |
|
|
conditions for sim_core_read_buffer().
|
952 |
|
|
|
953 |
|
|
2000-09-26 Dave Brolley
|
954 |
|
|
|
955 |
|
|
* cgen-utils.c (RORQI): New function.
|
956 |
|
|
(ROLQI): New function.
|
957 |
|
|
(RORHI): New function.
|
958 |
|
|
(ROLHI): New function.
|
959 |
|
|
|
960 |
|
|
2000-08-28 Dave Brolley
|
961 |
|
|
|
962 |
|
|
* cgen-trace.c (sim_cgen_disassemble_insn): Make sure entire insn is
|
963 |
|
|
in insn_value if it will fit.
|
964 |
|
|
|
965 |
|
|
2000-08-21 Frank Ch. Eigler
|
966 |
|
|
|
967 |
|
|
* Make-common.in, cgen.sh: Contribute CGEN-related build targets/rules.
|
968 |
|
|
|
969 |
|
|
2000-08-15 Dave Brolley
|
970 |
|
|
|
971 |
|
|
* sim-profile.c (profile_print_speed): Print cpu frequency if not zero.
|
972 |
|
|
|
973 |
|
|
2000-08-15 Dave Brolley
|
974 |
|
|
|
975 |
|
|
* sim-profile.h (PROFILE_DATA): Add cpu_freq.
|
976 |
|
|
(PROFILE_CPU_FREQ): New macro.
|
977 |
|
|
* sim-profile.c (OPTION_PROFILE_CPU_FREQUENCY): New enumerator.
|
978 |
|
|
(profile-options): Add profile-cpu-frequency.
|
979 |
|
|
(parse_frequency): New function.
|
980 |
|
|
(profile_option_handler): Handle OPTION_PROFILE_CPU_FREQUENCY.
|
981 |
|
|
(profile_print_speed): Print cpu frequency and simulated execution time.
|
982 |
|
|
Re-indent other items to match.
|
983 |
|
|
|
984 |
|
|
2000-08-09 Andrew Cagney
|
985 |
|
|
|
986 |
|
|
* dv-sockser.c (dv_sockser_init): Eliminate MIN macro.
|
987 |
|
|
|
988 |
|
|
2000-07-27 Frank Ch. Eigler
|
989 |
|
|
|
990 |
|
|
From Maciej W. Rozycki
|
991 |
|
|
* Makefile.in (install): Install run.1 man page.
|
992 |
|
|
|
993 |
|
|
Thu Jul 27 21:56:08 2000 Andrew Cagney
|
994 |
|
|
|
995 |
|
|
From 2000-06-23 Doug Evans :
|
996 |
|
|
* Makefile.in (headers,nltvals.def): Merge.
|
997 |
|
|
|
998 |
|
|
Thu Jul 27 20:37:47 2000 Andrew Cagney
|
999 |
|
|
|
1000 |
|
|
From 2000-06-25 Stephane Carrez :
|
1001 |
|
|
* nrun.c (main): Print the simulator statistics only in
|
1002 |
|
|
verbose mode.
|
1003 |
|
|
* hw-properties.h (hw_find_integer_array_property): Fix
|
1004 |
|
|
prototype (use signed_cell).
|
1005 |
|
|
|
1006 |
|
|
From 2000-06-25 Stephane Carrez :
|
1007 |
|
|
* sim-events.c (sim_events_remain_time): New function returning
|
1008 |
|
|
the time that remains before the event is raised.
|
1009 |
|
|
* hw-events.c (hw_event_remain_time): Likewise.
|
1010 |
|
|
* sim-events.h (sim_events_remain_time): Declare.
|
1011 |
|
|
* hw-events.h (hw_event_remain_time): Declare.
|
1012 |
|
|
|
1013 |
|
|
From 2000-06-25 Stephane Carrez :
|
1014 |
|
|
* sim-hw.c: Use instead of
|
1015 |
|
|
(OPTION_HW_LIST): New option --hw-list to list the devices.
|
1016 |
|
|
(hw_option_handler): List the device tree with 'sim_hw_print'.
|
1017 |
|
|
|
1018 |
|
|
From 2000-06-25 Stephane Carrez :
|
1019 |
|
|
* sim-bits.h (_MSB_16, _LSB_16): Define for 16-bit targets.
|
1020 |
|
|
(MASK, LSBIT, MSBIT): Likewise and use _MSB_16 and _LSB_16.
|
1021 |
|
|
(EXTENDED): Define for 16-bit word size.
|
1022 |
|
|
* sim-bits.c (LSEXTRACTED, MSEXTRACTED, LSINSERTED,
|
1023 |
|
|
MSINSERTED, LSSEXT, MSSEXT): Implement for 16-bit word size.
|
1024 |
|
|
* sim-types.h: Added support for 16-bit targets.
|
1025 |
|
|
|
1026 |
|
|
2000-06-23 Frank Ch. Eigler
|
1027 |
|
|
|
1028 |
|
|
* cgen-trace.h (TRACE_USEFUL_MASK): Remove TRACE_EVENTS_IDX.
|
1029 |
|
|
|
1030 |
|
|
2000-06-24 Frank Ch. Eigler
|
1031 |
|
|
|
1032 |
|
|
From Maciej W. Rozycki :
|
1033 |
|
|
* Makefile.in (distclean): Clean cconfig.h also.
|
1034 |
|
|
|
1035 |
|
|
Tue May 23 21:39:23 2000 Andrew Cagney
|
1036 |
|
|
|
1037 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
1038 |
|
|
|
1039 |
|
|
Tue May 23 21:35:53 2000 Andrew Cagney
|
1040 |
|
|
|
1041 |
|
|
* aclocal.m4 (sim-profile): Enable the profiler by default.
|
1042 |
|
|
|
1043 |
|
|
Tue May 23 20:30:12 2000 Andrew Cagney
|
1044 |
|
|
|
1045 |
|
|
* run.c (main): Initialize sigrc.
|
1046 |
|
|
|
1047 |
|
|
Wed Apr 26 16:18:44 2000 Andrew Cagney
|
1048 |
|
|
|
1049 |
|
|
* sim-events.c (update_time_from_event): Add more detailed event
|
1050 |
|
|
tracing.
|
1051 |
|
|
|
1052 |
|
|
2000-03-30 Dave Brolley
|
1053 |
|
|
|
1054 |
|
|
* aclocal.m4 (cgen): Use guile to run cgen.
|
1055 |
|
|
|
1056 |
|
|
2000-03-23 Dave Brolley
|
1057 |
|
|
|
1058 |
|
|
* cgen-fpu.h: Rename extsfdf to fextsfdf. Rename truncdfsf to
|
1059 |
|
|
ftruncdfsf.
|
1060 |
|
|
* cgen-accfp.c (fextsfdf): New function.
|
1061 |
|
|
(ftruncdfsf): New function.
|
1062 |
|
|
(cgen_init_accurate_fpu): Initialize fextsfdf and ftruncdfsf.
|
1063 |
|
|
|
1064 |
|
|
2000-03-13 Jeff Johnston
|
1065 |
|
|
|
1066 |
|
|
* cgen-ops.h: Added TRUNCSISI.
|
1067 |
|
|
|
1068 |
|
|
2000-03-08 Dave Brolley
|
1069 |
|
|
|
1070 |
|
|
* cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_SF_WRITE.
|
1071 |
|
|
(CGEN_WRITE_QUEUE_ELEMENT): Add fn_sf_write.
|
1072 |
|
|
(sim_queue_fn_si_write): Last argument is has type USI.
|
1073 |
|
|
(sim_queue_fn_sf_write): New function.
|
1074 |
|
|
* cgen-par.c (sim_queue_fn_si_write): Declare 'value' as USI.
|
1075 |
|
|
(sim_queue_fn_sf_write): New function.
|
1076 |
|
|
(cgen_write_queue_element_execute): Handle CGEN_FN_SF_WRITE.
|
1077 |
|
|
|
1078 |
|
|
Tue Feb 22 16:45:09 2000 Andrew Cagney
|
1079 |
|
|
|
1080 |
|
|
* run.c (main): When SIM_HAVE_ENVIRONMENT enable tracing with
|
1081 |
|
|
sim_set_trace and run simulator using sim_resume.
|
1082 |
|
|
(main): Add option ``-o'' - operating environment. Only continue
|
1083 |
|
|
after a signal when operating environment.
|
1084 |
|
|
(main): Always set REASON and SIGRC using sim_stop_reason.
|
1085 |
|
|
(sim_trace): Delete extern declaration.
|
1086 |
|
|
|
1087 |
|
|
2000-02-08 Nick Clifton
|
1088 |
|
|
|
1089 |
|
|
* callback.c: Fix compile time warning messages.
|
1090 |
|
|
* run.c: Fix compile time warning messages.
|
1091 |
|
|
|
1092 |
|
|
1999-12-17 Dave Brolley
|
1093 |
|
|
|
1094 |
|
|
* sim-profile.h: (set_profile_option_mask): Add prototype.
|
1095 |
|
|
* sim-profile.c (set_profile_option_mask): No longer static.
|
1096 |
|
|
|
1097 |
|
|
Wed Dec 8 21:47:13 1999 Andrew Cagney
|
1098 |
|
|
|
1099 |
|
|
* sim-arange.c: Include
|
1100 |
|
|
|
1101 |
|
|
1999-12-07 Dave Brolley
|
1102 |
|
|
|
1103 |
|
|
* sim-options.c (print_help): '=' required before optional argument.
|
1104 |
|
|
* cgen-par.h (CGEN_FN_MEM_QI_WRITE): New enumerator.
|
1105 |
|
|
(CGEN_FN_MEM_HI_WRITE): New enumerator.
|
1106 |
|
|
(CGEN_FN_MEM_SI_WRITE): New enumerator.
|
1107 |
|
|
(CGEN_FN_MEM_DI_WRITE): New enumerator.
|
1108 |
|
|
(CGEN_FN_MEM_DF_WRITE): New enumerator.
|
1109 |
|
|
(CGEN_FN_MEM_XI_WRITE): New enumerator.
|
1110 |
|
|
(fn_mem_qi_write): New union members.
|
1111 |
|
|
(fn_mem_hi_write): New union members.
|
1112 |
|
|
(fn_mem_si_write): New union members.
|
1113 |
|
|
(fn_mem_di_write): New union members.
|
1114 |
|
|
(fn_mem_df_write): New union members.
|
1115 |
|
|
(fn_mem_xi_write): New union members.
|
1116 |
|
|
(sim_queue_fn_mem_qi_write): New function.
|
1117 |
|
|
(sim_queue_fn_mem_hi_write): New function.
|
1118 |
|
|
(sim_queue_fn_mem_si_write): New function.
|
1119 |
|
|
(sim_queue_fn_mem_di_write): New function.
|
1120 |
|
|
(sim_queue_fn_mem_df_write): New function.
|
1121 |
|
|
(sim_queue_fn_mem_xi_write): New function.
|
1122 |
|
|
* cgen-par.c (sim_queue_fn_mem_qi_write): New function.
|
1123 |
|
|
(sim_queue_fn_mem_hi_write): New function.
|
1124 |
|
|
(sim_queue_fn_mem_si_write): New function.
|
1125 |
|
|
(sim_queue_fn_mem_di_write): New function.
|
1126 |
|
|
(sim_queue_fn_mem_df_write): New function.
|
1127 |
|
|
(sim_queue_fn_mem_xi_write): New function.
|
1128 |
|
|
(cgen_write_queue_element_execute): Handle CGEN_FN_MEM_QI_WRITE,
|
1129 |
|
|
CGEN_FN_MEM_HI_WRITE, CGEN_FN_MEM_SI_WRITE, CGEN_FN_MEM_DI_WRITE,
|
1130 |
|
|
CGEN_FN_MEM_DF_WRITE, CGEN_FN_MEM_XI_WRITE.
|
1131 |
|
|
|
1132 |
|
|
1999-12-01 Dave Brolley
|
1133 |
|
|
|
1134 |
|
|
* cgen-accfp.c (subsf): Check status code.
|
1135 |
|
|
(mulsf): Ditto.
|
1136 |
|
|
(negsf): Ditto.
|
1137 |
|
|
(abssf): Ditto.
|
1138 |
|
|
(sqrtsf): Ditto.
|
1139 |
|
|
(invsf): Ditto.
|
1140 |
|
|
(minsf): Ditto.
|
1141 |
|
|
(maxsf): Ditto.
|
1142 |
|
|
(subdf): Ditto.
|
1143 |
|
|
(muldf): Ditto.
|
1144 |
|
|
(divdf): Ditto.
|
1145 |
|
|
(negdf): Ditto.
|
1146 |
|
|
(absdf): Ditto.
|
1147 |
|
|
(sqrtdf): Ditto.
|
1148 |
|
|
(invdf): Ditto.
|
1149 |
|
|
(mindf): Ditto.
|
1150 |
|
|
(maxdf): Ditto.
|
1151 |
|
|
|
1152 |
|
|
1999-11-26 Dave Brolley
|
1153 |
|
|
|
1154 |
|
|
* cgen-par.h (fn_df_write): Mode of data is DF.
|
1155 |
|
|
(sim_queue_fn_df_write): Mode of data is DF.
|
1156 |
|
|
* cgen-par.c (sim_queue_fn_df_write): Mode of data is DF.
|
1157 |
|
|
|
1158 |
|
|
1999-11-22 Dave Brolley
|
1159 |
|
|
|
1160 |
|
|
* cgen-trace.c (SIZE_TRACE_BUF): Inxrease size of trace buffer.
|
1161 |
|
|
* cgen-par.h (CGEN_WRITE_QUEUE_SIZE): Increase size of queue.
|
1162 |
|
|
|
1163 |
|
|
1999-11-04 Dave Brolley
|
1164 |
|
|
|
1165 |
|
|
* cgen-par.h (cgen_write_queue_kind): Add CGEN_FN_XI_WRITE and
|
1166 |
|
|
CGEN_MEM_XI_WRITE members.
|
1167 |
|
|
(CGEN_WRITE_QUEUE_ELEMENT): Add fn_xi_write and mem_xi_write members.
|
1168 |
|
|
(sim_queue_fn_xi_write): New function.
|
1169 |
|
|
(sim_queue_mem_xi_write): New function.
|
1170 |
|
|
|
1171 |
|
|
* cgen-par.c (sim_queue_fn_xi_write): New function.
|
1172 |
|
|
(sim_queue_mem_xi_write): New function.
|
1173 |
|
|
(cgen_write_queue_element_execute): Handle CGEN_FN_XI_WRITE and
|
1174 |
|
|
CGEN_MEM_XI_WRITE.
|
1175 |
|
|
|
1176 |
|
|
1999-10-22 Dave Brolley
|
1177 |
|
|
|
1178 |
|
|
* cgen-par.h (insn_address): New field in CGEN_WRITE_QUEUE_ELEMENT.
|
1179 |
|
|
(CGEN_WRITE_QUEUE_ELEMENT_IADDR): New macro.
|
1180 |
|
|
* cgen-par.c: Set insn_address for each queued write. Get pc from
|
1181 |
|
|
cpu when executing queued writes.
|
1182 |
|
|
|
1183 |
|
|
1999-10-19 Dave Brolley
|
1184 |
|
|
|
1185 |
|
|
* cgen-par.h (sim_queue_fn_pc_write): New function.
|
1186 |
|
|
(CGEN_FN_PC_WRITE): New enumerator.
|
1187 |
|
|
(fn_pc_write): New union member.
|
1188 |
|
|
* cgen-par.c (sim_queue_fn_pc_write): New function.
|
1189 |
|
|
(cgen_write_queue_element_execute): Handle CGEN_FN_PC_WRITE.
|
1190 |
|
|
|
1191 |
|
|
1999-10-18 Dave Brolley
|
1192 |
|
|
|
1193 |
|
|
* cgen-par.h (CGEN_MEM_DI_WRITE): New enumerator.
|
1194 |
|
|
(CGEN_MEM_DF_WRITE): New enumerator.
|
1195 |
|
|
(mem_di_write): New union member.
|
1196 |
|
|
(mem_df_write): New union member.
|
1197 |
|
|
* cgen-par.c (sim_queue_mem_di_write): New function.
|
1198 |
|
|
(sim_queue_mem_df_write): New function.
|
1199 |
|
|
(cgen_write_queue_element_execute): Handle CGEN_MEM_DI_WRITE and
|
1200 |
|
|
CGEN_MEM_DF_WRITE.
|
1201 |
|
|
* cgen-accfp.c (divsf): Check for division errors.
|
1202 |
|
|
|
1203 |
|
|
1999-10-14 Doug Evans
|
1204 |
|
|
|
1205 |
|
|
* cgen-engine.h (EXTRACT_INT,EXTRACT_UINT): Delete.
|
1206 |
|
|
|
1207 |
|
|
1999-10-07 Dave Brolley
|
1208 |
|
|
|
1209 |
|
|
* cgen-par.h (CGEN_FN_HI_WRITE): New enumerator.
|
1210 |
|
|
(fn_hi_write): New union member.
|
1211 |
|
|
(sim_queue_fn_hi_write): New function.
|
1212 |
|
|
* cgen-par.c (sim_queue_fn_hi_write): New function.
|
1213 |
|
|
(cgen_write_queue_element_execute): Handle CGEN_FN_HI_WRITE.
|
1214 |
|
|
|
1215 |
|
|
1999-09-29 Doug Evans
|
1216 |
|
|
|
1217 |
|
|
* cgen-defs.h (sim_engine_invalid_insn): New arg `vpc'.
|
1218 |
|
|
Change type of result to SEM_PC.
|
1219 |
|
|
|
1220 |
|
|
Wed Sep 29 14:43:57 1999 Dave Brolley
|
1221 |
|
|
|
1222 |
|
|
* cgen-defs.h (sim_engine_invalid_insn): Now returns PC.
|
1223 |
|
|
|
1224 |
|
|
1999-09-25 Doug Evans
|
1225 |
|
|
|
1226 |
|
|
* cgen-ops.h (SUBWORD*): Delete cpu arg.
|
1227 |
|
|
(JOIN*): Delete cpu arg.
|
1228 |
|
|
|
1229 |
|
|
Tue Sep 21 17:14:16 1999 Dave Brolley
|
1230 |
|
|
|
1231 |
|
|
* genmloop.sh (@cpu@_scache_lookup): No longer takes last_insn_p
|
1232 |
|
|
parameter.
|
1233 |
|
|
(SET_LAST_INSN_P): Set last_insn_p flag in the scache element.
|
1234 |
|
|
|
1235 |
|
|
Mon Sep 20 21:44:06 1999 Geoffrey Keating
|
1236 |
|
|
|
1237 |
|
|
* sim-fpu.c (i2fpu): Keep the guard bits sticky when converting
|
1238 |
|
|
large values.
|
1239 |
|
|
|
1240 |
|
|
Tue Feb 8 16:33:48 2000 Andrew Cagney
|
1241 |
|
|
|
1242 |
|
|
* run.c (main): Check the sim_stop_reason and only halt simulation
|
1243 |
|
|
when a valid stop condition is identified.
|
1244 |
|
|
|
1245 |
|
|
Wed Sep 15 14:12:37 1999 Andrew Cagney
|
1246 |
|
|
|
1247 |
|
|
* hw-tree.c, hw-properties.c, hw-instances.c: Include "sim-io.h".
|
1248 |
|
|
|
1249 |
|
|
Tue Sep 14 14:15:47 1999 Dave Brolley
|
1250 |
|
|
|
1251 |
|
|
* cgen-par.h (CGEN_BI_WRITE): New enumerator.
|
1252 |
|
|
(bi_write): New union element.
|
1253 |
|
|
(sim_queue_bi_write): New function.
|
1254 |
|
|
* cgen-par.c (sim_queue_bi_write): New function.
|
1255 |
|
|
(cgen_write_queue_element_execute): Handle CGEN_BI_WRITE.
|
1256 |
|
|
|
1257 |
|
|
Thu Sep 2 18:15:53 1999 Andrew Cagney
|
1258 |
|
|
|
1259 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
1260 |
|
|
|
1261 |
|
|
* aclocal.m4 (WERROR_CFLAGS, WARN_CFLAGS): Merge from
|
1262 |
|
|
../gdb/configure.in.
|
1263 |
|
|
* Make-common.in (WERROR_CFLAGS, WARN_CFLAGS): Define.
|
1264 |
|
|
(SIM_WERROR_CFLAGS, SIM_WARN_CFLAGS): Define.
|
1265 |
|
|
(SIM_WARNINGS): Delete
|
1266 |
|
|
(CONFIG_CFLAGS): Update.
|
1267 |
|
|
|
1268 |
|
|
Tue Aug 31 16:01:42 1999 Dave Brolley
|
1269 |
|
|
|
1270 |
|
|
* cgen-par.c: New file.
|
1271 |
|
|
* cgen-par.h: New file.
|
1272 |
|
|
* cgen-sim.h (cgen-par.h): #include it.
|
1273 |
|
|
* cgen-cpu.h (write_queue): New field.
|
1274 |
|
|
(CPU_WRITE_QUEUE): New access macro.
|
1275 |
|
|
* Make-common.in (CGEN_MAIN_CPU_DEPS): Add cgen-par.h.
|
1276 |
|
|
(cgen-par.o): New target.
|
1277 |
|
|
|
1278 |
|
|
1999-08-28 Doug Evans
|
1279 |
|
|
|
1280 |
|
|
* cgen-types.h (mode_type,MODE_VOID): Renamed from MODE_VM.
|
1281 |
|
|
* cgen-utils.c (mode_names): Update.
|
1282 |
|
|
|
1283 |
|
|
1999-08-20 Doug Evans
|
1284 |
|
|
|
1285 |
|
|
* genmloop.sh: New args -parallel-generic-write, -parallel-only.
|
1286 |
|
|
* cgen-engine.h (SEMANTIC_FN): Don't use version with PAREXEC
|
1287 |
|
|
buffer arg if WITH_PARALLEL_GENWRITE.
|
1288 |
|
|
(struct insn_sem): Handle WITH_PARALLEL_GENWRITE.
|
1289 |
|
|
(struct idesc): Ditto.
|
1290 |
|
|
|
1291 |
|
|
Wed Aug 18 18:17:28 1999 Doug Evans
|
1292 |
|
|
|
1293 |
|
|
* sim-model.c (model_option_handler): Add \n to error message.
|
1294 |
|
|
|
1295 |
|
|
1999-08-08 Doug Evans
|
1296 |
|
|
|
1297 |
|
|
* cgen-engine.h (SEM_FN_NAME,SEMF_FN_NAME): Delete.
|
1298 |
|
|
(insn_sem): Rewrite.
|
1299 |
|
|
(sem_fn_desc): New struct.
|
1300 |
|
|
(idesc): Rewrite.
|
1301 |
|
|
* genmloop.sh (scache case,@cpu@_scache_lookup): Profile scache hit,
|
1302 |
|
|
misses if ! FAST_P.
|
1303 |
|
|
(scache case): Split into non-parallel/parallel versions.
|
1304 |
|
|
(@cpu@_engine_run_{full,fast}): Call @cpu@_{sem,semf}_init_idesc_table
|
1305 |
|
|
if not use semantic switch version.
|
1306 |
|
|
|
1307 |
|
|
1999-08-04 Doug Evans
|
1308 |
|
|
|
1309 |
|
|
* cgen-defs.h (SEM_BRANCH_TYPE): New enum.
|
1310 |
|
|
* cgen-engine.h (SEM_BRANCH_UNTAKEN,SEM_BRANCH_UNCACHEABLE): Delete.
|
1311 |
|
|
(SEM_BRANCH_INIT_EXTRACT): Delete.
|
1312 |
|
|
(SEM_BRANCH_INIT): Replace npc_ptr with br_type.
|
1313 |
|
|
(SEM_BRANCH_FINI): Ditto.
|
1314 |
|
|
(SEM_BRANCH_VIA_ADDR): Ditto.
|
1315 |
|
|
(SEM_BRANCH_VIA_CACHE): Ditto. Delete cachvarptr arg.
|
1316 |
|
|
(SEM_BRANCH_ADDR_CACHE): Delete.
|
1317 |
|
|
(SEM_SKIP_COMPILE,SEM_SKIP_INSN): New macros.
|
1318 |
|
|
* cgen-scache.h (cpu_scache): Replace member pbb_pr_npc_ptr with
|
1319 |
|
|
pbb_br_type.
|
1320 |
|
|
* genmloop.sh (eng.hin): Update prototype of ${cpu}_pbb_cti_chain.
|
1321 |
|
|
(@cpu@_pbb_begin): Initialize branch_target.
|
1322 |
|
|
(@cpu@_pbb_cti_chain): Replace arg new_vpc_ptr with br_type.
|
1323 |
|
|
(@cpu@_engine_run_full): Replace local pbb_br_npc_ptr with
|
1324 |
|
|
pbb_br_type.
|
1325 |
|
|
(@cpu@_engine_run_fast): Ditto.
|
1326 |
|
|
|
1327 |
|
|
Fri Jul 16 14:47:53 1999 Dave Brolley
|
1328 |
|
|
|
1329 |
|
|
* cgen-utils.c (RORSI): New function.
|
1330 |
|
|
(ROLSI): New function.
|
1331 |
|
|
|
1332 |
|
|
1999-07-14 Doug Evans
|
1333 |
|
|
|
1334 |
|
|
* Makefile.in (TAGS): Tweak TAGS regex.
|
1335 |
|
|
* cgen-mem.h (*): Add TAGS markers.
|
1336 |
|
|
|
1337 |
|
|
Sun Jul 11 23:47:20 1999 Andrew Cagney
|
1338 |
|
|
|
1339 |
|
|
* sim-resume.c (sim_resume): Ensure that the siggnal [sic] is only
|
1340 |
|
|
passed in when sim_resume is first entered - don't re-pass it
|
1341 |
|
|
after a restart.
|
1342 |
|
|
|
1343 |
|
|
Sun Jul 11 23:34:44 1999 Andrew Cagney
|
1344 |
|
|
|
1345 |
|
|
* sim-options.c (standard_option_handler): Add OPTION_LOAD_VMA and
|
1346 |
|
|
OPTION_LOAD_LMA but only when is defined.
|
1347 |
|
|
(standard_options): When SIM_HANDLES_LMA is defined include
|
1348 |
|
|
options --load-lma and --load-vma.
|
1349 |
|
|
(standard_install): Initialize STATE_LOAD_AT_LMA_P.
|
1350 |
|
|
|
1351 |
|
|
* sim-base.h (STATE_LOAD_AT_LMA_P): Define.
|
1352 |
|
|
(struct sim_state_base): Add load_at_lma_p.
|
1353 |
|
|
* sim-hload.c (sim_load): Replace SIM_HANDLES_LMA with
|
1354 |
|
|
STATE_LOAD_AT_LMA_P.
|
1355 |
|
|
|
1356 |
|
|
Sun Jul 11 12:03:36 1999 Andrew Cagney
|
1357 |
|
|
|
1358 |
|
|
* nrun.c (main): Re-format loop gnu style.
|
1359 |
|
|
|
1360 |
|
|
Wed Jul 7 19:56:03 1999 Andrew Cagney
|
1361 |
|
|
|
1362 |
|
|
* dv-sockser.c (connected_p): Initialize addrlen.
|
1363 |
|
|
|
1364 |
|
|
1999-07-06 Dave Brolley
|
1365 |
|
|
|
1366 |
|
|
* cgen-accfp.c (floatsidf): New function.
|
1367 |
|
|
(fixdfsi): New function.
|
1368 |
|
|
|
1369 |
|
|
1999-07-06 Doug Evans
|
1370 |
|
|
|
1371 |
|
|
* sim-model.c (sim_model_init): Issue error if machine is unsupported.
|
1372 |
|
|
|
1373 |
|
|
1999-07-05 Doug Evans
|
1374 |
|
|
|
1375 |
|
|
* Make-common.in (CGEN_MAIN_CPU_DEPS): Add cgen-fpu.h.
|
1376 |
|
|
(cgen-fpu.o,cgen-accfp.o): Add rules for.
|
1377 |
|
|
* cgen-fpu.c: New file.
|
1378 |
|
|
* cgen-fpu.h: New file.
|
1379 |
|
|
* cgen-accfp.c: New file.
|
1380 |
|
|
* cgen-cpu.h (CGEN_CPU): New member fpu.
|
1381 |
|
|
* cgen-mem.h: Redo fp support.
|
1382 |
|
|
* cgen-ops.h: Delete k&r support. Redo fp support.
|
1383 |
|
|
* cgen-sim.h: Include cgen-fpu.h.
|
1384 |
|
|
* cgen-types.h (SF,DF,XF,TF): Moved to cgen-fpu.h.
|
1385 |
|
|
|
1386 |
|
|
1999-06-23 Doug Evans
|
1387 |
|
|
|
1388 |
|
|
* cgen-engine.h (TARGET_SEM_BRANCH_FINI): Remove cruft at end of
|
1389 |
|
|
ifndef.
|
1390 |
|
|
* genmloop.sh (@cpu@_scache_lookup): Delete unused local var.
|
1391 |
|
|
(@cpu@_pbb_cti_chain): Minor clean up.
|
1392 |
|
|
|
1393 |
|
|
1999-05-08 Felix Lee
|
1394 |
|
|
|
1395 |
|
|
* aclocal.m4: Use AC_EXEEXT instead of AM_EXEEXT. Delete defn of
|
1396 |
|
|
AM_CYGWIN32 and AM_EXEEXT.
|
1397 |
|
|
* configure: Regenerate.
|
1398 |
|
|
|
1399 |
|
|
Fri Apr 16 16:43:22 1999 Doug Evans
|
1400 |
|
|
|
1401 |
|
|
* sim-core.c (device_error,device_io_read_buffer,
|
1402 |
|
|
device_io_write_buffer): Delete decls.
|
1403 |
|
|
* sim-core.h: Put them here.
|
1404 |
|
|
|
1405 |
|
|
* sim-core.c (sim_core_read_buffer): Pass sd to device_io_read_buffer.
|
1406 |
|
|
(sim_core_write_buffer): Pass sd to device_io_write_buffer.
|
1407 |
|
|
* sim-n-core.h (sim_core_read_aligned_N): Ditto.
|
1408 |
|
|
(sim_core_write_aligned_N): Ditto.
|
1409 |
|
|
|
1410 |
|
|
1999-04-14 Stephane Carrez
|
1411 |
|
|
|
1412 |
|
|
* sim-memopt.c (sim_memory_uninstall): Don't look into
|
1413 |
|
|
free()d memory.
|
1414 |
|
|
|
1415 |
|
|
1999-04-14 Doug Evans
|
1416 |
|
|
|
1417 |
|
|
* cgen-utils.scm (virtual_insn_entries): Update attribute definition.
|
1418 |
|
|
|
1419 |
|
|
1999-04-13 Doug Evans
|
1420 |
|
|
|
1421 |
|
|
* sim-core.c (sim_core_read_buffer): Handle NULL cpu when WITH_DEVICES.
|
1422 |
|
|
(sim_core_write_buffer): Ditto.
|
1423 |
|
|
|
1424 |
|
|
1999-04-02 Keith Seitz
|
1425 |
|
|
|
1426 |
|
|
* sim-io.c (sim_io_poll_quit): Only call the poll_quit callback
|
1427 |
|
|
after the interval counter has expired.
|
1428 |
|
|
(POLL_QUIT_INTERVAL): Define. Used to tweak the frequency of
|
1429 |
|
|
poll_quit callbacks. May be overridden by Makefile.
|
1430 |
|
|
(poll_quit_counter): New global.
|
1431 |
|
|
* sim-events.c: Remove all mentions of ui_loop_hook. The
|
1432 |
|
|
host callback "poll_quit" will serve the purpose.
|
1433 |
|
|
* run.c: Add definition of ui_loop_hook when NEED_UI_LOOP_HOOK
|
1434 |
|
|
is defined.
|
1435 |
|
|
* nrun.c: Remove declaration of ui_loop_hook.
|
1436 |
|
|
|
1437 |
|
|
Wed Mar 31 18:55:41 1999 Doug Evans
|
1438 |
|
|
|
1439 |
|
|
* cgen-run.c (sim_resume): Don't tell main loop to run "forever"
|
1440 |
|
|
if being used by gdb.
|
1441 |
|
|
|
1442 |
|
|
1999-03-22 Doug Evans
|
1443 |
|
|
|
1444 |
|
|
* cgen-types.h (XF,TF): Tweak.
|
1445 |
|
|
* cgen-ops.h: Redo inline support. Delete DI_FN_SUPPORT,
|
1446 |
|
|
in cgen-types.h.
|
1447 |
|
|
(SUBWORD*,JOIN*): Define.
|
1448 |
|
|
* cgen-trace.c (sim_cgen_disassemble_insn): Update, base_insn_bitsize
|
1449 |
|
|
moved into cpu descriptor.
|
1450 |
|
|
* sim-model.h (MACH): New member `num'.
|
1451 |
|
|
|
1452 |
|
|
1999-02-09 Doug Evans
|
1453 |
|
|
|
1454 |
|
|
* cgen-cpu.h (CGEN_DISASSEMBLER): New type.
|
1455 |
|
|
(CGEN_CPU): Member opcode renamed to cpu_desc.
|
1456 |
|
|
New members get_idata,disassembler.
|
1457 |
|
|
* cgen-defs.h (CGEN_INSN_VIRTUAL_P): CGEN_INSN_ATTR renamed to
|
1458 |
|
|
CGEN_INSN_ATTR_VALUE.
|
1459 |
|
|
(CGEN_STATE): Delete member opcode_table.
|
1460 |
|
|
(sim_disassemble_insn): Delete decl.
|
1461 |
|
|
* cgen-engine.h (struct insn_sem): Moved to here from -decode.c.
|
1462 |
|
|
(struct idesc): Moved to here from -decode.h.
|
1463 |
|
|
* cgen-run.c (prime_cpu): Call prepare_run callback.
|
1464 |
|
|
* cgen-trace.h (SFILE): New type.
|
1465 |
|
|
(sim_disasm_sprintf): Declare.
|
1466 |
|
|
(sim_disasm_read_memory,sim_disasm_perror_memory): Declare.
|
1467 |
|
|
(sim_cgen_disassemble_insn): Declare.
|
1468 |
|
|
* cgen-trace.c: Include errno.h,dis-asm.h. Don't include cpu-opc.h.
|
1469 |
|
|
(insn_fields): Delete.
|
1470 |
|
|
(trace_insn_fini): STATE_OPCODE_TABLE (sd) replaced with
|
1471 |
|
|
CPU_CPU_DESC (cpu).
|
1472 |
|
|
(trace_insn): Call CPU_DISASSEMBLER hook.
|
1473 |
|
|
(sim_disasm_sprintf): New function.
|
1474 |
|
|
(sim_disasm_read_memory): New function.
|
1475 |
|
|
(sim_disasm_perror_memory): New function.
|
1476 |
|
|
(sim_cgen_disassemble_insn): New function.
|
1477 |
|
|
* cgen-utils.c: Don't include cpu-opc.h.
|
1478 |
|
|
(virtual_insn_entries): New static local.
|
1479 |
|
|
(cgen_virtual_insn_table): Renamed from cgen_virtual_opcode_table.
|
1480 |
|
|
(cgen_insn_name): Rewrite.
|
1481 |
|
|
(disasm_sprintf,sim_disassemble_insn): Moved to cgen-trace.c.
|
1482 |
|
|
* cgen.sh (desc): New file generator handler.
|
1483 |
|
|
* genmloop.sh: -parallel changed to -parallel-read/-parallel-write.
|
1484 |
|
|
Define WITH_PARALLEL_READ/WITH_PARALLEL_WRITE appropriately.
|
1485 |
|
|
Don't include cpu-opc.h,cpu-sim.h.
|
1486 |
|
|
* sim-model.c (model_set): Delete SIM_DESC arg.
|
1487 |
|
|
(sim_model_set): Update.
|
1488 |
|
|
* sim-model.h (MACH): New member prepare_run.
|
1489 |
|
|
|
1490 |
|
|
1999-01-28 Frank Ch. Eigler
|
1491 |
|
|
|
1492 |
|
|
* sim-memopt.c (memory_option_handler): Avoid memset() calls
|
1493 |
|
|
if redundant with allocator functions.
|
1494 |
|
|
|
1495 |
|
|
Wed Jan 27 17:19:09 1999 Doug Evans
|
1496 |
|
|
|
1497 |
|
|
* cgen-engine.h (EXTRACT_LSB0_{INT,UINT}): Fix.
|
1498 |
|
|
|
1499 |
|
|
* sim-profile.h: Make like sim-trace.h.
|
1500 |
|
|
(PROFILE_USEFUL_MASK): New macro.
|
1501 |
|
|
* sim-profile.c (profile_options): Make like trace_options, allow
|
1502 |
|
|
optional on|off arg where applicable.
|
1503 |
|
|
(set_profile_option_mask): New function.
|
1504 |
|
|
(sim_profile_set_option): New function.
|
1505 |
|
|
(profile_option_handler): Simplify.
|
1506 |
|
|
Have -p only enable selected things, not everything.
|
1507 |
|
|
Add missing break to OPTION_PROFILE_PC_RANGE.
|
1508 |
|
|
* cgen-scache.c (scache_options): Allow optional on|off arg to
|
1509 |
|
|
--profile-scache.
|
1510 |
|
|
(scache_option_handler): Use sim_profile_set_option.
|
1511 |
|
|
|
1512 |
|
|
1999-01-26 Frank Ch. Eigler
|
1513 |
|
|
|
1514 |
|
|
* sim-memopt.c (memory_options): Add MEMORY_FILL option.
|
1515 |
|
|
(memory_option_handler): Implement MEMORY_FILL option. Make
|
1516 |
|
|
MEMORY_CLEAR an alias for MEMORY_FILL=0.
|
1517 |
|
|
(parse_ulong_value): New function.
|
1518 |
|
|
(do_memopt_add): Allocate all buffers. Optionally fill them.
|
1519 |
|
|
|
1520 |
|
|
1999-01-15 Richard Henderson
|
1521 |
|
|
|
1522 |
|
|
* hw-events.c (hw_event_queue_schedule): _vtracef takes a
|
1523 |
|
|
va_list, not an integer.
|
1524 |
|
|
* sim-events.c (sim_events_schedule): Likewise.
|
1525 |
|
|
|
1526 |
|
|
* sim-types.h (UNSIGNED32, UNSIGNED64): Properly cast to
|
1527 |
|
|
the appropriate type.
|
1528 |
|
|
|
1529 |
|
|
1999-01-14 Doug Evans
|
1530 |
|
|
|
1531 |
|
|
* cgen-defs.h (PCADDR,CIA): Define in terms of IADDR.
|
1532 |
|
|
(sim_disassemble_insn): Update prototype.
|
1533 |
|
|
(sim_engine_invalid_insn): Ditto.
|
1534 |
|
|
* cgen-engine.h (SEMANTIC_FN): Add !WITH_SCACHE version.
|
1535 |
|
|
(SEM_BRANCH_INIT): PCADDR->IADDR.
|
1536 |
|
|
(SEM_NBRANCH_FINI): New macro for !WITH_SCACHE case.
|
1537 |
|
|
* cgen-scache.c (scache_lookup,scache_lookup_or_alloc): PCADDR->IADDR.
|
1538 |
|
|
* cgen-scache.h (*): Ditto.
|
1539 |
|
|
* cgen-trace.c (*): Ditto.
|
1540 |
|
|
* cgen-trace.h (*): Ditto.
|
1541 |
|
|
* cgen-utils.c (*): Ditto.
|
1542 |
|
|
* cgen-types.h (integer modes): Use signedNN/unsignedNN types.
|
1543 |
|
|
(insn_t): Delete.
|
1544 |
|
|
* genmloop.sh (@cpu@_fill_argbuf): Add !WITH_SCACHE support.
|
1545 |
|
|
(simple engine framework): Rewrite.
|
1546 |
|
|
* sim-module.c (modules): Install model module sooner (and in
|
1547 |
|
|
particular before the profile module).
|
1548 |
|
|
|
1549 |
|
|
1999-01-12 Doug Evans
|
1550 |
|
|
|
1551 |
|
|
* sim-model.h (sim_mach_lookup_bfd_name): Add prototype.
|
1552 |
|
|
* sim-model.c (sim_mach_lookup_bfd_name): New function.
|
1553 |
|
|
(sim_model_init): Call it.
|
1554 |
|
|
|
1555 |
|
|
* cgen-trace.c (trace_insn): Pass pc to trace_prefix for virtual insns.
|
1556 |
|
|
|
1557 |
|
|
1999-01-05 Doug Evans
|
1558 |
|
|
|
1559 |
|
|
* Make-common.in (CGEN_INCLUDE_DEPS): Add cgen-defs.h, cgen-engine.h.
|
1560 |
|
|
* cgen-engine.h (SEM_BRANCH_FINI): New arg pcvar, all uses updated.
|
1561 |
|
|
(SEM_BRANCH_INIT_EXTRACT): New macro.
|
1562 |
|
|
(SEM_BRANCH_INIT): Add taken_p.
|
1563 |
|
|
(TARGET_SEM_BRANCH_FINI): Provide default definition.
|
1564 |
|
|
(SEM_BRANCH_FINI): Use it.
|
1565 |
|
|
(SEM_INSN): Update.
|
1566 |
|
|
* cgen-run.c (sim_resume): Handle tracing of last insn.
|
1567 |
|
|
* cgen-scache.h (WITH_SCACHE): Define as 0 if not defined.
|
1568 |
|
|
* cgen-trace.c (current_abuf): New static global.
|
1569 |
|
|
(trace_insn_init): Initialize it.
|
1570 |
|
|
(trace_insn_fini): Use it.
|
1571 |
|
|
(trace_insn): Set it.
|
1572 |
|
|
* cgen.sh (arch case): Pass -m ${mach} to cgen.
|
1573 |
|
|
* genmloop.sh (@cpu@_emit_before): Only define if WITH_SCACHE_PBB.
|
1574 |
|
|
(@cpu@_emit_after): Ditto.
|
1575 |
|
|
(simple @cpu@_engine_run_full): New local `pc'. Initialize semantic
|
1576 |
|
|
labels if WITH_SEM_SWITCH_FULL.
|
1577 |
|
|
* sim-model.c: Include bfd.h.
|
1578 |
|
|
(sim_model_init): New function.
|
1579 |
|
|
(sim_model_install): Record init fn.
|
1580 |
|
|
* sim-model.h (MACH): New member bfd_name.
|
1581 |
|
|
* sim-module.c (modules): Initialize model before scache.
|
1582 |
|
|
|
1583 |
|
|
1998-12-24 Frank Ch. Eigler
|
1584 |
|
|
|
1585 |
|
|
* dv-sockser.c (DEFAULT_TIMEOUT): Increase to 1 ms.
|
1586 |
|
|
|
1587 |
|
|
* nrun.c (main): Remain in simulation loop for traps and
|
1588 |
|
|
exceptions when in operating environment mode.
|
1589 |
|
|
(ui_loop_hook): New stub hook for standalone use.
|
1590 |
|
|
* sim-events.c (sim_events_process): Call ui_loop_hook
|
1591 |
|
|
periodically on CYGWIN host.
|
1592 |
|
|
|
1593 |
|
|
* sim-reason.c (sim_stop_reason): Return host signal numbers
|
1594 |
|
|
to gdb on sim_stopped and sim_signalled cases.
|
1595 |
|
|
* sim-engine.c (sim_engine_halt): Call SIM_CPU_EXCEPTION_SUSPEND
|
1596 |
|
|
hook just before longjmp.
|
1597 |
|
|
* sim-resume.c (sim_resume): Call SIM_CPU_EXCEPTION_RESUME
|
1598 |
|
|
hook just before sim_engine_run.
|
1599 |
|
|
|
1600 |
|
|
* sim-n-core.h (sim_core_trace_M): Allay const warning.
|
1601 |
|
|
* sim-trace.h (trace_generic): Ditto.
|
1602 |
|
|
* sim-trace.c (trace_generic): Ditto.
|
1603 |
|
|
|
1604 |
|
|
1998-12-14 Doug Evans
|
1605 |
|
|
|
1606 |
|
|
* Make-common.in (SIM_MAIN_DEPS): New var.
|
1607 |
|
|
(CGEN_MAIN_CPU_DEPS): New var.
|
1608 |
|
|
* aclocal.m4: Add --enable-cgen-maint option.
|
1609 |
|
|
* cgen-mem.h (GETMEM*): New arg `pc'. Pass to sim_core routine.
|
1610 |
|
|
(SETMEM*): Ditto.
|
1611 |
|
|
(GETIMEM*): Pass pc value to sim_core routine.
|
1612 |
|
|
|
1613 |
|
|
Fri Dec 11 16:58:36 1998 Andrew Cagney
|
1614 |
|
|
|
1615 |
|
|
* hw-handles.c (hw_handle_add_ihandle, hw_handle_add_phandle):
|
1616 |
|
|
Compare with ZERO not NULL.
|
1617 |
|
|
|
1618 |
|
|
Thu Dec 10 14:14:39 1998 Andrew Cagney
|
1619 |
|
|
|
1620 |
|
|
* hw-properties.c, hw-instances.c, hw-tree.c: Include
|
1621 |
|
|
"sim-assert.h".
|
1622 |
|
|
|
1623 |
|
|
1998-12-09 Doug Evans
|
1624 |
|
|
|
1625 |
|
|
* sim-arange.c: Include libiberty.h, and stdlib.h if present.
|
1626 |
|
|
* sim-trace.c: Include stdlib.h if present.
|
1627 |
|
|
* dv-sockser.c: Include unistd.h if present.
|
1628 |
|
|
(dv_sockser_init): Add missing arg to call to sim_io_eprintf.
|
1629 |
|
|
* cgen-scache.c (scache_flush): Delete unused locals i,sc.
|
1630 |
|
|
|
1631 |
|
|
1998-12-08 James E Wilson
|
1632 |
|
|
|
1633 |
|
|
* gennltvals.sh: Add i960.
|
1634 |
|
|
* nltvals.def: Rebuild.
|
1635 |
|
|
|
1636 |
|
|
1998-12-04 Doug Evans
|
1637 |
|
|
|
1638 |
|
|
* cgen-defs.h: New file, old cgen-sim.h.
|
1639 |
|
|
* cgen-sim.h: Simple header that includes others.
|
1640 |
|
|
* sim-arange.c: New file.
|
1641 |
|
|
* sim-arange.h: New file.
|
1642 |
|
|
* sim-basics.h: Include it.
|
1643 |
|
|
* Make-common.in (SIM_NEW_COMMON_OBJS): Add sim-arange.o.
|
1644 |
|
|
(sim-arange.o): Add rule for.
|
1645 |
|
|
* sim-cpu.h (sim_cpu_msg_prefix): Add prototype.
|
1646 |
|
|
(sim_io_eprintf_cpu): Add prototype.
|
1647 |
|
|
* sim-inline.h (HAVE_INLINE): Define if GNUC.
|
1648 |
|
|
(INLINE2): New macro.
|
1649 |
|
|
(EXTERN_INLINE): New macro.
|
1650 |
|
|
* sim-module.c (sim_post_argv_init): Initialize cpu backlink
|
1651 |
|
|
before calling module init fns.
|
1652 |
|
|
* sim-profile.c (OPTION_PROFILE_*): Move into enum.
|
1653 |
|
|
(profile_init): New function.
|
1654 |
|
|
(profile_options): New option --profile-range.
|
1655 |
|
|
(profile_option_handler): Handle --profile-range.
|
1656 |
|
|
(profile_print_insn): Qualify address range specific section titles.
|
1657 |
|
|
(profile_print_addr_ranges): New function.
|
1658 |
|
|
(profile_info): Print address ranges if specified.
|
1659 |
|
|
(profile_install): Set profile_init init fn.
|
1660 |
|
|
* sim-profile.h (PROFILE_DATA): New member `range'.
|
1661 |
|
|
* sim-trace.c (trace_init): New function.
|
1662 |
|
|
(trace_options): New option --trace-range.
|
1663 |
|
|
(trace_option_handler): Handle --trace-range.
|
1664 |
|
|
(trace_install): Set trace_init init fn.
|
1665 |
|
|
* sim-trace.h (TRACE_DATA): New member `range'.
|
1666 |
|
|
* sim-utils.c (sim_cpu_msg_prefix): New function.
|
1667 |
|
|
(sim_io_eprintf_cpu): New function.
|
1668 |
|
|
* cgen-engine.h (PC_IN_TRACE_RANGE_P): New macro.
|
1669 |
|
|
(PC_IN_PROFILE_RANGE_P): New macro.
|
1670 |
|
|
* cgen-trace.c (trace_insn_init): Set current_insn to NULL.
|
1671 |
|
|
(trace_insn_fini): New arg abuf. All callers updated.
|
1672 |
|
|
Exit early if trace_insn not called. Check ARGBUF_PROFILE_P before
|
1673 |
|
|
printing cycle counts.
|
1674 |
|
|
* cgen-trace.h (trace_insn_fini): Update prototype.
|
1675 |
|
|
(TRACE_RESULT_P): New macro.
|
1676 |
|
|
(TRACE_INSN_INIT,TRACE_INSN_FINI): New arg abuf. All callers updated.
|
1677 |
|
|
(TRACE_INSN): Check ARGBUF_TRACE_P.
|
1678 |
|
|
(TRACE_EXTRACT,TRACE_RESULT): New arg abuf. All callers updated.
|
1679 |
|
|
* cgen-types.h (SIM_INLINE): Delete.
|
1680 |
|
|
(SIM_HAVE_MODEL,SIM_HAVE_ADDR_RANGE): Define.
|
1681 |
|
|
* cgen-utils.c: Don't include cgen-engine.h
|
1682 |
|
|
* genmloop.sh (@cpu@_fill_argbuf): New function.
|
1683 |
|
|
(@cpu@_fill_argbuf_tp): New function.
|
1684 |
|
|
(@cpu@_emit_before,@cpu@_emit_after): New functions.
|
1685 |
|
|
(@cpu@_pbb_begin): Prefix cti_sc,insn_count with '_'.
|
1686 |
|
|
(SET_CTI_VPC,SET_INSN_COUNT): Update.
|
1687 |
|
|
(@cpu@_pbb_before): Check ARGBUF_PROFILE_P before calling
|
1688 |
|
|
doing profiling. Update call to TRACE_INSN_INIT,TRACE_INSN_FINI.
|
1689 |
|
|
(@cpu@_pbb_after): Check ARGBUF_PROFILE_P before calling
|
1690 |
|
|
doing profiling. Update call to TRACE_INSN_FINI.
|
1691 |
|
|
|
1692 |
|
|
* sim-memopt.c (sim_memory_uninstall): Result type is `void'.
|
1693 |
|
|
|
1694 |
|
|
1998-12-03 Frank Ch. Eigler
|
1695 |
|
|
|
1696 |
|
|
* sim-memopt.c (sim_memory_uninstall): Deallocate all memory
|
1697 |
|
|
regions.
|
1698 |
|
|
|
1699 |
|
|
1998-12-01 Doug Evans
|
1700 |
|
|
|
1701 |
|
|
* sim-inline.c (SIM_INLINE_P): Fix typo.
|
1702 |
|
|
|
1703 |
|
|
1998-11-30 Doug Evans
|
1704 |
|
|
|
1705 |
|
|
* cgen-utils.c (cgen_virtual_opcode_table): Update.
|
1706 |
|
|
|
1707 |
|
|
Tue Nov 24 18:40:03 1998 Andrew Cagney
|
1708 |
|
|
|
1709 |
|
|
* gennltvals.sh: Add v850 and d10v. Sort alphabetically.
|
1710 |
|
|
* nltvals.def: Re-generate.
|
1711 |
|
|
|
1712 |
|
|
Mon Nov 23 13:28:38 1998 Andrew Cagney
|
1713 |
|
|
|
1714 |
|
|
* sim-core.c (reverse_n, sim_core_uninstall, sim_core_init,
|
1715 |
|
|
sim_core_map_attach, sim_core_map_detach, next_event_queue,
|
1716 |
|
|
new_sim_core_mapping): Only define when EXTERN_SIM_CORE_P, pacify
|
1717 |
|
|
GCC.
|
1718 |
|
|
* sim-events.c (sim_events_uninstall, sim_events_suspend,
|
1719 |
|
|
sim_events_resume, sim_events_zalloc, insert_sim_event): Ditto.
|
1720 |
|
|
|
1721 |
|
|
1998-11-22 Doug Evans
|
1722 |
|
|
|
1723 |
|
|
* genmloop.sh (${cpu}_pbb_chain): Watch for Ctrl-C's.
|
1724 |
|
|
(${cpu}_pbb_cti_chain): Ditto.
|
1725 |
|
|
|
1726 |
|
|
1998-11-18 Doug Evans
|
1727 |
|
|
|
1728 |
|
|
* Make-common.in (cgen-utils.o): Depend on cgen-engine.h.
|
1729 |
|
|
* cgen-engine.h (EXTRACT_[ML]SB0_{INT,UINT}): New macros.
|
1730 |
|
|
(EXTRACT_INT,EXTRACT_UINT): New macros.
|
1731 |
|
|
(SEM_SEM_ARG): New macro.
|
1732 |
|
|
(SEM_NEXT_VPC): New arg `pc'.
|
1733 |
|
|
* cgen-sim.h (EXTRACT_SIGNED,EXTRACT_UNSIGNED): Delete.
|
1734 |
|
|
(sim_disassemble_insn): Update prototype.
|
1735 |
|
|
* cgen-trace.c (current_insn,insn_fields): New static locals.
|
1736 |
|
|
(trace_insn): Set them.
|
1737 |
|
|
* cgen-utils.c: #include cgen-engine.h.
|
1738 |
|
|
(sim_disassemble_insn): New arg insn_fields.
|
1739 |
|
|
Handle variable length insns.
|
1740 |
|
|
* genmloop.sh: Only emit pbb decls if -pbb.
|
1741 |
|
|
(${cpu}_scache_lookup): New arg `vpc'.
|
1742 |
|
|
(scache support): Fetch pc before entering loop.
|
1743 |
|
|
|
1744 |
|
|
* gennltvals.sh: Add fr30 support.
|
1745 |
|
|
* nltvals.def: Rebuild.
|
1746 |
|
|
|
1747 |
|
|
Wed Nov 18 10:22:22 1998 Andrew Cagney
|
1748 |
|
|
|
1749 |
|
|
* sim-types.h: Re-do type system so that GCC's attribute and mode
|
1750 |
|
|
are used to specify types. Handle case of ALPHA.
|
1751 |
|
|
|
1752 |
|
|
1998-11-13 Frank Ch. Eigler
|
1753 |
|
|
|
1754 |
|
|
* aclocal.m4: Add tests for dlopen family.
|
1755 |
|
|
* config.in: Regenerated.
|
1756 |
|
|
|
1757 |
|
|
Wed Nov 11 14:02:25 1998 Doug Evans
|
1758 |
|
|
|
1759 |
|
|
* sim-hload.c (sim_load): Pass `prog_name' to sim_load_file, not NULL.
|
1760 |
|
|
|
1761 |
|
|
Wed Nov 4 23:51:19 1998 Doug Evans
|
1762 |
|
|
|
1763 |
|
|
* genmloop.sh (eng.hin): Rename HAVE_PARALLEL_EXEC to
|
1764 |
|
|
HAVE_PARALLEL_INSNS, define as 0 or 1. Emit decls of fns in mloop.cin.
|
1765 |
|
|
* cgen-engine.h: Typedefs of IADDR,CIA,SEM_ARG,SEM_PC moved ...
|
1766 |
|
|
* cgen-sim.h: ... to here.
|
1767 |
|
|
|
1768 |
|
|
Wed Oct 28 12:00:57 1998 Andrew Cagney
|
1769 |
|
|
|
1770 |
|
|
* aclocal.m4 (enable-build-warnings): Replace
|
1771 |
|
|
enable-sim-warnings. Extend =LIST syntax so that prepend and
|
1772 |
|
|
append of options is possible. Drop -Werror, add
|
1773 |
|
|
-Wstrict-prototypes for GDB compatibility.
|
1774 |
|
|
* Make-common.in (SIM_WARNINGS): Update.
|
1775 |
|
|
|
1776 |
|
|
Mon Oct 19 13:56:32 1998 Doug Evans
|
1777 |
|
|
|
1778 |
|
|
* Make-common.in (CGEN_INCLUDE_DEPS): Define.
|
1779 |
|
|
(sim-core.o): Delete duplicate dependence on $(SIM_EXTRA_DEPS).
|
1780 |
|
|
(sim-cpu.o,sim-endian.o,sim-hw.o): Ditto.
|
1781 |
|
|
(cgen-run.o,cgen-scache.o,cgen-trace.o,cgen-utils.o): Delete
|
1782 |
|
|
explicit cgen header dependencies, require SIM_EXTRA_DEPS to include
|
1783 |
|
|
CGEN_INCLUDE_DEPS.
|
1784 |
|
|
* cgen-cpu.h: New file.
|
1785 |
|
|
* cgen-engine.h: New file.
|
1786 |
|
|
* cgen-scache.h: New file.
|
1787 |
|
|
* cgen-sim.h: Delete portions moved to new files.
|
1788 |
|
|
* genmloop.sh: Generate two files eng.hin,mloop.cin explicitly,
|
1789 |
|
|
rather than sending result to stdout.
|
1790 |
|
|
|
1791 |
|
|
Fri Oct 9 14:20:22 1998 Doug Evans
|
1792 |
|
|
|
1793 |
|
|
* Make-common.in (sim-reg.o): New rule.
|
1794 |
|
|
(cgen-run.o): New rule.
|
1795 |
|
|
* cgen-ops.h: Delete many BI macros. Change all UBI -> BI.
|
1796 |
|
|
* cgen-run.c (prime_cpu): New function.
|
1797 |
|
|
* cgen-scache.c: Add pseudo-basic-block (pbb) scaching support.
|
1798 |
|
|
(scache_option_handler, case OPTION_PROFILE_SCACHE): Handle explicitly
|
1799 |
|
|
mentioned cpu.
|
1800 |
|
|
(scache_flush_cpu,scache_lookup,scache_lookup_or_alloc): New fns.
|
1801 |
|
|
* cgen-sim.h (CGEN_INSN_VIRTUAL_TYPE): New enum.
|
1802 |
|
|
(CGEN_INSN_VIRTUAL_P): New macro.
|
1803 |
|
|
(SEM_PC): New typedef.
|
1804 |
|
|
(SEMANTIC_FN): Change type of result to SEM_PC.
|
1805 |
|
|
(SEM_SET_FULL_CODE,SEM_SET_FAST_CODE,SEM_SET_CODE): New macros.
|
1806 |
|
|
(IDESC_CTI_P,IDESC_SKIP_P): New macros.
|
1807 |
|
|
(SCACHE_MAP): New typedef.
|
1808 |
|
|
(CPU_SCACHE): Add pbb support.
|
1809 |
|
|
(scace_lookup,scache_lookup_or_alloc,scache_flush_cpu): Declare.
|
1810 |
|
|
(SEM_BRANCH_INIT_EXTRACT,SEM_BRANCH_INIT,SEM_BRANCH_FINI): New macros.
|
1811 |
|
|
(CGEN_CPU): New members running_p,insn_count,{fast,full}_engine_fn,
|
1812 |
|
|
max_slice_insns.
|
1813 |
|
|
(INSN_NAME): Delete.
|
1814 |
|
|
(cgen_insn_name): Declare.
|
1815 |
|
|
(sim_engine_invalid_insn): Renamed from sim_engine_illegal_insn.
|
1816 |
|
|
* cgen-trace.c (trace_buf): Shrink from 1024 to 256 bytes.
|
1817 |
|
|
(first_insn_p): Make static.
|
1818 |
|
|
(trace_insn): Handle virtual insns specially.
|
1819 |
|
|
(cgen_trace_printf): Ensure we haven't overflowed the buffer.
|
1820 |
|
|
* cgen-types.h (UBI): Delete.
|
1821 |
|
|
(MODE_TYPE): New enum.
|
1822 |
|
|
(HOSTINT,HOSTUINT,HOSTPTR): Delete.
|
1823 |
|
|
* cgen-utils.c (mode_names): Delete UBI. Add INT,UINT,PTR.
|
1824 |
|
|
(cgen_virtual_opcode_table): New global.
|
1825 |
|
|
(cgen_insn_name): New function.
|
1826 |
|
|
(sim_disassemble_insn): Ignore virtual insns.
|
1827 |
|
|
* genmloop.sh: Delete top level loop generation. Add pbb support.
|
1828 |
|
|
* sim-cpu.h (CPU_INSN_NAME_FN): New typedef.
|
1829 |
|
|
(sim_cpu_base): New members max_insns,insn_name,model_data.
|
1830 |
|
|
(CPU_PC_GET,CPU_PC_SET): New macros.
|
1831 |
|
|
(sim_pc_get,sim_pc_set): Declare.
|
1832 |
|
|
* sim-model.c (model_set): Call model init fn.
|
1833 |
|
|
* sim-model.h (MODEL_FN): New typedef.
|
1834 |
|
|
(INSN_TIMING): New member model_fn.
|
1835 |
|
|
(MODEL): New members num,init.
|
1836 |
|
|
* sim-profile.c (sim_profile_print_bar): Renamed from print_bar.
|
1837 |
|
|
All callers updated.
|
1838 |
|
|
(profile_insn_init): New fn.
|
1839 |
|
|
(profile_print_insn): Update, INSN_NAME -> CPU_INSN_NAME.
|
1840 |
|
|
Exit early if insn profiling not supported.
|
1841 |
|
|
(profile_print_memory): Update, MAX_MODES -> MODE_TARGET_MAX.
|
1842 |
|
|
(profile_install): Record profile_insn_init as init fn.
|
1843 |
|
|
(profile_uninstall): Free PROFILE_INSN_COUNT if non-null.
|
1844 |
|
|
* sim-profile.h: Update, MAX_MODES -> MODE_TARGET_MAX.
|
1845 |
|
|
(PROFILE_DATA): Delete member exec_time.
|
1846 |
|
|
Change insn_count to pointer to array, rather than the array.
|
1847 |
|
|
(sim_profile_print_bar): Declare.
|
1848 |
|
|
|
1849 |
|
|
Wed Oct 7 16:56:42 1998 Doug Evans
|
1850 |
|
|
|
1851 |
|
|
* cgen-run.c: New file.
|
1852 |
|
|
* sim-reg.c: New file.
|
1853 |
|
|
|
1854 |
|
|
Mon Sep 14 10:58:19 1998 Frank Ch. Eigler
|
1855 |
|
|
|
1856 |
|
|
* aclocal.m4: Add checks for -lsocket and -lnsl.
|
1857 |
|
|
|
1858 |
|
|
* dv-sockser.c (dv_sockser_init): Use SO_REUSEADDR to
|
1859 |
|
|
allow local port reuse on listening socket.
|
1860 |
|
|
|
1861 |
|
|
Tue Sep 1 15:36:52 1998 Frank Ch. Eigler
|
1862 |
|
|
|
1863 |
|
|
* sim-config.h: Remove reference to linux kernel header.
|
1864 |
|
|
|
1865 |
|
|
Tue Aug 25 12:45:27 1998 Frank Ch. Eigler
|
1866 |
|
|
|
1867 |
|
|
* dv-sockser.c (sockser_addr): Make variable non-static.
|
1868 |
|
|
|
1869 |
|
|
Mon Aug 24 11:47:37 1998 Joyce Janczyn
|
1870 |
|
|
|
1871 |
|
|
* sim-hw.{c,h} (sim_hw_parse): Return struct hw pointer.
|
1872 |
|
|
|
1873 |
|
|
Tue Aug 11 18:12:19 1998 Doug Evans
|
1874 |
|
|
|
1875 |
|
|
* sim-events.c (sim_events_elapsed_time): Fix calculation.
|
1876 |
|
|
|
1877 |
|
|
Tue Aug 4 20:36:46 1998 Jeff Holcomb
|
1878 |
|
|
|
1879 |
|
|
* Make-common.in (install-common): Add $(EXEEXT) when installing
|
1880 |
|
|
run.
|
1881 |
|
|
|
1882 |
|
|
Mon Aug 3 11:46:01 1998 Doug Evans
|
1883 |
|
|
|
1884 |
|
|
* cgen-sim.h (cgen_state): New member opcode_table.
|
1885 |
|
|
* cgen-utils.c (sim_disassemble_insn): Use it.
|
1886 |
|
|
|
1887 |
|
|
Fri Jul 24 10:14:18 1998 Doug Evans
|
1888 |
|
|
|
1889 |
|
|
* cgen-mem.h (DECLARE_SETT): Fix return type.
|
1890 |
|
|
* cgen-sim.h (sim_engine_illegal_insn): Declare.
|
1891 |
|
|
* cgen-scache.c: Include stdlib.h.
|
1892 |
|
|
* cgen-trace.c (trace_extract): Use %lx for PCADDR.
|
1893 |
|
|
* sim-model.c (model_option_handler): Remove unused variable `n'.
|
1894 |
|
|
|
1895 |
|
|
Tue Jul 21 16:27:43 1998 Doug Evans
|
1896 |
|
|
|
1897 |
|
|
* cgen-utils.c: Include bfd.h.
|
1898 |
|
|
(sim_disassemble_insn): Update call to CGEN_EXTRACT_FN.
|
1899 |
|
|
|
1900 |
|
|
Wed Jul 8 18:24:10 1998 Jeffrey A Law (law@cygnus.com)
|
1901 |
|
|
|
1902 |
|
|
* sim-bits.h (EXTEND24): Fix typo.
|
1903 |
|
|
|
1904 |
|
|
Wed Jul 8 17:41:47 1998 Andrew Cagney
|
1905 |
|
|
|
1906 |
|
|
* sim-events.c (ETRACE_P): New macro.
|
1907 |
|
|
(struct _sim_event): Add member trace.
|
1908 |
|
|
(sim_events_free): Reclaim trace message.
|
1909 |
|
|
|
1910 |
|
|
* sim-events.c, sim-events.h (sim_events_schedule_vtracef,
|
1911 |
|
|
sim_events_schedule_tracef): New functions, include printf trace
|
1912 |
|
|
information in argument list. If tracing, store asprintf'd trace
|
1913 |
|
|
message in sim_event.
|
1914 |
|
|
|
1915 |
|
|
* hw-events.c, hw-events.h (hw_event_queue_schedule_tracef,
|
1916 |
|
|
hw_event_queue_schedule_vtracef): New functions, mimic
|
1917 |
|
|
sim_event_tracef.
|
1918 |
|
|
|
1919 |
|
|
Mon Jul 6 15:51:14 1998 Jeffrey A Law (law@cygnus.com)
|
1920 |
|
|
|
1921 |
|
|
* sim-bits.h (EXTEND24): Define.
|
1922 |
|
|
|
1923 |
|
|
Thu Jul 2 17:13:25 1998 Doug Evans
|
1924 |
|
|
|
1925 |
|
|
* cgen-sim.h (CPU_SCACHE): Make size unsigned.
|
1926 |
|
|
(CPU_SCACHE_HASH_MASK): New macro.
|
1927 |
|
|
(SCACHE_HASH_PC): Rewrite.
|
1928 |
|
|
* genmloop.sh (engine_resume_{full,fast}): Move some of hash
|
1929 |
|
|
computation out of main loop.
|
1930 |
|
|
|
1931 |
|
|
Wed Jul 1 16:44:12 1998 Doug Evans
|
1932 |
|
|
|
1933 |
|
|
* cgen-sim.h (RECORD_IADDR): Delete.
|
1934 |
|
|
* cgen-types.h (HOSTINT,HOSTUINT,HOSTPTR): New types.
|
1935 |
|
|
* genmloop.sh (engine_resume_{full,fast}): Delete icount.
|
1936 |
|
|
|
1937 |
|
|
Wed Jun 17 12:25:08 1998 Mark Alexander
|
1938 |
|
|
|
1939 |
|
|
* gennltvals.def (mn10200): Add entry.
|
1940 |
|
|
* nltvals.def: Regenerate with MN10200 additions.
|
1941 |
|
|
|
1942 |
|
|
Wed Jun 17 13:18:28 1998 Andrew Cagney
|
1943 |
|
|
|
1944 |
|
|
* sim-inline.h (EXTERN_*): Replace with EXTERN_*_P. Correct
|
1945 |
|
|
documentation on how it works.
|
1946 |
|
|
|
1947 |
|
|
* sim-core.h, sim-core.c (sim_core_install, sim_core_attach,
|
1948 |
|
|
sim_core_detach, sim_core_read_buffer, sim_core_write_buffer,
|
1949 |
|
|
sim_core_set_xor, sim_core_xor_read_buffer,
|
1950 |
|
|
sim_core_xor_write_buffer): Update.
|
1951 |
|
|
|
1952 |
|
|
* sim-events.h, sim-events.c (sim_events_install,
|
1953 |
|
|
sim_events_watch_clock, sim_events_schedule_after_signal,
|
1954 |
|
|
sim_events_schedule, sim_events_watch_sim, sim_events_watch_core,
|
1955 |
|
|
sim_events_deschedule): Update.
|
1956 |
|
|
|
1957 |
|
|
* sim-fpu.h, sim-fpu.c (sim_fpu_zero, sim_fpu_one, sim_fpu_two,
|
1958 |
|
|
sim_fpu_max32, sim_fpu_max64): Update.
|
1959 |
|
|
|
1960 |
|
|
Sat Jun 13 07:45:38 1998 Doug Evans
|
1961 |
|
|
|
1962 |
|
|
* cgen-trace.c (trace_insn_fini): Redo cycle handling.
|
1963 |
|
|
* sim-profile.h (PROFILE_DATA): Rename cycle handling members.
|
1964 |
|
|
* sim-profile.c (profile_print_model): Update.
|
1965 |
|
|
|
1966 |
|
|
Fri Jun 12 18:35:07 1998 Doug Evans
|
1967 |
|
|
|
1968 |
|
|
* gennltvals.def (m32r): Use common syscall.h now.
|
1969 |
|
|
(mn10300): Add entry.
|
1970 |
|
|
* nltvals.def: Regenerate.
|
1971 |
|
|
|
1972 |
|
|
* sim-engine.c (sim_engine_get_run_state): New function.
|
1973 |
|
|
* sim-engine.h (sim_engine_get_run_state): Declare it.
|
1974 |
|
|
|
1975 |
|
|
Thu Jun 11 00:50:03 1998 Doug Evans
|
1976 |
|
|
|
1977 |
|
|
* sim-core.h (SIM_CORE_SIGNAL_FN): New typedef.
|
1978 |
|
|
* sim-core.c (sim_core_signal): Make extern, always define.
|
1979 |
|
|
|
1980 |
|
|
Wed Jun 10 16:02:29 1998 Doug Evans
|
1981 |
|
|
|
1982 |
|
|
* Make-common.in (CGEN_FLAGS_TO_PASS): New variable.
|
1983 |
|
|
* cgen-ops.h (ANDIF): New macro.
|
1984 |
|
|
(ANDIF[BQHSD]I): Delete.
|
1985 |
|
|
|
1986 |
|
|
Thu Jun 4 13:53:54 1998 Andrew Cagney
|
1987 |
|
|
|
1988 |
|
|
* hw-events.c (create_hw_event, delete_hw_event): Delete.
|
1989 |
|
|
(hw_event_queue_schedule, hw_event_queue_deschedule,
|
1990 |
|
|
bounce_hw_event): Fix hw-event memory corruptions found by Joyce
|
1991 |
|
|
Janczyn.
|
1992 |
|
|
|
1993 |
|
|
* hw-alloc.h (HW_NZALLOC): Define.
|
1994 |
|
|
|
1995 |
|
|
* Make-common.in (test-hw-events): Add target for testing the
|
1996 |
|
|
hw-event code.
|
1997 |
|
|
|
1998 |
|
|
Mon May 25 21:11:26 1998 Andrew Cagney
|
1999 |
|
|
|
2000 |
|
|
* Make-common.in (SIM_COMMON_HW_OBJS): Add hw-handles.o and
|
2001 |
|
|
hw-instances.o.
|
2002 |
|
|
hw-handles.c, hw-instances.c, hw-handles.h, hw-instances.h: New
|
2003 |
|
|
files.
|
2004 |
|
|
* hw-main.h: Include hw-handles.h, hw-instances.h.
|
2005 |
|
|
* hw-base.h ({create,delete}_hw_{handles,instances}_data): Declare
|
2006 |
|
|
* hw-base.c (hw_create, hw_delete): Call same.
|
2007 |
|
|
|
2008 |
|
|
Mon May 25 18:55:35 1998 Andrew Cagney
|
2009 |
|
|
|
2010 |
|
|
* dv-core.c: Include hw-main.h and sim-main.h.
|
2011 |
|
|
* dv-pal.c: Include hw-main.h and sim-io.h.
|
2012 |
|
|
* dv-glue.c: Include hw-main.h.
|
2013 |
|
|
|
2014 |
|
|
* hw-main.h: New file. Move list of includes to here.
|
2015 |
|
|
* hw-base.h: From here.
|
2016 |
|
|
* Make-common.in (hw_base_headers): Rename to hw_main_headers.
|
2017 |
|
|
(hw-*.o, dv-*.o): Update.
|
2018 |
|
|
* hw-tree.c, hw-base.c, hw-properties.c, hw-ports.c, hw-device.c,
|
2019 |
|
|
hw-events.c, hw-alloc.c, sim-hw.c: Include hw-main.h instead of
|
2020 |
|
|
sim-main.h.
|
2021 |
|
|
|
2022 |
|
|
* hw-base.h (do_hw_attach_regs, do_hw_poll_read_method,
|
2023 |
|
|
do_hw_poll_read): Move declarations from here.
|
2024 |
|
|
* hw-main.h: To here.
|
2025 |
|
|
|
2026 |
|
|
* hw-base.h (struct hw_device_descriptor, hw_finish_callback):
|
2027 |
|
|
Move from here.
|
2028 |
|
|
* hw-main.h (struct hw_descriptor, hw_finish_method): To here,
|
2029 |
|
|
rename.
|
2030 |
|
|
* Make-common.in (hw-config.h): Update
|
2031 |
|
|
* hw-base.c, dv-pal.c, dv-glue.c: Update
|
2032 |
|
|
|
2033 |
|
|
* dv-glue.c, hw-device.h, hw-base.h, hw-ports.c: Rename
|
2034 |
|
|
`*_callback' to `*_method.
|
2035 |
|
|
|
2036 |
|
|
Mon May 25 18:41:18 1998 Andrew Cagney
|
2037 |
|
|
|
2038 |
|
|
* hw-base.h (set_*): Move set method macros from here.
|
2039 |
|
|
* hw-device.h: To here.
|
2040 |
|
|
|
2041 |
|
|
Mon May 25 18:21:38 1998 Andrew Cagney
|
2042 |
|
|
|
2043 |
|
|
* hw-base.h (create_hw_property_data, delete_hw_property_data):
|
2044 |
|
|
Declare.
|
2045 |
|
|
|
2046 |
|
|
* hw-base.c (hw_create, hw_delete): Call
|
2047 |
|
|
* hw-properties.c (create_hw_property_data,
|
2048 |
|
|
delete_hw_property_data): Define.
|
2049 |
|
|
|
2050 |
|
|
Mon May 25 17:40:46 1998 Andrew Cagney
|
2051 |
|
|
|
2052 |
|
|
* hw-device.c, hw-properties.c: Include hw-base.h
|
2053 |
|
|
|
2054 |
|
|
* hw-alloc.h, hw-alloc.c: New files. Move alloc code to here.
|
2055 |
|
|
* hw-device.c: From here.
|
2056 |
|
|
* hw-base.h: Include "hw-events.h".
|
2057 |
|
|
|
2058 |
|
|
* hw-base.h (create_hw_alloc_data, delete_hw_alloc_data): Declare.
|
2059 |
|
|
* hw-base.c (hw_create, hw_delete): Call.
|
2060 |
|
|
* hw-alloc.c (create_hw_alloc_data, delete_hw_alloc_data): Define.
|
2061 |
|
|
|
2062 |
|
|
* Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-alloc.o.
|
2063 |
|
|
(hw-alloc.o): New target.
|
2064 |
|
|
|
2065 |
|
|
Mon May 25 17:14:27 1998 Andrew Cagney
|
2066 |
|
|
|
2067 |
|
|
* hw-events.h, hw-events.c: New files. Move event code to here.
|
2068 |
|
|
* sim-hw.c: From here.
|
2069 |
|
|
* hw-base.h: Include "hw-events.h".
|
2070 |
|
|
* Make-common.in (SIM_NEW_COMMON_OBJS): Add hw-events.o.
|
2071 |
|
|
(hw-events.o): New target.
|
2072 |
|
|
|
2073 |
|
|
* hw-device.h (struct hw): Add struct hw_event_data events_of_hw.
|
2074 |
|
|
* hw-events.h (struct hw_event): Replace typedef hw_event.
|
2075 |
|
|
|
2076 |
|
|
* hw-base.h (create_hw_event_data, delete_hw_event_data): Declare.
|
2077 |
|
|
* hw-base.c (hw_create, hw_delete): Call.
|
2078 |
|
|
* hw-events.c (create_hw_event_data, delete_hw_event_data): Define.
|
2079 |
|
|
|
2080 |
|
|
* dv-pal.c: Update.
|
2081 |
|
|
|
2082 |
|
|
Mon May 25 16:55:16 1998 Andrew Cagney
|
2083 |
|
|
|
2084 |
|
|
* hw-base.c (panic_hw_port_event, empty_hw_ports): Move from here.
|
2085 |
|
|
* hw-ports.c: To here.
|
2086 |
|
|
|
2087 |
|
|
* hw-base.h, hw-ports.c (create_hw_port_data,
|
2088 |
|
|
delete_hw_port_data): New functions.
|
2089 |
|
|
* hw-base.c (hw_delete, hw_create): Call same.
|
2090 |
|
|
|
2091 |
|
|
* hw-base.h (set_hw_ports, set_hw_port_event): Move set functions
|
2092 |
|
|
from here.
|
2093 |
|
|
* hw-ports.h: To here.
|
2094 |
|
|
|
2095 |
|
|
Mon May 25 16:42:48 1998 Andrew Cagney
|
2096 |
|
|
|
2097 |
|
|
* hw-device.c (hw_ioctl), hw-device.h (hw_ioctl_callback): Drop
|
2098 |
|
|
PROCESSOR and CIA arguments.
|
2099 |
|
|
|
2100 |
|
|
Fri May 22 12:16:27 1998 Andrew Cagney
|
2101 |
|
|
|
2102 |
|
|
* aclocal.m4 (SIM_AC_OPTION_HW): Add enable / disable argument.
|
2103 |
|
|
Move common object files from here.
|
2104 |
|
|
* Make-common.in (SIM_COMMON_HW_OBJS): To here.
|
2105 |
|
|
|
2106 |
|
|
Thu May 21 17:57:16 1998 Andrew Cagney
|
2107 |
|
|
|
2108 |
|
|
* sim-hw.c: Include ctype.h.
|
2109 |
|
|
(do_hw_poll_read): Do not assume EAGAIN.
|
2110 |
|
|
|
2111 |
|
|
Wed May 20 04:37:57 1998 Doug Evans
|
2112 |
|
|
|
2113 |
|
|
* cgen-trace.c (first_insn_p): New static local.
|
2114 |
|
|
(trace_insn_init): Set it.
|
2115 |
|
|
(trace_insn_fini): Use TRACE_PREFIX.
|
2116 |
|
|
(trace_insn): Rewrite to use trace_prefix.
|
2117 |
|
|
* sim-trace.c (trace_prefix): Don't print filename arg if NULL.
|
2118 |
|
|
Adjust width accordingly.
|
2119 |
|
|
|
2120 |
|
|
* sim-profile.h (PROFILE_DATA): New member profile_any_p.
|
2121 |
|
|
(PROFILE_ANY_P,PROFILE_INSN_P,PROFILE_MEMORY): New macros.
|
2122 |
|
|
(PROFILE_SCACHE_P,PROFILE_PC_P,PROFILE_CORE_P): New macros.
|
2123 |
|
|
(PROFILE_COUNT_INSN,PROFILE_COUNT_READ,PROFILE_COUNT_WRITE): Simplify.
|
2124 |
|
|
(PROFILE_COUNT_CORE): Simplify.
|
2125 |
|
|
* sim-profile.c (profile_option_handler): Compute profile_any_p.
|
2126 |
|
|
|
2127 |
|
|
Tue May 19 23:55:30 1998 Doug Evans
|
2128 |
|
|
|
2129 |
|
|
* cgen-ops.h (ADDCFSI): Fix typo.
|
2130 |
|
|
|
2131 |
|
|
Sat May 16 12:44:52 1998 Doug Evans
|
2132 |
|
|
|
2133 |
|
|
* cgen-sim.h (CGEN_CPU): New members idesc_{read,sem}_init_p.
|
2134 |
|
|
* genmloop.sh: Use them rather than static locals.
|
2135 |
|
|
|
2136 |
|
|
* sim-engine.c (sim_engine_set_run_state): New function.
|
2137 |
|
|
* sim-engine.h (sim_engine_set_run_state): Declare.
|
2138 |
|
|
* genmloop.sh (pending_reason,pending_sigrc): New static locals.
|
2139 |
|
|
(@cpu@_engine_stop): New args reason,sigrc. All callers updated.
|
2140 |
|
|
(engine_resume): Reorganize. Allow synchronous exit from main loop.
|
2141 |
|
|
|
2142 |
|
|
Fri May 15 16:06:05 1998 Doug Evans
|
2143 |
|
|
|
2144 |
|
|
* cgen-trace.c (trace_insn_init): New arg first_p.
|
2145 |
|
|
All callers updated.
|
2146 |
|
|
(trace_insn_fini): New arg last_p. All callers updated.
|
2147 |
|
|
* cgen-trace.h (trace_insn_init,trace_insn_fini): Update.
|
2148 |
|
|
(TRACE_INSN_INIT,TRACE_INSN_FINI): Update.
|
2149 |
|
|
* genmloop.sh (engine_resume): Update.
|
2150 |
|
|
|
2151 |
|
|
Fri May 15 15:59:00 1998 Joyce Janczyn
|
2152 |
|
|
|
2153 |
|
|
* Make-common.in (install-common): Run ranlib on installed copy of
|
2154 |
|
|
libsim.a.
|
2155 |
|
|
|
2156 |
|
|
Fri May 15 15:03:00 1998 Joyce Janczyn
|
2157 |
|
|
|
2158 |
|
|
* Make-common.in (install-common): Rename and install libsim.a.
|
2159 |
|
|
|
2160 |
|
|
Tue May 12 15:23:57 1998 Andrew Cagney
|
2161 |
|
|
|
2162 |
|
|
* sim-io.c (unistd.h): Include.
|
2163 |
|
|
|
2164 |
|
|
Wed May 6 16:04:18 1998 Doug Evans
|
2165 |
|
|
|
2166 |
|
|
* Make-common (sim_main_headers): Sort.
|
2167 |
|
|
(cgen-*.o): Add cgen-sim.h dependency.
|
2168 |
|
|
|
2169 |
|
|
* cgen-scache.c (scache_init): Only allocate space if scache element
|
2170 |
|
|
size is non-zero.
|
2171 |
|
|
(scache_flush,scache_print_profile): Check if scache in use first.
|
2172 |
|
|
|
2173 |
|
|
* cgen-sim.h (IDESC): Provide forward declaration.
|
2174 |
|
|
(DECODE): Delete.
|
2175 |
|
|
(CGEN_CPU): Always define scache member. New members idesc,opcode.
|
2176 |
|
|
(cgen_cpu_max_extra_bytes): Declare.
|
2177 |
|
|
* cgen-utils.c (cgen_cpu_max_extra_bytes): New function.
|
2178 |
|
|
|
2179 |
|
|
* sim-cpu.h: New file. sim_cpu_base moved here.
|
2180 |
|
|
Move sim_cpu_lookup decl here.
|
2181 |
|
|
* sim-base.h: #include "sim-cpu.h".
|
2182 |
|
|
* sim-cpu.c: New file.
|
2183 |
|
|
* Make-common (sim_main_headers): Add sim-cpu.h.
|
2184 |
|
|
(sim-cpu.o): Add rule for.
|
2185 |
|
|
|
2186 |
|
|
* sim-model.c (set_model): Delete.
|
2187 |
|
|
(sim_model_set,model_set): New functions.
|
2188 |
|
|
(sim_model_install): Renamed from model_install.
|
2189 |
|
|
Don't set default model here.
|
2190 |
|
|
(model_option_handler): Rewrite --model processing.
|
2191 |
|
|
(sim_model_lookup,sim_mach_lookup): New functions.
|
2192 |
|
|
* sim-model.h (MAX_MODELS,MAX_INSNS): Delete.
|
2193 |
|
|
(insn_timing): Delete.
|
2194 |
|
|
(INSN_TIMING): New member `num'.
|
2195 |
|
|
(IMP_PROPERTIES): Always define scache_elm_size member.
|
2196 |
|
|
(MACH): New member init_cpu.
|
2197 |
|
|
(sim_machs): Renamed from machs.
|
2198 |
|
|
(sim_model_install): Renamed from model_install.
|
2199 |
|
|
(sim_model_set,sim_model_lookup,sim_mach_lookup): Declare.
|
2200 |
|
|
* sim-module.c (modules): Update.
|
2201 |
|
|
|
2202 |
|
|
* sim-profile.c (profile_print_insn): Add cpu arg to INSN_NAME macro.
|
2203 |
|
|
|
2204 |
|
|
* sim-io.c: #include .
|
2205 |
|
|
|
2206 |
|
|
Wed May 6 12:39:15 1998 Andrew Cagney
|
2207 |
|
|
|
2208 |
|
|
* dv-pal.c (struct hw_pal_device): Add reader.
|
2209 |
|
|
(hw_pal_finish): Initialize reader.
|
2210 |
|
|
(scan_hw_pal): Use reader.
|
2211 |
|
|
|
2212 |
|
|
* hw-base.h, sim-hw.c (do_hw_poll_read): New function.
|
2213 |
|
|
(HW_IO_EOF, HW_IO_NOT_READY): Define.
|
2214 |
|
|
* dv-pal.c: Use.
|
2215 |
|
|
|
2216 |
|
|
* sim-io.h, sim-io.c (sim_io_poll_read): New function. Copy from
|
2217 |
|
|
../ppc/main.c sim_io_read_stdin.
|
2218 |
|
|
|
2219 |
|
|
Fri May 1 12:11:02 1998 Andrew Cagney
|
2220 |
|
|
|
2221 |
|
|
* hw-tree.h (hw_tree_print): Paramaterize with print and file
|
2222 |
|
|
arguments.
|
2223 |
|
|
* hw-tree.c: Update.
|
2224 |
|
|
|
2225 |
|
|
* hw-base.h (hw_port_event_callback): Delete CPU/CIA args.
|
2226 |
|
|
* hw-device.h (hw_io_read_buffer, hw_io_write_buffer): Delete
|
2227 |
|
|
CPU/CIA args.
|
2228 |
|
|
* hw-ports.h (hw_port_event): Ditto.
|
2229 |
|
|
* hw-ports.c (hw_port_event): Update.
|
2230 |
|
|
* hw-base.c (panic_hw_io_read_buffer, panic_hw_io_write_buffer):
|
2231 |
|
|
Update.
|
2232 |
|
|
* dv-pal.c (hw_pal_io_read_buffer, hw_pal_io_write_buffer):
|
2233 |
|
|
Update.
|
2234 |
|
|
(hw_pal_io_write_buffer): Call hw_halt not sim_engine_halt.
|
2235 |
|
|
(do_counter_event): Update.
|
2236 |
|
|
* dv-glue.c (hw_glue_io_read_buffer): Update.
|
2237 |
|
|
(hw_glue_port_event): Update.
|
2238 |
|
|
|
2239 |
|
|
* hw-device.h (SIM_DESC): Replace with struct sim_state.
|
2240 |
|
|
* hw-base.h (hw_create): Ditto.
|
2241 |
|
|
* hw-base.c (hw_create): Ditto.
|
2242 |
|
|
|
2243 |
|
|
* hw-device.c (hw_abort, hw_trace, hw_hw_event_queue_schedule,
|
2244 |
|
|
hw_event_queue_deschedule, hw_event_queue_time): Delete, moved
|
2245 |
|
|
from here to.
|
2246 |
|
|
* sim-hw.c: Here.
|
2247 |
|
|
* hw-device.h (hw_system_cpu): Declare.
|
2248 |
|
|
* sim-hw.c (hw_system_cpu): New function.
|
2249 |
|
|
|
2250 |
|
|
* sim-core.c (sim_core_map_attach, sim_core_attach): Call
|
2251 |
|
|
sim_hw_abort not hw_abort.
|
2252 |
|
|
(sim-hw.h): Include.
|
2253 |
|
|
(sim_core_read_buffer, sim_core_write_buffer): Call
|
2254 |
|
|
sim_hw_io_read_buffer and sim_hw_io_write_buffer. Do not pass CPU
|
2255 |
|
|
argument.
|
2256 |
|
|
(sim_core_set_xor): Do not pass CPU when aborting.
|
2257 |
|
|
|
2258 |
|
|
* sim-n-core.h (sim_core_read_aligned_N,
|
2259 |
|
|
sim_core_write_aligned_N): Call sim_hw_abort not hw_abort.
|
2260 |
|
|
(sim_core_read_aligned_N, sim_core_write_aligned_N): Call
|
2261 |
|
|
sim_cpu_hw_io_read_buffer and sim_cpu_hw_io_write_buffer. Does not
|
2262 |
|
|
return length.
|
2263 |
|
|
|
2264 |
|
|
* sim-hw.h: Declare sim_hw_io_{read,write}_buffer. Declare
|
2265 |
|
|
sim_hw_print.
|
2266 |
|
|
* sim-hw.c (sim_hw_io_read_buffer, sim_hw_io_write_buffer,
|
2267 |
|
|
sim_cpu_hw_io_read_buffer, sim_cpu_hw_io_write_buffer): New
|
2268 |
|
|
functions.
|
2269 |
|
|
(sim_hw_print): New function.
|
2270 |
|
|
|
2271 |
|
|
* sim-engine.h (sim_engine_vabort): Declare.
|
2272 |
|
|
* sim-engine.c (sim_engine_vabort): New function.
|
2273 |
|
|
|
2274 |
|
|
Wed Apr 29 23:58:52 1998 Andrew Cagney
|
2275 |
|
|
|
2276 |
|
|
* sim-trace.c (print_data): For floating-point numbers trace raw
|
2277 |
|
|
hex value.
|
2278 |
|
|
(trace_result_fp2): New function.
|
2279 |
|
|
* sim-trace.h (trace_result_fp2): New declaration.
|
2280 |
|
|
(TRACE_FP_RESULT2): New macro.
|
2281 |
|
|
|
2282 |
|
|
Tue Apr 28 18:28:58 1998 Geoffrey Noer
|
2283 |
|
|
|
2284 |
|
|
* common/aclocal.m4: call AM_EXEEXT in SIM_AC_COMMON, define
|
2285 |
|
|
AM_CYGWIN32 and AM_EXEEXT.
|
2286 |
|
|
* common/Make-common.in: set EXEEXT, add missing EXEEXTs
|
2287 |
|
|
to run and install-common rules.
|
2288 |
|
|
* common/configure: regenerate
|
2289 |
|
|
|
2290 |
|
|
Sat Apr 25 17:45:01 1998 Andrew Cagney
|
2291 |
|
|
|
2292 |
|
|
* sim-types.h (cell_word): New type.
|
2293 |
|
|
(natural_cell): Delete type.
|
2294 |
|
|
|
2295 |
|
|
Sun Apr 26 15:31:55 1998 Tom Tromey
|
2296 |
|
|
|
2297 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
2298 |
|
|
* config.in: Ditto.
|
2299 |
|
|
|
2300 |
|
|
Sun Apr 26 15:25:07 1998 Tom Tromey
|
2301 |
|
|
|
2302 |
|
|
* acconfig.h (NEED_DECLARATION_PRINTF): Removed.
|
2303 |
|
|
|
2304 |
|
|
Fri Apr 24 14:16:40 1998 Tom Tromey
|
2305 |
|
|
|
2306 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
2307 |
|
|
* config.in: Ditto.
|
2308 |
|
|
|
2309 |
|
|
Fri Apr 24 11:38:08 1998 Tom Tromey
|
2310 |
|
|
|
2311 |
|
|
* acconfig.h: New file.
|
2312 |
|
|
* Make-common.in (top_builddir): New macro.
|
2313 |
|
|
(INTL_LIB): Removed.
|
2314 |
|
|
(INTLLIBS): New macro.
|
2315 |
|
|
(INTLDEPS): Likewise.
|
2316 |
|
|
(LIBDEPS): Use INTLDEPS.
|
2317 |
|
|
(EXTRA_LIBS): Use INTLLIBS.
|
2318 |
|
|
* aclocal.m4 (SIM_AC_COMMON): Call CY_GNU_GETTEXT.
|
2319 |
|
|
(CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST,
|
2320 |
|
|
AM_LC_MESSAGES): New macros from GNU gettext.
|
2321 |
|
|
|
2322 |
|
|
Fri Apr 24 19:57:59 1998 Andrew Cagney
|
2323 |
|
|
|
2324 |
|
|
* sim-config.h: Discard leading _ from macros.
|
2325 |
|
|
* sim-types.h: Ditto.
|
2326 |
|
|
|
2327 |
|
|
Wed Apr 22 14:14:19 1998 Michael Meissner
|
2328 |
|
|
|
2329 |
|
|
* Make-common.in (CSEARCH): Add -I to intl directories.
|
2330 |
|
|
(INTL_LIB): Point to libintl.a.
|
2331 |
|
|
(LIBDEPS): Add $(INTL_LIB).
|
2332 |
|
|
(EXTRA_LIBS): Ditto.
|
2333 |
|
|
|
2334 |
|
|
Tue Apr 21 12:44:27 1998 Doug Evans
|
2335 |
|
|
|
2336 |
|
|
* cgen-types.h (GETHIDI,MAKEDI): Tweak.
|
2337 |
|
|
|
2338 |
|
|
* cgen-ops.h (ADDCFSI): Fix.
|
2339 |
|
|
(SUBCFSI): Tweak.
|
2340 |
|
|
|
2341 |
|
|
Tue Apr 21 13:18:41 1998 Andrew Cagney
|
2342 |
|
|
|
2343 |
|
|
* sim-types.h (signed_address, unsigned_address): Define.
|
2344 |
|
|
|
2345 |
|
|
Mon Apr 20 21:47:54 1998 Andrew Cagney
|
2346 |
|
|
|
2347 |
|
|
* sim-fpu.c (sim_fpu_2d): Don't return an SNaN, convert it into a
|
2348 |
|
|
QNaN.
|
2349 |
|
|
|
2350 |
|
|
Thu Apr 16 10:30:14 1998 Andrew Cagney
|
2351 |
|
|
|
2352 |
|
|
* sim-fpu.c, sim-fpu.h (sim_fpu_fractionto, sim_fpu_tofraction):
|
2353 |
|
|
New functions, pack / unpack sim_fpu struct using raw values.
|
2354 |
|
|
(sim_fpu_is): Differentiate between negative and positive
|
2355 |
|
|
infinity.
|
2356 |
|
|
|
2357 |
|
|
Tue Apr 14 18:49:31 1998 Andrew Cagney
|
2358 |
|
|
|
2359 |
|
|
* sim-bits.h (EXTEND4): Define.
|
2360 |
|
|
(EXTEND4, EXTEND15, EXTEND11): Ditto.
|
2361 |
|
|
|
2362 |
|
|
Tue Apr 14 16:31:35 1998 John Metzler
|
2363 |
|
|
|
2364 |
|
|
* sim-memopt.c (parse_addr): Sunos 4.5 does not have strtol
|
2365 |
|
|
declared so we need this cast to prevent long long addresses
|
2366 |
|
|
from being misconfigures. Results in access to unmapped memory.
|
2367 |
|
|
|
2368 |
|
|
Tue Apr 14 13:19:14 1998 Doug Evans
|
2369 |
|
|
|
2370 |
|
|
* Make-common.in (RUNTESTFLAGS): Define.
|
2371 |
|
|
(check): Pass RUNTESTFLAGS to recursive make.
|
2372 |
|
|
|
2373 |
|
|
Tue Apr 14 15:09:19 1998 Andrew Cagney
|
2374 |
|
|
|
2375 |
|
|
* sim-info.c (sim_info): Be verbose when either VERBOSE or
|
2376 |
|
|
STATE_VERBOSE_P.
|
2377 |
|
|
|
2378 |
|
|
Sat Apr 4 23:24:17 1998 Andrew Cagney
|
2379 |
|
|
|
2380 |
|
|
* aclocal.m4 (sim-inline): By default, disable sim-inline when
|
2381 |
|
|
cross compiling.
|
2382 |
|
|
|
2383 |
|
|
Sat Apr 4 20:36:25 1998 Andrew Cagney
|
2384 |
|
|
|
2385 |
|
|
* aclocal.m4 (sim-cflags): Add -fomit-frame-pointer to defaults.
|
2386 |
|
|
(sim-inline): Update to match sim-inline.[hc]
|
2387 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
2388 |
|
|
|
2389 |
|
|
* Make-common.in (sim_main_headers): Add sim-inline.h
|
2390 |
|
|
|
2391 |
|
|
* sim-bits.h (sim-bits.c): Include when H_REVEALS_MODULE_P.
|
2392 |
|
|
selected.
|
2393 |
|
|
* sim-endian.h (sim-endian.c): Ditto.
|
2394 |
|
|
|
2395 |
|
|
* sim-events.h (_SIM_EVENTS_H_): Replace with SIM_EVENTS_H.
|
2396 |
|
|
(sim_events_set_trace): Delete unused prototype.
|
2397 |
|
|
|
2398 |
|
|
* sim-core.h (_SIM_CORE_H_): Replace with SIM_CORE_H.
|
2399 |
|
|
* sim-core.c (_SIM_CORE_C_): Ditto for SIM_CORE_C.
|
2400 |
|
|
|
2401 |
|
|
* sim-fpu.h (sim-fpu.c): Include when H_REVEALS_MODULE_P.
|
2402 |
|
|
(sim_fpu_to232i, sim_fpu_to232u, sim_fpu_i232to, sim_fpu_u232to):
|
2403 |
|
|
Comment out, not yet implemented in sim-fpu.c.
|
2404 |
|
|
(sim_fpu_zero, sim_fpu_one, sim_fpu_two, sim_fpu_qnan,
|
2405 |
|
|
sim_fpu_max32, sim_fpu_max64): Mark as EXTERN_SIM_FPU.
|
2406 |
|
|
|
2407 |
|
|
* sim-inline.h: Rewrite description.
|
2408 |
|
|
(H_REVEALS_MODULE_P, C_REVEALS_MODULE_P): Define.
|
2409 |
|
|
(SIM_MAIN_INLINE): Add inline option.
|
2410 |
|
|
|
2411 |
|
|
* sim-inline.c (semantics.c, idecode.c, engine.c, ...): Do not
|
2412 |
|
|
include generated files. Handled by generator directly.
|
2413 |
|
|
|
2414 |
|
|
Sat Apr 4 01:07:06 1998 Andrew Cagney
|
2415 |
|
|
|
2416 |
|
|
* sim-trace.c (set_trace_option_mask): Keep TRACE_ANY_P
|
2417 |
|
|
up-to-date.
|
2418 |
|
|
|
2419 |
|
|
* sim-trace.h (TRACE_ANY_P): Define.
|
2420 |
|
|
(struct _trace_data): Add trace_any_p.
|
2421 |
|
|
|
2422 |
|
|
Mon Mar 30 17:11:55 1998 Andrew Cagney
|
2423 |
|
|
|
2424 |
|
|
* run.c (main): Handle all alternatives of enum sim_stop.
|
2425 |
|
|
(main): Delete unused `asection *s'.
|
2426 |
|
|
|
2427 |
|
|
Fri Mar 27 16:15:52 1998 Andrew Cagney
|
2428 |
|
|
|
2429 |
|
|
* hw-tree.h, hw-tree.c (hw_tree_vparse): New function
|
2430 |
|
|
|
2431 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
2432 |
|
|
|
2433 |
|
|
* sim-hw.c: New file.
|
2434 |
|
|
* sim-hw.h (sim_hw_parse): Declare function.
|
2435 |
|
|
(hw-tree.h): Do not include.
|
2436 |
|
|
|
2437 |
|
|
* sim-base.h (STATE_HW): Define.
|
2438 |
|
|
(struct sim_state_base): Add member struct *hw.
|
2439 |
|
|
|
2440 |
|
|
* sim-module.c (sim-hw.h): Include.
|
2441 |
|
|
(modules): Add sim_hw_install.
|
2442 |
|
|
|
2443 |
|
|
* aclocal.m4 (sim_hw_obj): Add sim-hw.o
|
2444 |
|
|
|
2445 |
|
|
Fri Mar 27 14:55:06 1998 Andrew Cagney
|
2446 |
|
|
|
2447 |
|
|
* sim-base.h (CPU_INDEX): Define.
|
2448 |
|
|
|
2449 |
|
|
* sim-utils.c (sim_state_alloc): Initialize.
|
2450 |
|
|
* sim-module.c (sim_post_argv_init): Ditto.
|
2451 |
|
|
|
2452 |
|
|
Thu Mar 26 10:07:57 1998 Stu Grossman
|
2453 |
|
|
|
2454 |
|
|
* aclocal.m4 (sim_hw_obj): Fix sed expression to generate
|
2455 |
|
|
properly formatted lists.
|
2456 |
|
|
|
2457 |
|
|
Thu Mar 26 10:37:22 1998 Andrew Cagney
|
2458 |
|
|
|
2459 |
|
|
* dv-pal.c (enum hw_pal_address_mask): From Stu Grossman, was
|
2460 |
|
|
0x2f needs to be 0x3f.
|
2461 |
|
|
|
2462 |
|
|
Thu Mar 26 09:10:56 1998 Andrew Cagney
|
2463 |
|
|
|
2464 |
|
|
* hw-tree.c (hw_tree_find_property): Return NULL when device is
|
2465 |
|
|
not found.
|
2466 |
|
|
(hw_tree_find_*_property): Clean up error message when property is
|
2467 |
|
|
not found.
|
2468 |
|
|
|
2469 |
|
|
* dv-pal.c (hw_pal_io_read_buffer): Check the smp property is
|
2470 |
|
|
present before looking for it.
|
2471 |
|
|
|
2472 |
|
|
Wed Mar 25 16:17:38 1998 Ian Carmichael
|
2473 |
|
|
|
2474 |
|
|
* aclocal.m4 (AC_CHECK_HEADERS): Add check for fpu_control.h.
|
2475 |
|
|
(AC_CHECK_FUNCS): Add check for __setfpucw.
|
2476 |
|
|
* configure: Regenerated.
|
2477 |
|
|
|
2478 |
|
|
Wed Mar 25 09:18:34 1998 Andrew Cagney
|
2479 |
|
|
|
2480 |
|
|
* dv-pal.c (hw_pal_countdown, hw_pal_countdown_value,
|
2481 |
|
|
hw_pal_timer, hw_pal_timer_value): Define.
|
2482 |
|
|
(hw_pal_io_read_buffer, hw_pal_io_write_buffer): Add timer support
|
2483 |
|
|
(do_counter_event, do_counter_read, do_counter_value,
|
2484 |
|
|
do_counter_write): new functions.
|
2485 |
|
|
|
2486 |
|
|
Tue Mar 24 12:24:24 1998 Andrew Cagney
|
2487 |
|
|
|
2488 |
|
|
* hw-tree.c (hw_printf): Send tree dump to stderr, same as other
|
2489 |
|
|
trace output.
|
2490 |
|
|
|
2491 |
|
|
* hw-base.c (hw_create): Stop searching for a device when one is
|
2492 |
|
|
found.
|
2493 |
|
|
|
2494 |
|
|
Wed Mar 25 12:35:29 1998 Andrew Cagney
|
2495 |
|
|
|
2496 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
2497 |
|
|
|
2498 |
|
|
Mon Mar 23 10:25:08 1998 Andrew Cagney
|
2499 |
|
|
|
2500 |
|
|
* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Add second argument,
|
2501 |
|
|
appends extra devices.
|
2502 |
|
|
(SIM_AC_OPTION_HARDWARE): Substute sim_hw, a non-duplicate list of
|
2503 |
|
|
the device names.
|
2504 |
|
|
|
2505 |
|
|
* Make-common.in (hw-config.h): New target, create hw-config.h
|
2506 |
|
|
file.
|
2507 |
|
|
(SIM_HW): Definition from @sim_hw@.
|
2508 |
|
|
(hw-base.o): Depend on hw-config.h
|
2509 |
|
|
|
2510 |
|
|
Tue Mar 24 17:41:35 1998 Stu Grossman
|
2511 |
|
|
|
2512 |
|
|
* Make-common.in: Get SHELL from configure.
|
2513 |
|
|
* (stamp-tvals sim-inline.c): Use $(SHELL) when invoking
|
2514 |
|
|
move-if-change. Fixes NT native build problem.
|
2515 |
|
|
* Makefile.in (nltvals.def): Use $(SHELL) when invoking
|
2516 |
|
|
move-if-change. Fixes NT native build problem.
|
2517 |
|
|
* configure: Regenerate with autoconf 2.12.1 to fix shell issues for
|
2518 |
|
|
NT native builds.
|
2519 |
|
|
|
2520 |
|
|
Sun Mar 22 16:54:40 1998 Andrew Cagney
|
2521 |
|
|
|
2522 |
|
|
* hw-device.h, hw-device.c (hw_strdup): New function.
|
2523 |
|
|
|
2524 |
|
|
* hw-base.c (hw_create): Use hw_strdup when saving a copy of the
|
2525 |
|
|
strings name, family and args.
|
2526 |
|
|
(full_name_of_hw): Use hw_strdup when returning the full path.
|
2527 |
|
|
|
2528 |
|
|
* hw-properties.c: Clean up property not found / wrong type error
|
2529 |
|
|
messages.
|
2530 |
|
|
|
2531 |
|
|
* hw-tree.c (hw_tree_parse): Finish a devices initialization
|
2532 |
|
|
before attaching any ports.
|
2533 |
|
|
|
2534 |
|
|
* hw-base.c (hw-config.): Include. Replace hardwired table.
|
2535 |
|
|
|
2536 |
|
|
* dv-glue.c: Copy over ../ppc/hw_glue.c. Update to new framework.
|
2537 |
|
|
|
2538 |
|
|
* Make-common.in: Add rule for dv-glue.o.
|
2539 |
|
|
|
2540 |
|
|
Sun Mar 22 16:45:54 1998 Andrew Cagney
|
2541 |
|
|
|
2542 |
|
|
* hw-base.c (hw_finish): Move setting of trace level to here.
|
2543 |
|
|
(hw_create): From here.
|
2544 |
|
|
|
2545 |
|
|
* hw-base.h, hw-base.c (do_hw_attach_regs): Copy function from
|
2546 |
|
|
../ppc/device_table.c.
|
2547 |
|
|
|
2548 |
|
|
* dv-pal.c (hw_pal_finish): Attach PAL device to parent bus.
|
2549 |
|
|
|
2550 |
|
|
* hw-tree.c (print_properties): Supress path when printing
|
2551 |
|
|
properties of root node.
|
2552 |
|
|
|
2553 |
|
|
Sun Mar 22 16:21:15 1998 Andrew Cagney
|
2554 |
|
|
|
2555 |
|
|
* hw-device.h (HW_TRACE): Define.
|
2556 |
|
|
(hw_trace): Declare.
|
2557 |
|
|
* hw-device.c (hw_trace): Implement function.
|
2558 |
|
|
|
2559 |
|
|
* hw-base.c (hw_create): Set hw trace level from "trace?"
|
2560 |
|
|
property.
|
2561 |
|
|
|
2562 |
|
|
* dv-core.c (dv_core_attach_address_callback): Add trace.
|
2563 |
|
|
|
2564 |
|
|
* dv-pal.c: Replace DTRACE with HW_TRACE.
|
2565 |
|
|
|
2566 |
|
|
Sun Mar 22 15:23:35 1998 Andrew Cagney
|
2567 |
|
|
|
2568 |
|
|
* hw-device.h (HW_ZALLOC, HW_MALLOC): New macros.
|
2569 |
|
|
(hw_alloc_data): Delcare.
|
2570 |
|
|
(struct hw): Add member alloc_of_hw.
|
2571 |
|
|
|
2572 |
|
|
* hw-device.c (hw_zalloc, hw_malloc, hw_free, hw_free_all): New
|
2573 |
|
|
functions. Assocate memory with a device.
|
2574 |
|
|
(stdlib.h): Include.
|
2575 |
|
|
|
2576 |
|
|
* hw-base.h (set_hw_delete): Define.
|
2577 |
|
|
(hw_delete_callback): Declare.
|
2578 |
|
|
(hw_delete): Declare.
|
2579 |
|
|
|
2580 |
|
|
* hw-base.c (hw_delete): Implement function.
|
2581 |
|
|
(struct hw_base_data): Add member to_delete.
|
2582 |
|
|
(ignore_hw_delete): New function, does nothing.
|
2583 |
|
|
(hw_create): Set the hw_delete method.
|
2584 |
|
|
(hw_create): Allocate the base type using HW_ZALLOC before setting
|
2585 |
|
|
any methods.
|
2586 |
|
|
|
2587 |
|
|
* hw-tree.h, hw-tree.c (hw_tree_delete): New function.
|
2588 |
|
|
|
2589 |
|
|
* hw-properties.c: Replace zalloc/zfree with hw_zalloc/hw_free.
|
2590 |
|
|
|
2591 |
|
|
* hw-ports.c: Replace zalloc/zfree with hw_zalloc/hw_free.
|
2592 |
|
|
(attach_hw_port_edge): Add struct hw argument
|
2593 |
|
|
|
2594 |
|
|
* dv-pal.c (hw_pal_finish): Replace zalloc/zfree with
|
2595 |
|
|
hw_zalloc/hw_free.
|
2596 |
|
|
|
2597 |
|
|
Sun Mar 22 15:09:52 1998 Andrew Cagney
|
2598 |
|
|
|
2599 |
|
|
* hw-device.h (hw_attach_address_callback,
|
2600 |
|
|
hw_detach_address_callback): Attach to a single space not a space
|
2601 |
|
|
mask. Clarify interpretation of SPACE:ADDR parameters.
|
2602 |
|
|
|
2603 |
|
|
* hw-base.c (passthrough_hw_attach_address,
|
2604 |
|
|
passthrough_hw_detach_address): Update.
|
2605 |
|
|
* dv-core.c (dv_core_attach_address_callback): Ditto.
|
2606 |
|
|
* dv-pal.c (hw_pal_attach_address): Ditto.
|
2607 |
|
|
|
2608 |
|
|
Thu Mar 19 00:41:00 1998 Andrew Cagney
|
2609 |
|
|
|
2610 |
|
|
* sim-options.h: Document additional CPU arg to OPTION_HANDLER.
|
2611 |
|
|
|
2612 |
|
|
Wed Mar 18 14:13:02 1998 Andrew Cagney
|
2613 |
|
|
|
2614 |
|
|
* Make-common.in (SIM_HW_OBJS, SIM_HW_SRC, SIM_DV_OBJS): Define.
|
2615 |
|
|
(hw-base_h, hw-device_h, hw-handles_h, hw-instances_h, hw_ports_h,
|
2616 |
|
|
hw-properties_h, hw-tree_h): Define, point at corresponding
|
2617 |
|
|
header.
|
2618 |
|
|
(hw_base_headers): Define list of headers included by hw-base.h
|
2619 |
|
|
(hw-base.o, hw-device.o, hw-instances.o, hw-handles.o, hw-ports.o,
|
2620 |
|
|
hw-properties.o, hw-tree.o): Specify dependencies.
|
2621 |
|
|
(dv-core.o, dv-pal.o): Ditto.
|
2622 |
|
|
|
2623 |
|
|
* sim-hw.h: New file.
|
2624 |
|
|
|
2625 |
|
|
* hw-device.h, hw-device.c, hw-properties.h, hw-properties.c,
|
2626 |
|
|
hw-ports.h, hw-ports.c: New files. Copied from ../ppc/device.[ch].
|
2627 |
|
|
|
2628 |
|
|
* hw-tree.h, hw-tree.c: New files. Copied from ../ppc/tree.[hc].
|
2629 |
|
|
|
2630 |
|
|
* hw-base.h, hw-base.c: new files. Copied from
|
2631 |
|
|
../ppc/device_table.[hc].
|
2632 |
|
|
|
2633 |
|
|
* dv-core.c, dv-pal.c: New files. Copied from
|
2634 |
|
|
../ppc/hw_{core,pal}.c
|
2635 |
|
|
|
2636 |
|
|
* sim-basics.h (struct hw): Declare.
|
2637 |
|
|
(enum port_direction, enum object_disposition): Declare.
|
2638 |
|
|
|
2639 |
|
|
Wed Mar 18 12:38:12 1998 Andrew Cagney
|
2640 |
|
|
|
2641 |
|
|
* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Set sim_hw_obj, sim_dv_obj,
|
2642 |
|
|
sim_dv_src in Makefile. Take list of devices as parameter to m4
|
2643 |
|
|
macro..
|
2644 |
|
|
|
2645 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
2646 |
|
|
|
2647 |
|
|
Mon Mar 16 12:37:33 1998 Andrew Cagney
|
2648 |
|
|
|
2649 |
|
|
* sim-trace.h, sim-trace.c (trace_prefix): Pass in sim_cia so that
|
2650 |
|
|
trace_prefix can abort cleanly.
|
2651 |
|
|
|
2652 |
|
|
Sat Mar 14 18:36:12 1998 Doug Evans
|
2653 |
|
|
|
2654 |
|
|
* dv-sockser.c, dv-sockser.h: New files.
|
2655 |
|
|
* Make-common.in (dv-sockser.o): Add rule for.
|
2656 |
|
|
* aclocal.m4: Check for fcntl.h.
|
2657 |
|
|
* config.h: Add HAVE_FCNTL_H.
|
2658 |
|
|
|
2659 |
|
|
* sim-break.c (remove_breakpoint): Fix thinko.
|
2660 |
|
|
|
2661 |
|
|
* sim-hload.c (sim_load): Provide default value of SIM_HANDLES_LMA.
|
2662 |
|
|
Use SIM_HANDLES_LMA for lma_p arg to sim_load_file.
|
2663 |
|
|
|
2664 |
|
|
1998-03-13 Fred Fish
|
2665 |
|
|
|
2666 |
|
|
* sim-base.h (struct sim_state_base): Add prog_syms and
|
2667 |
|
|
define macro STATE_PROG_SYMS.
|
2668 |
|
|
* sim-trace.c (trace_prefix): Add variables abfd, symsize,
|
2669 |
|
|
symbol_count, and asymbols. Call bfd_get_symtab_upper_bound
|
2670 |
|
|
and bfd_canonicalize_symtab, to get symbol table on first use
|
2671 |
|
|
and preserve it via STATE_PROG_SYMS for future calls to
|
2672 |
|
|
bfd_find_nearest_line.
|
2673 |
|
|
|
2674 |
|
|
Wed Mar 11 14:02:47 1998 Andrew Cagney
|
2675 |
|
|
|
2676 |
|
|
* sim-core.h, sim-core.c (sim_core_map_to_str): Delete.
|
2677 |
|
|
|
2678 |
|
|
* sim-core.c (sim_core_attach): Handle a generic number of maps -
|
2679 |
|
|
up to nr_maps, not just access_* maps.
|
2680 |
|
|
|
2681 |
|
|
* sim-profile.h (struct PROFILE_DATA): Track nr_maps different
|
2682 |
|
|
maps.
|
2683 |
|
|
|
2684 |
|
|
* sim-profile.c (profile_print_core): Make map unsigned. Iterate
|
2685 |
|
|
over nr_maps not sim_core_nr_maps.
|
2686 |
|
|
|
2687 |
|
|
* sim-events.h, sim-events.c (sim_events_watch_core): Change
|
2688 |
|
|
core_map argument to unsigned.
|
2689 |
|
|
(struct _sim_core): Ditto for struct member core_map.
|
2690 |
|
|
|
2691 |
|
|
* sim-core.h (nr_sim_core_maps, sim_core_*_map): Delete
|
2692 |
|
|
|
2693 |
|
|
* sim-basics.h (access_io, access_*_io): Define.
|
2694 |
|
|
(map_read, map_write, map_exec, map_io): Define.
|
2695 |
|
|
|
2696 |
|
|
* sim-core.c, sim-core.h (sim_core_attach): Replace argument
|
2697 |
|
|
attach with more generic mapmask.
|
2698 |
|
|
(sim_core_{read,write}_*): Change map argument to unsigned.
|
2699 |
|
|
|
2700 |
|
|
* sim-core.c (sim_core_uninstall, sim_core_attach,
|
2701 |
|
|
sim_core_detach): Iterate over nr_maps instead of
|
2702 |
|
|
sim_core_nr_maps.
|
2703 |
|
|
|
2704 |
|
|
* sim-break.c (insert_breakpoint): Write breakpoints to exec_map
|
2705 |
|
|
instead of the write_map.
|
2706 |
|
|
(remove_breakpoint): Ditto.
|
2707 |
|
|
|
2708 |
|
|
* genmloop.sh (engine_resume_full): Replace sim_core_*_map
|
2709 |
|
|
with read_map, write_map, exec_map resp.
|
2710 |
|
|
|
2711 |
|
|
* cgen-mem.h (DECLARE_GETMEM, DECLARE_SETMEM, DECLARE_GETIMEM):
|
2712 |
|
|
Ditto.
|
2713 |
|
|
|
2714 |
|
|
* cgen-utils.c (sim_disassemble_insn): Ditto.
|
2715 |
|
|
|
2716 |
|
|
* sim-hrw.c (sim_write, sim_write): Ditto.
|
2717 |
|
|
|
2718 |
|
|
* sim-utils.h, sim-utils.c (access_to_str, map_to_str,
|
2719 |
|
|
transfer_to_str): New functions.
|
2720 |
|
|
|
2721 |
|
|
Mon Mar 9 12:50:59 1998 Doug Evans
|
2722 |
|
|
|
2723 |
|
|
* sim-base.h (sim_state_base): New member environment.
|
2724 |
|
|
(STATE_ENVIRONMENT): New macro.
|
2725 |
|
|
* sim-config.c (current_environment): Delete.
|
2726 |
|
|
(sim_config_default): New function.
|
2727 |
|
|
(sim_config): Set STATE_ENVIRONMENT, not current_environment.
|
2728 |
|
|
* sim-config.h (current_environment,CURRENT_ENVIRONMENT): Delete.
|
2729 |
|
|
(sim_config_default): Add prototype.
|
2730 |
|
|
* sim-module.c (sim_pre_argv_init): Call sim_config_default.
|
2731 |
|
|
* sim-options.c (standard_option_handler, case OPTION_ENVIRONMENT):
|
2732 |
|
|
Set STATE_ENVIRONMENT, not current_environment.
|
2733 |
|
|
|
2734 |
|
|
Mon Mar 9 11:59:03 1998 Jim Wilson
|
2735 |
|
|
|
2736 |
|
|
* sim-fpu.c (NR_GUARDS64): Change NR_PAD32 to NR_PAD64.
|
2737 |
|
|
|
2738 |
|
|
Tue Mar 3 10:53:05 1998 Andrew Cagney
|
2739 |
|
|
|
2740 |
|
|
* sim-types.h (SIGNED32, SIGNED64): Pacify GCC.
|
2741 |
|
|
|
2742 |
|
|
* sim-alu.h (ALU64_BEGIN): Make alu64_r unsigned.
|
2743 |
|
|
|
2744 |
|
|
Mon Mar 2 10:20:06 1998 Doug Evans
|
2745 |
|
|
|
2746 |
|
|
* Make-common.in (TAGS): Make smarter.
|
2747 |
|
|
* Makefile.in (TAGS): Ditto.
|
2748 |
|
|
|
2749 |
|
|
Fri Feb 27 19:09:57 1998 Doug Evans
|
2750 |
|
|
|
2751 |
|
|
* sim-module.c (*): Fix typos in assertion tests.
|
2752 |
|
|
|
2753 |
|
|
Sat Feb 28 13:54:10 1998 Andrew Cagney
|
2754 |
|
|
|
2755 |
|
|
* sim-module.c (sim_pre_argv_init): String passed to asprintf
|
2756 |
|
|
can't be constant.
|
2757 |
|
|
|
2758 |
|
|
* sim-options.c (sim_parse_args): Ditto.
|
2759 |
|
|
(sim_args_command): Return OK, instead of nothing, for an empty
|
2760 |
|
|
command.
|
2761 |
|
|
|
2762 |
|
|
Fri Feb 27 13:29:13 1998 Andrew Cagney
|
2763 |
|
|
|
2764 |
|
|
* sim-profile.c (profile_info): Rename from profile_print. Drop
|
2765 |
|
|
misc and misc_cpu callback arguments. Use
|
2766 |
|
|
PROFILE_INFO_CPU_CALLBACK and STATE_PROFILE_INFO_CALLBACK instead.
|
2767 |
|
|
(profile_install): Install profile_info function.
|
2768 |
|
|
|
2769 |
|
|
* sim-profile.h (PROFILE_INFO_CPU_CALLBACK,
|
2770 |
|
|
STATE_PROFILE_INFO_CALLBACK): Define.
|
2771 |
|
|
(struct PROFILE_DATA): Add field info_cpu_callback.
|
2772 |
|
|
(profile_print): Delete function.
|
2773 |
|
|
|
2774 |
|
|
* sim-base.h (STATE_MODULES): Define. Replace individual
|
2775 |
|
|
STATE_*_LIST with single struct module_list.
|
2776 |
|
|
|
2777 |
|
|
* sim-module.h (MODULE_INFO_FN, MODULE_INFO_LIST): Declare.
|
2778 |
|
|
(struct module_list): Declare.
|
2779 |
|
|
|
2780 |
|
|
* sim-module.h, sim-module.c (sim_module_add_info_fn,
|
2781 |
|
|
sim_module_info): New functions.
|
2782 |
|
|
(sim_module_install): Clean up module data structures.
|
2783 |
|
|
|
2784 |
|
|
* sim-info.c (sim_info): New file. New function. Call
|
2785 |
|
|
sim_module_info.
|
2786 |
|
|
|
2787 |
|
|
* Make-common.in (sim-info.o): Define rule.
|
2788 |
|
|
(SIM_NEW_COMMON_OBJS): Add sim-info.o.
|
2789 |
|
|
|
2790 |
|
|
|
2791 |
|
|
Fri Feb 27 18:26:16 1998 Doug Evans
|
2792 |
|
|
|
2793 |
|
|
* sim-base.h (sim_cpu_base): New members name, options.
|
2794 |
|
|
(sim_cpu_lookup): Add prototype.
|
2795 |
|
|
* sim-module.c (sim_pre_argv_init): Provide default names for cpus.
|
2796 |
|
|
* sim-options.h (DECLARE_OPTION_HANDLER): New argument `cpu'.
|
2797 |
|
|
(sim_add_option_table): Update prototype.
|
2798 |
|
|
* sim-options.c (sim_add_option_table): New argument `cpu'.
|
2799 |
|
|
(standard_option_handler,standard_install): Update.
|
2800 |
|
|
(sim_parse_args): Handle cpu specific options.
|
2801 |
|
|
(print_help): New static function.
|
2802 |
|
|
(sim_print_help): Call it. Print cpu specific options.
|
2803 |
|
|
(find_match): New static function.
|
2804 |
|
|
(sim_args_command): Call it. Handle cpu specific options.
|
2805 |
|
|
* sim-utils.c (sim_cpu_lookup): New function.
|
2806 |
|
|
* sim-memopt.c (memory_option_handler): Update.
|
2807 |
|
|
(sim_memopt_install): Update.
|
2808 |
|
|
* sim-model.c (model_option_handler): Update.
|
2809 |
|
|
(model_install): Update.
|
2810 |
|
|
* sim-profile.c (profile_option_handler): Update.
|
2811 |
|
|
(profile_install): Update.
|
2812 |
|
|
* sim-trace.c (trace_option_handler): Update.
|
2813 |
|
|
(trace_install): Update.
|
2814 |
|
|
* sim-watch.c (watchpoint_option_handler): Update.
|
2815 |
|
|
(sim_watchpoint_install): Update.
|
2816 |
|
|
* cgen-scache.c (scache_option_handler): Update.
|
2817 |
|
|
(scache_install): Update.
|
2818 |
|
|
|
2819 |
|
|
Wed Feb 25 11:00:26 1998 Doug Evans
|
2820 |
|
|
|
2821 |
|
|
* Make-common.in (check): Run `make check' in testsuite dir.
|
2822 |
|
|
|
2823 |
|
|
Wed Feb 25 14:40:24 1998 Andrew Cagney
|
2824 |
|
|
|
2825 |
|
|
* sim-trace.c (trace_result0): New function.
|
2826 |
|
|
|
2827 |
|
|
* sim-trace.h (TRACE_FP_*, TRACE_FPU_*): Rename TRACE_FPU_*
|
2828 |
|
|
macro's to TRACE_FP_*. TRACE_FPU_* should be defined and used when
|
2829 |
|
|
tracing sim_fpu variables.
|
2830 |
|
|
(TRACE_ALU_RESULT0): Define.
|
2831 |
|
|
(TRACE_FP_RESULT_WORD): Define.
|
2832 |
|
|
(TRACE_FP_INPUT_WORD1): Define.
|
2833 |
|
|
|
2834 |
|
|
* sim-fpu.c, sim-fpu.h (sim_fpu_max32, sim_fpu_max64, sim_fpu_one,
|
2835 |
|
|
sim_fpu_two): New constants.
|
2836 |
|
|
(sim_fpu_op1, sim_fpu_op2): New types.
|
2837 |
|
|
(struct _sim_fpu): Delete member result. Re-order other members.
|
2838 |
|
|
(sim_fpu_sign, sim_fpu_exp): New functions.
|
2839 |
|
|
(sim_fpu_max, sim_fpu_min): new functions.
|
2840 |
|
|
(EXPMAX32, EXPMAX64, NR_PAD32, NR_PAD64, NR_GUARDS32, NR_GUARDS64,
|
2841 |
|
|
NORMAL_EXPMAX32, NORMAL_EXPMAX64): Define.
|
2842 |
|
|
|
2843 |
|
|
Tue Feb 24 22:45:39 1998 Doug Evans
|
2844 |
|
|
|
2845 |
|
|
* sim-profile.c (profile_print): Delete duplicate test of
|
2846 |
|
|
PROFILE_INSN_IDX.
|
2847 |
|
|
(profile_print_pc): Exit early if data collection not set up.
|
2848 |
|
|
(profile_print_core): Simplify by calling sim_core_map_to_str.
|
2849 |
|
|
* sim-core.h (sim_core_map_to_str): Declare.
|
2850 |
|
|
* sim-core.c (sim_core_map_to_str): Make non-static.
|
2851 |
|
|
|
2852 |
|
|
* genmloop.sh (engine_resume): Update insn_count before exiting.
|
2853 |
|
|
(engine_resume_full): Keep accurate core profile data.
|
2854 |
|
|
|
2855 |
|
|
* cgen-utils.c (sim_disassemble_insn): Don't use
|
2856 |
|
|
sim_core_read_aligned_N, it messes up profiling results.
|
2857 |
|
|
|
2858 |
|
|
Mon Feb 23 20:45:57 1998 Mark Alexander
|
2859 |
|
|
|
2860 |
|
|
* nltvals.def: Regenerate with MN10300 additions.
|
2861 |
|
|
|
2862 |
|
|
Tue Feb 24 13:18:42 1998 Andrew Cagney
|
2863 |
|
|
|
2864 |
|
|
* sim-trace.h (TRACE_ALU_RESULT2): Define.
|
2865 |
|
|
|
2866 |
|
|
* sim-trace.h, sim-trace.c (trace_result_word2,
|
2867 |
|
|
trace_input_word4, trace_result_word4): New function.
|
2868 |
|
|
|
2869 |
|
|
Mon Feb 23 13:08:35 1998 Doug Evans
|
2870 |
|
|
|
2871 |
|
|
* cgen-sim.h (SEM_NEXT_PC): New arg `len'.
|
2872 |
|
|
|
2873 |
|
|
* sim-xcat.h: Delete.
|
2874 |
|
|
* cgen-mem.h: Delete inclusion of sim-xcat.h.
|
2875 |
|
|
* cgen-sim.h: Ditto.
|
2876 |
|
|
* sim-alu.h: Replace sim-xcat.h with symcat.h.
|
2877 |
|
|
* sim-n-bits.h: Ditto.
|
2878 |
|
|
* sim-n-core.h: Ditto.
|
2879 |
|
|
* sim-n-endian.h: Ditto.
|
2880 |
|
|
|
2881 |
|
|
Mon Feb 23 13:19:58 1998 Michael Meissner
|
2882 |
|
|
|
2883 |
|
|
* syscall.c (cb_syscall): Handle short reads, and EOF.
|
2884 |
|
|
|
2885 |
|
|
Tue Feb 24 00:29:57 1998 Andrew Cagney
|
2886 |
|
|
|
2887 |
|
|
* sim-trace.c (print_data): case trace_fmt_fp missing break. Use
|
2888 |
|
|
sim_fpu to safely print fp_word values.
|
2889 |
|
|
(print_data): Add trace_fmt_bool and trace_fmt_addr.
|
2890 |
|
|
(trace_result_bool1, trace_result_addr1): New functions.
|
2891 |
|
|
(trace_input_bool1, trace_input_addr1): New functions.
|
2892 |
|
|
|
2893 |
|
|
* sim-trace.h (TRACE_FPU_*): Define.
|
2894 |
|
|
|
2895 |
|
|
Mon Feb 23 13:24:54 1998 Andrew Cagney
|
2896 |
|
|
|
2897 |
|
|
* sim-fpu.h (enum sim_fpu_class): Add sim_fpu_class_denorm.
|
2898 |
|
|
(sim_fpu_fpto, sim_fpu_tofp): Define.
|
2899 |
|
|
|
2900 |
|
|
Fri Feb 20 18:08:51 1998 Andrew Cagney
|
2901 |
|
|
|
2902 |
|
|
* sim-fpu.c (sim_fpu_cmp): New function.
|
2903 |
|
|
|
2904 |
|
|
Wed Feb 18 16:29:21 1998 Doug Evans
|
2905 |
|
|
|
2906 |
|
|
* cgen-utils.h (sim_disassemble_insn): Use CGEN_INSN_BITSIZE
|
2907 |
|
|
instead of abuf->length.
|
2908 |
|
|
* sim-trace.c (trace_options): Have -t only trace a few useful things.
|
2909 |
|
|
(set_trace_option_mask): Renamed from set_trace_options.
|
2910 |
|
|
(set_trace_option): New function.
|
2911 |
|
|
(trace_option_handler): Update calls to set_trace_option{,_mask}.
|
2912 |
|
|
* sim-trace.h (TRACE_USEFUL_MASK): New macro.
|
2913 |
|
|
|
2914 |
|
|
Wed Feb 18 12:42:15 1998 Andrew Cagney
|
2915 |
|
|
|
2916 |
|
|
* sim-basics.h: Declare struct _sim_fpu.
|
2917 |
|
|
|
2918 |
|
|
Tue Feb 17 16:27:46 1998 Andrew Cagney
|
2919 |
|
|
|
2920 |
|
|
* sim-trace.h (TRACE_ALU_INPUT*, TRACE_ALU_RESULT): Define.
|
2921 |
|
|
(trace_prefix, trace_input*, trace_result*): Declare.
|
2922 |
|
|
(trace_one_insn): Change declaration, assume trace_prefix called.
|
2923 |
|
|
(trace_generic): Like trace_one_insn.
|
2924 |
|
|
(TRACE_ALU_IDX, TRACE_*_IDX): Change #define's to enum.
|
2925 |
|
|
(TRACE_alu, TRACE_[a-z]*): Update.
|
2926 |
|
|
|
2927 |
|
|
* sim-trace.c (trace_prefix, trace_input*, trace_result*,
|
2928 |
|
|
trace_insn, save_data, trace_idx_to_str, print_data): New
|
2929 |
|
|
functions.
|
2930 |
|
|
(trace_one_insn): Rewrite.
|
2931 |
|
|
(trace_generic): New function.
|
2932 |
|
|
|
2933 |
|
|
Tue Feb 17 17:27:30 1998 Doug Evans
|
2934 |
|
|
|
2935 |
|
|
* aclocal.m4 (USE_MAINTAINER_MODE): New variable.
|
2936 |
|
|
|
2937 |
|
|
* cgen-sim.h (SEMANTIC_CACHE_FN): Delete.
|
2938 |
|
|
(SEMANTIC_FN): Rewrite declaration.
|
2939 |
|
|
(DECODE): Update type of semantic_fast member.
|
2940 |
|
|
({EX,SEM}_FN_NAME): Have only one version.
|
2941 |
|
|
* sim-base.h (sim_state_base): Delete conditionals surrounding
|
2942 |
|
|
member scache_size.
|
2943 |
|
|
|
2944 |
|
|
Tue Feb 10 18:31:49 1998 Andrew Cagney
|
2945 |
|
|
|
2946 |
|
|
* sim-load.c (sim_load_file): Print LMA/VMA according to value
|
2947 |
|
|
used.
|
2948 |
|
|
|
2949 |
|
|
Tue Feb 10 14:56:23 1998 Ian Carmichael
|
2950 |
|
|
|
2951 |
|
|
* sim-core.c: Add missing prototypes for WITH_DEVICES.
|
2952 |
|
|
Add missing parameters to device_io calls.
|
2953 |
|
|
* sim-core.h: Add missing parameters to device_io calls.
|
2954 |
|
|
|
2955 |
|
|
Mon Feb 9 14:48:37 1998 Doug Evans
|
2956 |
|
|
|
2957 |
|
|
* cgen-sim.h (DECODE): Always use switch for `read' for now.
|
2958 |
|
|
(PAREXEC): Renamed from PARALLEL_EXEC. All uses updated.
|
2959 |
|
|
(SEMANTIC{,_CACHE}_FN): Fix return type.
|
2960 |
|
|
* genmloop.sh (@cpu@_engine_run): Delete `current_state'.
|
2961 |
|
|
(engine_resume): Likewise. Make `engine' volatile. Save copy
|
2962 |
|
|
of cpu pointer in volatile object. Initialize read switch if
|
2963 |
|
|
-parallel.
|
2964 |
|
|
|
2965 |
|
|
Thu Feb 5 13:27:04 1998 Doug Evans
|
2966 |
|
|
|
2967 |
|
|
* cgen-sim.h (EX_FN_NAME): _exc_ -> _ex_.
|
2968 |
|
|
(SEM_INSN): New macro.
|
2969 |
|
|
|
2970 |
|
|
Tue Feb 3 16:31:56 1998 Andrew Cagney
|
2971 |
|
|
|
2972 |
|
|
* sim-run.c (sim_engine_run): Assume IMEM is 32 bit.
|
2973 |
|
|
|
2974 |
|
|
Sun Feb 1 16:47:51 1998 Andrew Cagney
|
2975 |
|
|
|
2976 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
2977 |
|
|
|
2978 |
|
|
Sun Feb 1 16:16:57 1998 Andrew Cagney
|
2979 |
|
|
|
2980 |
|
|
* sim-types.h (fp_word): New type, define according to
|
2981 |
|
|
WITH_TARGET_FLOATING_POINT_BITSIZE.
|
2982 |
|
|
|
2983 |
|
|
* aclocal.m4 (default_sim_floating_point_bitsize): Add
|
2984 |
|
|
configuration of size of floating point registers.
|
2985 |
|
|
|
2986 |
|
|
Sun Feb 1 14:02:31 1998 Andrew Cagney
|
2987 |
|
|
|
2988 |
|
|
* sim-profile.c (profile_print): Only print CPU if other
|
2989 |
|
|
output is going to appear.
|
2990 |
|
|
|
2991 |
|
|
Sat Jan 31 18:15:41 1998 Andrew Cagney
|
2992 |
|
|
|
2993 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
2994 |
|
|
|
2995 |
|
|
Sat Jan 31 18:03:55 1998 Andrew Cagney
|
2996 |
|
|
|
2997 |
|
|
* sim-types.h (address_word): Typedef according to
|
2998 |
|
|
WITH_TARGET_ADDRESS_BITSIZE.
|
2999 |
|
|
(signed_cell, unsigned_cell, natural_cell): Ditto using
|
3000 |
|
|
WITH_TARGET_CELL_BITSIZE.
|
3001 |
|
|
|
3002 |
|
|
* sim-config.h (WITH_TARGET_ADDRESS_BITSIZE): Define.
|
3003 |
|
|
(WITH_TARGET_CELL_BITSIZE): Define.
|
3004 |
|
|
(WITH_HOST_WORD_BITSIZE): Delete.
|
3005 |
|
|
|
3006 |
|
|
* sim-config.c (print_sim_config): Update.
|
3007 |
|
|
|
3008 |
|
|
* aclocal.m4 (SIM_AC_OPTION_BITSIZE): Add support for
|
3009 |
|
|
configuration of address and OpenFirmware cell sizes.
|
3010 |
|
|
|
3011 |
|
|
Fri Jan 30 09:36:33 1998 Andrew Cagney
|
3012 |
|
|
|
3013 |
|
|
* sim-engine.h (sim_engine_run): Add argument nr_cpus.
|
3014 |
|
|
* sim-run.c (sim_engine_run): Update.
|
3015 |
|
|
|
3016 |
|
|
* sim-engine.h (SIM_ENGINE_HALT_HOOK): Use SET_CPU_CIA instead of
|
3017 |
|
|
CPU_CIA.
|
3018 |
|
|
* sim-run.c (sim_engine_run): Ditto.
|
3019 |
|
|
|
3020 |
|
|
* sim-resume.c (sim_resume): Obtain nr_cpus from sim_engine.
|
3021 |
|
|
(sim_resume): Pass nr_cpus to sim_engine_run.
|
3022 |
|
|
|
3023 |
|
|
* sim-engine.h (struct _sim_engine): Add member nr_cpus.
|
3024 |
|
|
|
3025 |
|
|
* sim-engine.c (sim_engine_init): Hardwire nr_cpus to
|
3026 |
|
|
MAX_NR_PROCESSORS.
|
3027 |
|
|
(sim_engine_nr_cpus) sim-engine.c, sim-engine.h: New function
|
3028 |
|
|
|
3029 |
|
|
Fri Jan 23 14:20:54 1998 Doug Evans
|
3030 |
|
|
|
3031 |
|
|
* Make-common.in (stamp-tvals): New rule.
|
3032 |
|
|
(targ-vals.h,targ-map.c): Depend on it.
|
3033 |
|
|
(clean): Remove stamp-tvals.
|
3034 |
|
|
|
3035 |
|
|
Tue Jan 20 21:35:13 1998 Michael Meissner
|
3036 |
|
|
|
3037 |
|
|
* sim-utils.c (sim_state_alloc): #if 0 variable that is only used
|
3038 |
|
|
in code also #if 0'ed.
|
3039 |
|
|
|
3040 |
|
|
Mon Jan 19 22:26:29 1998 Doug Evans
|
3041 |
|
|
|
3042 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
3043 |
|
|
* aclocal.m4: Recognize --enable-maintainer-mode.
|
3044 |
|
|
|
3045 |
|
|
Mon Jan 19 12:45:45 1998 Doug Evans
|
3046 |
|
|
|
3047 |
|
|
* cgen-scache.h: Deleted.
|
3048 |
|
|
* Make-common.in (cgen-run.o,cgen-scache.o): Delete cgen-scache.h dep.
|
3049 |
|
|
* cgen-scache.c: Only compile contents if WITH_SCACHE.
|
3050 |
|
|
(scache_init): Use runtime computed size of SCACHE.
|
3051 |
|
|
(scache_flush): Likewise.
|
3052 |
|
|
* cgen-mem.h (GETIMEMU[QHSD]I): Declare.
|
3053 |
|
|
([GS]ETT{QI,UQI,HI,UHI,SI,USI,DI,UDI}): Declare.
|
3054 |
|
|
* cgen-sim.h: Scache support moved here.
|
3055 |
|
|
(PC): Redo definition.
|
3056 |
|
|
(ARGBUF,SCACHE,PARALLEL_EXEC): Provide forward decls.
|
3057 |
|
|
(DECODE): Add parallel execution support.
|
3058 |
|
|
Only include semantic label members if using switch.
|
3059 |
|
|
(SWITCH,CASE,BREAK,DEFAULT,ENDSWITCH): Portable computed goto support.
|
3060 |
|
|
(CGEN_CPU): Delete members exec_state, halt_sigrc, halt_jmp_buf.
|
3061 |
|
|
(IADDR,CIA,SEM_ARG,EX_FN_NAME,SEM_FN_NAME,RECORD_IADDR,SEM_ARGBUF,
|
3062 |
|
|
SEM_NEXT_PC,SEM_BRANCH_VIA_{CACHE,ADDR},SEM_NEW_PC_ADDR): Moved here
|
3063 |
|
|
from cgen-types.h.
|
3064 |
|
|
(engine_{stop,run,resume,halt,signal}): Delete decls.
|
3065 |
|
|
* cgen-types.h (CGEN_{XCAT3,CAT3}): Delete.
|
3066 |
|
|
(argbuf,scache): Delete forward decls.
|
3067 |
|
|
(STATE): Delete decl.
|
3068 |
|
|
* cgen-utils.c: Don't include decode.h, mem-ops.h, sem-ops.h.
|
3069 |
|
|
Include cgen-mem.h, cgen-ops.h.
|
3070 |
|
|
(engine_halt,engine_signal): Delete.
|
3071 |
|
|
({ex,exc,sem,semc}_illegal): Delete.
|
3072 |
|
|
(sim_disassemble_insn): Result of extract fn is in bits.
|
3073 |
|
|
* genmloop.sh: Rewrite.
|
3074 |
|
|
|
3075 |
|
|
* cgen-trace.c (trace_insn): Set printed_result_p=0 if not tracing
|
3076 |
|
|
line numbers.
|
3077 |
|
|
|
3078 |
|
|
* sim-base.h (sim_state_base): Delete member `model'.
|
3079 |
|
|
(sim_cpu_base): Add member `model'.
|
3080 |
|
|
* sim-model.h (IMP_PROPERTIES): New type.
|
3081 |
|
|
(MACH): New members imp_props, models.
|
3082 |
|
|
(models): Delete decl.
|
3083 |
|
|
* sim-model.c (set_model): Update.
|
3084 |
|
|
* sim-profile.c (profile_print_model): Update.
|
3085 |
|
|
|
3086 |
|
|
* sim-utils.c (sim_state_alloc): Delete setting of cpu backlink here.
|
3087 |
|
|
|
3088 |
|
|
Fri Jan 16 12:33:09 1998 Nick Clifton
|
3089 |
|
|
|
3090 |
|
|
* cgen-trace.c (trace_insn): Call CGEN_INSN_MNEMONIC() rather than
|
3091 |
|
|
CGEN_INSN_SYNTAX().
|
3092 |
|
|
|
3093 |
|
|
Mon Dec 15 23:17:11 1997 Andrew Cagney
|
3094 |
|
|
|
3095 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
3096 |
|
|
* config.in: Ditto.
|
3097 |
|
|
|
3098 |
|
|
Mon Dec 15 23:16:03 1997 Andrew Cagney
|
3099 |
|
|
|
3100 |
|
|
* aclocal.m4 (AR): Check for sigaction.
|
3101 |
|
|
|
3102 |
|
|
Thu Dec 4 09:21:05 1997 Doug Evans
|
3103 |
|
|
|
3104 |
|
|
* Make-common.in (sim-core.o): Depend on $(sim_main_headers).
|
3105 |
|
|
|
3106 |
|
|
* sim-config.h (WITH_TREE_PROPERTIES): Define as 0.
|
3107 |
|
|
* sim-config.c (sim_config): Replace WITH_DEVICES with
|
3108 |
|
|
WITH_TREE_PROPERTIES.
|
3109 |
|
|
|
3110 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
3111 |
|
|
|
3112 |
|
|
Wed Dec 3 17:56:02 1997 Doug Evans
|
3113 |
|
|
|
3114 |
|
|
* Make-common.in (SIM_ENVIRONMENT): New variable.
|
3115 |
|
|
(CONFIG_CFLAGS): Add it.
|
3116 |
|
|
* aclocal.m4 (SIM_AC_OPTION_ENVIRONMENT): Handle
|
3117 |
|
|
--enable-sim-environment option.
|
3118 |
|
|
* configure: Regenerated.
|
3119 |
|
|
* sim-config.h (environment support): Rewrite.
|
3120 |
|
|
* sim-config.c (current_environment): Define as enum, unconditionally.
|
3121 |
|
|
(current_alignment): Define unconditionally.
|
3122 |
|
|
(config_environment_to_a): Update.
|
3123 |
|
|
(config_alignment_to_a): Fix type of argument. Define unconditionally.
|
3124 |
|
|
(sim_config): Handle environment and alignment determination
|
3125 |
|
|
unconditionally. Delete sanity checks of current_environment,
|
3126 |
|
|
unnecessary.
|
3127 |
|
|
(print_sim_config): Update.
|
3128 |
|
|
* sim-options.c (STANDARD_OPTIONS enum): Add OPTION_ENVIRONMENT.
|
3129 |
|
|
(standard_options): Add --environment.
|
3130 |
|
|
(standard_option_handler): Likewise.
|
3131 |
|
|
|
3132 |
|
|
Fri Nov 28 12:21:25 1997 Andrew Cagney
|
3133 |
|
|
|
3134 |
|
|
* sim-alu.h: Add notes on carry vs borrow for subtraction.
|
3135 |
|
|
(ALU{,8,16,32,64}ADD): Redefine ADD macro as add overflowing.
|
3136 |
|
|
(ALU{,8,16,32,64}ADDC): Define - add carrying.
|
3137 |
|
|
(ALU{,8,16,32,64}SUB): Redefine SUB macro as subtract overflowing.
|
3138 |
|
|
(ALU{,8,16,32,64}SUBB): Define - subtract borrowing.
|
3139 |
|
|
(ALU{,8,16,32,64}SUBC): Define - tract carrying.
|
3140 |
|
|
(ALU{,8,16,32,64}ADD_CA, ALU{,8,16,32,64}ADDC_C): Replace single
|
3141 |
|
|
argument ADD_CA macro with two argument ADDC_C - add carrying with
|
3142 |
|
|
carry in.
|
3143 |
|
|
(ALU{,8,16,32,64}SUB_CA, ALU{,8,16,32,64}SUBC_X): Replace single
|
3144 |
|
|
argument SUB_CA macro with two argument SUBC_X - subtract
|
3145 |
|
|
carrying, extended.
|
3146 |
|
|
(ALU{,8,16,32,64}SUBB_B): Define - subtract borrowing with
|
3147 |
|
|
borrow-in.
|
3148 |
|
|
(ALU{,8,16,32,64}NEGC, ALU{,8,16,32,64}NEGB): Define.
|
3149 |
|
|
|
3150 |
|
|
Sun Nov 30 17:40:57 1997 Michael Meissner
|
3151 |
|
|
|
3152 |
|
|
* sim-io.c (sim_io_{syscalls,getstring}): Delete. No longer used.
|
3153 |
|
|
* sim-io.h (sim_io_syscalls): Delete.
|
3154 |
|
|
|
3155 |
|
|
Fri Nov 28 20:10:09 1997 Michael Meissner
|
3156 |
|
|
|
3157 |
|
|
* syscall.c (cb_syscall): Add missing else, so write to stdout
|
3158 |
|
|
isn't doubled.
|
3159 |
|
|
|
3160 |
|
|
* sim-alu.h (ALU{,8,16,32,64}_SET_CARRY): Provide macros to import
|
3161 |
|
|
the carry bit from the CPU's psw.
|
3162 |
|
|
|
3163 |
|
|
Fri Nov 28 11:15:05 1997 Doug Evans
|
3164 |
|
|
|
3165 |
|
|
* gennltvals.sh: Redo syscall support.
|
3166 |
|
|
* nltvals.def: Regenerated.
|
3167 |
|
|
|
3168 |
|
|
Wed Nov 26 16:49:38 1997 Michael Meissner
|
3169 |
|
|
|
3170 |
|
|
* syscall.c (cb_syscall): If writing to stdout or stderr, flush
|
3171 |
|
|
the stream immediately.
|
3172 |
|
|
|
3173 |
|
|
Wed Nov 26 12:32:11 1997 Andrew Cagney
|
3174 |
|
|
|
3175 |
|
|
* sim-io.c (sim_io_getstring): Delete unused len2.
|
3176 |
|
|
(sim_io_syscalls): Ditto for sys_errno.
|
3177 |
|
|
|
3178 |
|
|
Wed Nov 26 11:18:40 1997 Doug Evans
|
3179 |
|
|
|
3180 |
|
|
* syscall.c (cb_syscall): Test CB_SYSCALL struct magic number.
|
3181 |
|
|
|
3182 |
|
|
* Make-common.in (run.o): Depend on remote-sim.h.
|
3183 |
|
|
(nrun.o,sim-hload.o,sim-hrw.o): Likewise.
|
3184 |
|
|
(sim-io.o,sim-reason.o,sim-resume.o): Likewise.
|
3185 |
|
|
|
3186 |
|
|
Tue Nov 25 20:12:46 1997 Michael Meissner
|
3187 |
|
|
|
3188 |
|
|
* sim-io.c (sim_io_syscalls): Disable lseek.
|
3189 |
|
|
|
3190 |
|
|
Tue Nov 25 00:12:38 1997 Doug Evans
|
3191 |
|
|
|
3192 |
|
|
* gennltvals.sh: Generate syscall values for d30v.
|
3193 |
|
|
|
3194 |
|
|
* gennltvals.sh: Use libgloss/syscall.h for sparc.
|
3195 |
|
|
* nltvals.def: Regenerate.
|
3196 |
|
|
|
3197 |
|
|
* callback.c (os_stat): Make 3rd arg a host struct stat ptr.
|
3198 |
|
|
(os_fstat): Likewise. Validate fd argument.
|
3199 |
|
|
(cb_host_to_target_stat): Delete big_p arg. If HS arg is NULL,
|
3200 |
|
|
just compute target stat struct length.
|
3201 |
|
|
* syscall.c: #include "libiberty.h", , .
|
3202 |
|
|
(ENOSYS,ENAMETOOLONG): Provide definitions if missing.
|
3203 |
|
|
(get_string): Return host errno values so they can be properly
|
3204 |
|
|
translated later.
|
3205 |
|
|
(cb_syscall): Likewise.
|
3206 |
|
|
(cb_syscall, cases open,unlink): Use get_path instead of get_string.
|
3207 |
|
|
(cb_syscall, case read): Use read_stdin for file descriptor 0.
|
3208 |
|
|
(cb_syscall, case write): Use write_stderr for file descriptor 2.
|
3209 |
|
|
(cb_syscall): Add cases for lseek, unlink, stat, fstat, time.
|
3210 |
|
|
(get_path): New function.
|
3211 |
|
|
|
3212 |
|
|
Mon Nov 24 18:56:07 1997 Michael Meissner
|
3213 |
|
|
|
3214 |
|
|
* sim-io.c (sim_io_syscalls): New function to provide system call
|
3215 |
|
|
emulation. Provide exit, open, close, read, write, lseek, and
|
3216 |
|
|
unlink.
|
3217 |
|
|
(sim_io_getstring): New function to return a string from a
|
3218 |
|
|
simulated memory location.
|
3219 |
|
|
|
3220 |
|
|
* sim-io.h (sim_io_syscalls): Add declaration.
|
3221 |
|
|
|
3222 |
|
|
Mon Nov 24 12:09:59 1997 Doug Evans
|
3223 |
|
|
|
3224 |
|
|
* sim-core.c (sim_core_signal): Fix spelling error in message.
|
3225 |
|
|
|
3226 |
|
|
* sim-hrw.c (sim_read): Use read map, not write map.
|
3227 |
|
|
|
3228 |
|
|
* Make-common.in (all): Add .gdbinit.
|
3229 |
|
|
* gdbinit.in: Add dump command.
|
3230 |
|
|
|
3231 |
|
|
* sim-model.c (model_options): Use '\0' for `shortopt'.
|
3232 |
|
|
|
3233 |
|
|
* sim-trace.c (trace_option_handler): Set state trace file
|
3234 |
|
|
for --trace-file in addition to cpu's values.
|
3235 |
|
|
(trace_vprintf): If cpu == NULL, try state's trace file.
|
3236 |
|
|
(trace_options): Reorganize table, reword some descriptions.
|
3237 |
|
|
|
3238 |
|
|
Sun Nov 23 10:57:00 1997 Andrew Cagney
|
3239 |
|
|
|
3240 |
|
|
* sim-fpu.c (sim_fpu_abs, sim_fpu_neg, sim_fpu_inv), sim-fpu.h:
|
3241 |
|
|
New functions.
|
3242 |
|
|
|
3243 |
|
|
Sat Nov 22 19:16:54 1997 Andrew Cagney
|
3244 |
|
|
|
3245 |
|
|
* sim-reason.c (sim_stop_reason): For sim_signalled, return the
|
3246 |
|
|
signal untranslated, document problem with this.
|
3247 |
|
|
|
3248 |
|
|
* nrun.c (main): Check for a prog name of `*step'. If present,
|
3249 |
|
|
step the simulator instead of allowing it to run free.
|
3250 |
|
|
|
3251 |
|
|
* sim-signal.c (SIGQUIT): Define on _MSC_VER hosts.
|
3252 |
|
|
|
3253 |
|
|
* Make-common.in (sim_main_headers): Add sim-signal.h.
|
3254 |
|
|
|
3255 |
|
|
Fri Nov 21 09:32:32 1997 Andrew Cagney
|
3256 |
|
|
|
3257 |
|
|
* sim-signal.c (sim_signal_to_host): Return 0 for SIM_SIGNONE.
|
3258 |
|
|
|
3259 |
|
|
Thu Nov 20 20:35:20 1997 Andrew Cagney
|
3260 |
|
|
|
3261 |
|
|
* sim-signal.h: Start simulator signals at 64 so that host signal
|
3262 |
|
|
numbers can be detected and reported.
|
3263 |
|
|
|
3264 |
|
|
* sim-signal.h (SIM_SIGFPE), sim-signal.h: Add signal.
|
3265 |
|
|
|
3266 |
|
|
Wed Nov 19 12:02:41 1997 Doug Evans
|
3267 |
|
|
|
3268 |
|
|
* callback.c (cb_host_to_target_stat): Fix return values.
|
3269 |
|
|
|
3270 |
|
|
* cgen-sim.h (enum_signal_type): Delete.
|
3271 |
|
|
(engine_signal): Update prototype.
|
3272 |
|
|
* cgen-utils.c: Don't include .
|
3273 |
|
|
(sim_signal_to_host): Delete, lives in sim-signal.c now.
|
3274 |
|
|
(engine_signal): Update.
|
3275 |
|
|
|
3276 |
|
|
* sim-utils.c (sim_state_alloc): Call SIM_STATE_ALLOC if defined.
|
3277 |
|
|
(sim_state_free): Call SIM_STATE_FREE if defined.
|
3278 |
|
|
|
3279 |
|
|
* sim-module.c (sim_module_install): Don't leave any modules
|
3280 |
|
|
installed if one fails to install.
|
3281 |
|
|
|
3282 |
|
|
Wed Nov 19 13:25:48 1997 Michael Meissner
|
3283 |
|
|
|
3284 |
|
|
* sim-options.c: Don't include ../libiberty/alloca-conf.h any
|
3285 |
|
|
more, since alloca is not used in this file.
|
3286 |
|
|
|
3287 |
|
|
* sim-alu.h (ALU{32,64}_*): Rewrite 32 and 64 bit ALU support to
|
3288 |
|
|
correctly set the carry and overflow bits for those types.
|
3289 |
|
|
(ALU{8,16,32,64}_{ADD,SUB}_CA): Take VAL argument to add along
|
3290 |
|
|
with carry, so carry is correct after doing both adds.
|
3291 |
|
|
(ALU*): Space out '\' to make it easier to read.
|
3292 |
|
|
|
3293 |
|
|
Tue Nov 18 15:53:45 1997 Doug Evans
|
3294 |
|
|
|
3295 |
|
|
* sim-core.c (sim_core_signal): Use sim_stopped instead of
|
3296 |
|
|
sim_signalled.
|
3297 |
|
|
|
3298 |
|
|
* sim-signal.c, sim-signal.h: New files.
|
3299 |
|
|
* Make-common.in (sim-signal.o): Add rule for.
|
3300 |
|
|
(SIM_NEW_COMMON_OBJS): Add sim-signal.o.
|
3301 |
|
|
* sim-abort.c: Don't include .
|
3302 |
|
|
* sim-basics.h: #include "sim-signal.h".
|
3303 |
|
|
* sim-break.c: Don't include .
|
3304 |
|
|
(sim_handle_breakpoint): Replace SIGTRAP with SIM_SIGTRAP.
|
3305 |
|
|
* sim-core.c: Don't include .
|
3306 |
|
|
(SIGBUS): Delete definition.
|
3307 |
|
|
(sim_core_signal): Replace SIGSEGV,SIGBUS with SIM_SIGSEGV,SIM_SIGBUS.
|
3308 |
|
|
* sim-engine.c: Don't include .
|
3309 |
|
|
(sim_engine_abort): Replace SIGABRT with SIM_SIGABRT.
|
3310 |
|
|
* sim-reason.c (sim_stop_reason): Call sim_signal_to_host.
|
3311 |
|
|
* sim-resume.c: Don't include .
|
3312 |
|
|
(SIGTRAP): Delete definition.
|
3313 |
|
|
(has_stepped): Replace SIGTRAP with SIM_SIGTRAP.
|
3314 |
|
|
* sim-stop.c: Don't include .
|
3315 |
|
|
(control_c_simulation): Replace SIGINT with SIM_SIGINT.
|
3316 |
|
|
* sim-watch.c: Don't include .
|
3317 |
|
|
(handle_watchpoint): Replace SIGINT with SIM_SIGINT.
|
3318 |
|
|
|
3319 |
|
|
* Make-common.in (SIM_NEW_COMMON_OBJS): New variable.
|
3320 |
|
|
|
3321 |
|
|
* sim-base.h (CIA_ADDR): Provide default definition.
|
3322 |
|
|
* sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
|
3323 |
|
|
* sim-break.c (sim_handle_breakpoint): Likewise.
|
3324 |
|
|
|
3325 |
|
|
Mon Nov 17 14:15:31 1997 Doug Evans
|
3326 |
|
|
|
3327 |
|
|
* Make-common.in (srccom): New variable.
|
3328 |
|
|
|
3329 |
|
|
* Make-common.in (DEP, COMMON_DEP_CFLAGS): Define.
|
3330 |
|
|
(LIB_OBJS): Add syscall.o.
|
3331 |
|
|
(gentmap): Pass $(NL_TARGET) to $(CC).
|
3332 |
|
|
(syscall.o): Add rule for.
|
3333 |
|
|
(sim_main_headers): Add $(SIM_EXTRA_DEPS).
|
3334 |
|
|
(sim-bits.o): Depend on $(sim-n-bits_h).
|
3335 |
|
|
(sim-load.o): Depend on callback.h.
|
3336 |
|
|
|
3337 |
|
|
* Make-common.in (cgen-*.o): Update dependencies, mem-ops.h renamed to
|
3338 |
|
|
cgen-mem.h, sem-ops.h renamed to cgen-ops.h.
|
3339 |
|
|
* cgen-mem.h, cgen-ops.h: New files.
|
3340 |
|
|
|
3341 |
|
|
* aclocal.m4 (--enable-sim-scache): Pass -DWITH_SCACHE=0 for "=no".
|
3342 |
|
|
|
3343 |
|
|
* Makefile.in (nltvals.def): Depend on gennltvals.sh.
|
3344 |
|
|
Rewrite build rule.
|
3345 |
|
|
* callback.c: #include string.h or strings.h.
|
3346 |
|
|
#include sys/types.h and sys/stat.h.
|
3347 |
|
|
(cb_init_syscall_map,cb_init_errno_map,cb_init_open_map): Declare.
|
3348 |
|
|
(os_get_errno,os_open): Update.
|
3349 |
|
|
(os_stat,os_fstat): New functions.
|
3350 |
|
|
(os_init): Initialize syscall_map, errno_map, open_map.
|
3351 |
|
|
(default_callback): Add entries for os_stat, os_fstat, syscall_map,
|
3352 |
|
|
errno_map, open_map, signal_map, stat_map.
|
3353 |
|
|
(cb_read_target_syscall_maps): New function.
|
3354 |
|
|
(cb_target_to_host_syscall): New function.
|
3355 |
|
|
(cb_host_to_target_errno): Renamed from host_to_target_errno.
|
3356 |
|
|
(cb_target_to_host_open): Renamed from target_to_host_open.
|
3357 |
|
|
(store): New function.
|
3358 |
|
|
(cb_host_to_target_stat): New function.
|
3359 |
|
|
* syscall.c: New file.
|
3360 |
|
|
* gentmap.c (sys_tdefs): New global.
|
3361 |
|
|
(gen_targ_vals_h): Output target syscall numbers.
|
3362 |
|
|
(gen_targ_map_c): Update. Output target syscall translation map.
|
3363 |
|
|
* gentvals.sh: New first argument `target'. Preface table with
|
3364 |
|
|
#ifdef NL_TARGET_$target if non-null target passed.
|
3365 |
|
|
* gennltvals.sh: New file.
|
3366 |
|
|
* nltvals.def: Regenerated.
|
3367 |
|
|
|
3368 |
|
|
Fri Nov 14 11:33:34 1997 Andrew Cagney
|
3369 |
|
|
|
3370 |
|
|
* sim-n-core.h (sim_core_read_unaligned_N): Return static
|
3371 |
|
|
sim_core_dummy_M.
|
3372 |
|
|
(sim_core_dummy_M): Declare.
|
3373 |
|
|
|
3374 |
|
|
Wed Nov 12 18:16:15 1997 Andrew Cagney
|
3375 |
|
|
|
3376 |
|
|
* sim-core.c (sim_core_signal): Print the address of the
|
3377 |
|
|
instruction.
|
3378 |
|
|
|
3379 |
|
|
Thu Nov 13 11:49:41 1997 Doug Evans
|
3380 |
|
|
|
3381 |
|
|
* sim-base.h (sim_state_base): Move `magic' to end of struct.
|
3382 |
|
|
|
3383 |
|
|
* sim-base.h (sim_state_base): Add member trace_data.
|
3384 |
|
|
(STATE_TRACE_DATA): New macro.
|
3385 |
|
|
* sim-trace.h (TRACE_DEBUG_IDX,TRACE_debug): New macros.
|
3386 |
|
|
({WITH_,}TRACE_DEBUG_P): New macros.
|
3387 |
|
|
(STATE_TRACE_FLAGS,STRACE_P,STRACE_DEBUG_P): New macros.
|
3388 |
|
|
(_sim_cpu): Delete forward reference.
|
3389 |
|
|
(debug_printf): Update.
|
3390 |
|
|
* sim-trace.c (OPTION_TRACE_DEBUG): Define.
|
3391 |
|
|
(trace_options): Add --trace-debug.
|
3392 |
|
|
(set_trace_options): Handle it.
|
3393 |
|
|
(trace_option_handler): Likewise.
|
3394 |
|
|
(trace_install): Init state trace_data struct.
|
3395 |
|
|
(trace_uninstall): Close state trace file.
|
3396 |
|
|
* sim-events.c (ETRACE): Only print source file and line number if
|
3397 |
|
|
--trace-debug.
|
3398 |
|
|
* sim-n-core.h (sim_core_trace_M): Likewise.
|
3399 |
|
|
|
3400 |
|
|
* sim-core.c (sim_core_signal): Add missing "\n" in message.
|
3401 |
|
|
|
3402 |
|
|
1997-11-13 Felix Lee
|
3403 |
|
|
|
3404 |
|
|
* sim-n-core.h (sim_core_read_unaligned_N): illegal empty
|
3405 |
|
|
initializer.
|
3406 |
|
|
* sim-types.h (unsigned128,signed128): fix typo for MSVC.
|
3407 |
|
|
|
3408 |
|
|
Wed Nov 12 12:18:08 1997 Doug Evans
|
3409 |
|
|
|
3410 |
|
|
* aclocal.m4 (SIM_AC_OPTION_SCACHE): Fix typo.
|
3411 |
|
|
|
3412 |
|
|
* Make-common.in (BUILT_SRC_FROM_COMMON): Remove files no longer
|
3413 |
|
|
built this way.
|
3414 |
|
|
(sim-config.o): Remove non-existent $(sim-nconfig_h) dependency.
|
3415 |
|
|
(clean): Don't delete $(BUILT_SRC_FROM_COMMON) if building in
|
3416 |
|
|
source tree.
|
3417 |
|
|
|
3418 |
|
|
Tue Nov 11 13:28:02 1997 Andrew Cagney
|
3419 |
|
|
|
3420 |
|
|
* sim-events.c (sim_events_process): Re-compute the time -
|
3421 |
|
|
update_time_from_event - as each event is processed. Reverses
|
3422 |
|
|
previous change.
|
3423 |
|
|
|
3424 |
|
|
Fri Nov 7 00:37:36 1997 Andrew Cagney
|
3425 |
|
|
|
3426 |
|
|
* callback.c (os_poll_quit): Replace _WIN32 with _MSC_VER.
|
3427 |
|
|
|
3428 |
|
|
Fri Nov 7 00:37:36 1997 Andrew Cagney
|
3429 |
|
|
|
3430 |
|
|
* sim-events.c (sim_events_process): Delete redundant call to
|
3431 |
|
|
update_time_from_event.
|
3432 |
|
|
(sim_events_slip): Always decrement time_from_event.
|
3433 |
|
|
(sim_events_tick, sim_events_deschedule, update_time_from_event):
|
3434 |
|
|
Delete assertion that time_from_event >=0 when work in queue, no
|
3435 |
|
|
longer applicable.
|
3436 |
|
|
|
3437 |
|
|
Thu Nov 6 12:06:46 1997 Andrew Cagney
|
3438 |
|
|
|
3439 |
|
|
* sim-options.c (STANDARD_OPTIONS): Change OPTION_* to an enum.
|
3440 |
|
|
(standard_option_handler): Update.
|
3441 |
|
|
|
3442 |
|
|
* sim-options.h: Clarify documentation.
|
3443 |
|
|
(OPTION_LONG_ONLY_P): Delete definition.
|
3444 |
|
|
(OPTION_VALID_P): Define.
|
3445 |
|
|
|
3446 |
|
|
* sim-options.c (sim_print_help): Allow short only options.
|
3447 |
|
|
(sim_parse_args): Ditto.
|
3448 |
|
|
(sim_args_command): Skip short only options.
|
3449 |
|
|
(sim_parse_args): Allocate space for NUM_OPTS not just 256. Make
|
3450 |
|
|
separate entries for short and long options in the HANDLERS and
|
3451 |
|
|
ORIG_VAL tables.
|
3452 |
|
|
(sim_parse_args): Disable argument permutation.
|
3453 |
|
|
|
3454 |
|
|
Wed Nov 5 13:40:31 1997 Andrew Cagney
|
3455 |
|
|
|
3456 |
|
|
* sim-core.h (DECLARE_SIM_CORE_WRITE_N. DECLARE_SIM_CORE_READ_N):
|
3457 |
|
|
Add argument M, size of data type.
|
3458 |
|
|
(sim_core_read_misaligned_3, sim_core_write_misaligned_3):
|
3459 |
|
|
Declare, ditto for 5, 6 & 7 byte transfers.
|
3460 |
|
|
(sim_core_write_unaligned_1, sim_core_write_unaligned_1): Define
|
3461 |
|
|
as aligned variant.
|
3462 |
|
|
|
3463 |
|
|
* sim-n-core.h (sim_core_trace_M): Rename from
|
3464 |
|
|
sim_core_trace_N. Add nr_bytes argument. Replace transfer argument
|
3465 |
|
|
with transfer type. Print transfer direction. Handle 1 and 2 byte
|
3466 |
|
|
transfers.
|
3467 |
|
|
(sim_core_read_unaligned_N, sim_core_write_unaligned_N): Trace
|
3468 |
|
|
unaligned accesses.
|
3469 |
|
|
(unsigned_M, T2H_M, H2T_M): Rename from unsigned_N, T2H_N, H2T_N.
|
3470 |
|
|
Update all functions.
|
3471 |
|
|
|
3472 |
|
|
* sim-core.c: Generate functions starting with 16 not 1.
|
3473 |
|
|
(sim_core_read_unaligned_3): Generate. Ditto for 3 byte write and
|
3474 |
|
|
all 5, 6 & 7 byte transfers.
|
3475 |
|
|
|
3476 |
|
|
* sim-n-core.h (sim_core_read_misaligned_N,
|
3477 |
|
|
sim_core_write_misaligned_N): Implement.
|
3478 |
|
|
|
3479 |
|
|
Mon Nov 3 15:03:04 1997 Andrew Cagney
|
3480 |
|
|
|
3481 |
|
|
* sim-endian.h (U16_8): Implement
|
3482 |
|
|
|
3483 |
|
|
* sim-endian.c (sim_endian_split_16, sim_endian_join_16): New functions
|
3484 |
|
|
|
3485 |
|
|
* sim-endian.h (VL8_16, VH8_16): Implement.
|
3486 |
|
|
|
3487 |
|
|
* sim-memopt.c (memory_option_handler): Typecast 64bit value to
|
3488 |
|
|
long in printf.
|
3489 |
|
|
(memory_option_handler): Only zalloc modulo bytes when non-zero.
|
3490 |
|
|
(memory_option_handler): Skip comma in alias address list
|
3491 |
|
|
|
3492 |
|
|
Fri Oct 31 13:03:33 1997 Andrew Cagney
|
3493 |
|
|
|
3494 |
|
|
* sim-memopt.c (do_memopt_add, do_memopt_delete): Add level and
|
3495 |
|
|
space params.
|
3496 |
|
|
(parse_size, parse_addr): New functions
|
3497 |
|
|
(memory_option_handler, memory_options): Parse address & size
|
3498 |
|
|
using new functions. Pass level, space, modulo to do_memopt_add &
|
3499 |
|
|
do_memopt_del.
|
3500 |
|
|
|
3501 |
|
|
* sim-memopt.h (struct _sim_memopt): Add level & space fields.
|
3502 |
|
|
|
3503 |
|
|
* sim-core.h (sim_core_arrach, sim_core_detach): Replace
|
3504 |
|
|
`attach_type attach' argument with `unsigned level' argument.
|
3505 |
|
|
Document.
|
3506 |
|
|
|
3507 |
|
|
* sim-core.c (new_sim_core_mapping, sim_core_map_attach,
|
3508 |
|
|
sim_core_attach): Replace argument attach with level. Update
|
3509 |
|
|
verification of arguments.
|
3510 |
|
|
(sim_core_map_detach, sim_core_detach): Replace argument attach
|
3511 |
|
|
with level.
|
3512 |
|
|
|
3513 |
|
|
* sim-basics.h (enum _attach_type): Delete.
|
3514 |
|
|
|
3515 |
|
|
Thu Oct 30 13:45:00 1997 Doug Evans
|
3516 |
|
|
|
3517 |
|
|
* sim-core.h (sim_core_write_8): Define.
|
3518 |
|
|
|
3519 |
|
|
Tue Oct 28 12:29:22 1997 Andrew Cagney
|
3520 |
|
|
|
3521 |
|
|
* sim-bits.h: Document ROTn macro.
|
3522 |
|
|
|
3523 |
|
|
* sim-endian.h (H2T): Handle 16 byte variables.
|
3524 |
|
|
|
3525 |
|
|
* sim-n-core.h (sim_core_read_unaligned_N): Return a dummy when an
|
3526 |
|
|
error.
|
3527 |
|
|
|
3528 |
|
|
* sim-core.c: Do not generate sim_core_*_word.
|
3529 |
|
|
|
3530 |
|
|
* sim-n-core.h (sim_core_trace_N): Add line_nr argument.
|
3531 |
|
|
(sim_core_write_aligned_N, sim_core_read_aligned_N): Update.
|
3532 |
|
|
|
3533 |
|
|
* sim-core.h (sim_core_read_unaligned_word,
|
3534 |
|
|
sim_core_read_aligned_word, sim_core_read_word,
|
3535 |
|
|
sim_core_write_unaligned_word, sim_core_write_aligned_word,
|
3536 |
|
|
sim_core_write_word): Change to macros that map onto sim_core_*_N.
|
3537 |
|
|
|
3538 |
|
|
Mon Oct 27 11:25:10 1997 Doug Evans
|
3539 |
|
|
|
3540 |
|
|
* sim-n-endian.h: Add TAGS entrys for 16 byte versions.
|
3541 |
|
|
|
3542 |
|
|
* sim-endian.h: Disable 16 byte support.
|
3543 |
|
|
|
3544 |
|
|
Mon Oct 27 12:00:48 1997 Andrew Cagney
|
3545 |
|
|
|
3546 |
|
|
* sim-endian.c (_SWAP_16): Define. Generate 126 bit swap code.
|
3547 |
|
|
|
3548 |
|
|
* sim-n-core.h (sim_core_trace_N): New function.
|
3549 |
|
|
(sim_core_read_aligned_N, sim_core_write_aligned_N): Use,
|
3550 |
|
|
(sim_core_read_unaligned_N): Do not retyrn bogus value wden error.
|
3551 |
|
|
|
3552 |
|
|
* sim-endian.h: Add 128 bit variant.
|
3553 |
|
|
|
3554 |
|
|
* sim-core.h, sim-core.c: Add 128 bit variant.
|
3555 |
|
|
|
3556 |
|
|
* sim-types.h: Add signed128 and unsigned128 types using a struct.
|
3557 |
|
|
|
3558 |
|
|
Fri Oct 24 11:33:07 1997 Andrew Cagney
|
3559 |
|
|
|
3560 |
|
|
* sim-events.c (sim_events_process): Clear events->work_pending.
|
3561 |
|
|
(sim_events_tickn, sim_events_tick): Accumulate, instead of
|
3562 |
|
|
setting, nr_ticks_to_process.
|
3563 |
|
|
(sim_events_preprocess): Allow nr_ticks_to_process to be non-zero
|
3564 |
|
|
when the event queue isn't next.
|
3565 |
|
|
|
3566 |
|
|
* sim-events.h, sim-events.c (sim_events_slip): New function.
|
3567 |
|
|
|
3568 |
|
|
Wed Oct 22 14:18:38 1997 Andrew Cagney
|
3569 |
|
|
|
3570 |
|
|
* sim-hload.c (sim_load): Pass lma_p==0 and do_load=sim_load.
|
3571 |
|
|
|
3572 |
|
|
* sim-utils.h, sim-load.c (sim_load_file): Add lma_p and do_load
|
3573 |
|
|
arguments.
|
3574 |
|
|
|
3575 |
|
|
Tue Oct 21 18:37:57 1997 Doug Evans
|
3576 |
|
|
|
3577 |
|
|
* nrun.c (main): Remove useless test of name != NULL.
|
3578 |
|
|
Exit if bfd_openr fails. Call bfd_check_format after bfd_openr.
|
3579 |
|
|
|
3580 |
|
|
Tue Oct 21 10:42:38 1997 Andrew Cagney
|
3581 |
|
|
|
3582 |
|
|
* sim-fpu.c (EXPMAX): Type is unsigned.
|
3583 |
|
|
(MIN_INT, MAX_INT): Type is signed64.
|
3584 |
|
|
(i2fpu): Type of val is signed64.
|
3585 |
|
|
|
3586 |
|
|
Tue Oct 21 10:42:38 1997 Andrew Cagney
|
3587 |
|
|
|
3588 |
|
|
* sim-profile.h (PROFILE_PC_BUCKET_SIZE): Treat a shift of zero as
|
3589 |
|
|
a bucket size of zero.
|
3590 |
|
|
|
3591 |
|
|
* sim-profile.c (OPTION_PROFILE_PC_GRANULARITY,
|
3592 |
|
|
OPTION_PROFILE_PC): Define.
|
3593 |
|
|
(profile_option_handler): Add support for --profile-pc and
|
3594 |
|
|
--profile-pc-granularity options.
|
3595 |
|
|
(profile_pc_init): When possible, compute nr buckets from bucket
|
3596 |
|
|
size.
|
3597 |
|
|
|
3598 |
|
|
* sim-profile.c (profile_pc_init): Align the profile-pc end
|
3599 |
|
|
address with the profile-pc bucket size.
|
3600 |
|
|
|
3601 |
|
|
* sim-profile.h (PROFILE_PC_NR_BUCKETS): Rename PROFILE_PC_SIZE to
|
3602 |
|
|
something less ambiguous.
|
3603 |
|
|
(PROFILE_PC_BUCKET_SIZE): Ditto for PROFILE_PC_SAMPLE_SIZE.
|
3604 |
|
|
|
3605 |
|
|
* sim-profile.c (profile_pc_cleanup): New function. Move
|
3606 |
|
|
profile_pc_uninstall code to here.
|
3607 |
|
|
(profile_pc_uninstall): Call.
|
3608 |
|
|
(profile_pc_init): Call.
|
3609 |
|
|
|
3610 |
|
|
Mon Oct 20 17:23:58 1997 Andrew Cagney
|
3611 |
|
|
|
3612 |
|
|
* sim-profile.c (profile_print_pc): Dump pc profile to dmon.out
|
3613 |
|
|
file using BSD gprof format.
|
3614 |
|
|
|
3615 |
|
|
* sim-bits.h (LSBIT, MSBIT, BIT): Force result to type
|
3616 |
|
|
unsigned_word.
|
3617 |
|
|
(LSBIT8, LSBIT16, LSBIT32, LSBIT64, MSBIT8, MSBIT16, MSBIT32,
|
3618 |
|
|
MSBIT64): Force result to unsignedN.
|
3619 |
|
|
|
3620 |
|
|
Thu Oct 16 11:38:56 1997 Andrew Cagney
|
3621 |
|
|
|
3622 |
|
|
* sim-alu.h (ALU16_BEGIN, ALU32_BEGIN, ALU64_BEGIN): Drop opening
|
3623 |
|
|
brace from macro.
|
3624 |
|
|
(ALU8_BEGIN, ALU8_SET, ALU8_ADD, ALU8_SUB, ALU8_NEGATE): Define.
|
3625 |
|
|
(ALU16_ADD, ALU16_SUB, ALU16_NEGATE): Simplify arrithmetic.
|
3626 |
|
|
(ALU32_ADD, ALU32_SUB, ALU32_NEGATE): Simplify arrithmetic.
|
3627 |
|
|
(ALU64_ADD, ALU64_SUB, ALU64_NEGATE): Simplify arrithmetic.
|
3628 |
|
|
|
3629 |
|
|
Wed Oct 15 09:24:19 1997 Andrew Cagney
|
3630 |
|
|
|
3631 |
|
|
* sim-core.h (struct _sim_core_mapping): Change free_buffer to
|
3632 |
|
|
type void*.
|
3633 |
|
|
|
3634 |
|
|
* sim-core.c (sim_core_uninstall, new_sim_core_mapping,
|
3635 |
|
|
sim_core_map_attach, sim_core_map_detach): Change free_buffer to
|
3636 |
|
|
type void*.
|
3637 |
|
|
(sim_core_attach): Rename buffer_freed to free_buffer, type
|
3638 |
|
|
void*. Ensure that allocated buffer is alligned according to
|
3639 |
|
|
region's address.
|
3640 |
|
|
|
3641 |
|
|
Mon Oct 13 11:34:50 1997 Andrew Cagney
|
3642 |
|
|
|
3643 |
|
|
* sim-alu.h (ALU64_HAD_OVERFLOW): Define.
|
3644 |
|
|
(ALU64_SUB): Define.
|
3645 |
|
|
|
3646 |
|
|
* Make-common.in (all): Build SIM_EXTRA_ALL first.
|
3647 |
|
|
(.gdbinit): Remove dependencies, generate once per build.
|
3648 |
|
|
|
3649 |
|
|
Tue Oct 14 19:20:09 1997 Andrew Cagney
|
3650 |
|
|
|
3651 |
|
|
* sim-n-core.h (sim_core_read_aligned_N,
|
3652 |
|
|
sim_core_write_aligned_N): Make xaddr param type address_word not
|
3653 |
|
|
unsigned_word.
|
3654 |
|
|
|
3655 |
|
|
Fri Oct 3 09:49:18 1997 Andrew Cagney
|
3656 |
|
|
|
3657 |
|
|
* sim-fpu.h, sim-fpu.c: Rewrite. Change sim_fpu object to an
|
3658 |
|
|
unpacked floating point struct. Pass sim_fpu object by reference.
|
3659 |
|
|
Add preliminary support for rounding modes.
|
3660 |
|
|
|
3661 |
|
|
Fri Oct 3 09:28:00 1997 Andrew Cagney
|
3662 |
|
|
|
3663 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
3664 |
|
|
|
3665 |
|
|
Thu Oct 2 19:43:52 1997 Andrew Cagney
|
3666 |
|
|
|
3667 |
|
|
* aclocal.m4 (sim-bitsize): Fix typo, WITH_TARGET_WORD_BITSIZE not
|
3668 |
|
|
WITH_TARGET_BITSIZE.
|
3669 |
|
|
|
3670 |
|
|
Thu Sep 25 23:20:20 1997 Felix Lee
|
3671 |
|
|
|
3672 |
|
|
* sim-profile.c (profile_print_core): label needs empty statement.
|
3673 |
|
|
|
3674 |
|
|
Thu Sep 25 11:20:47 1997 Stu Grossman
|
3675 |
|
|
|
3676 |
|
|
* sim-break.c (sim_set_breakpoint sim_clear_breakpoint): Use ZALLOC
|
3677 |
|
|
and zfree instead of xmalloc and free. Prevents warnings.
|
3678 |
|
|
|
3679 |
|
|
Wed Sep 24 17:38:57 1997 Andrew Cagney
|
3680 |
|
|
|
3681 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
3682 |
|
|
|
3683 |
|
|
Wed Sep 24 17:23:31 1997 Andrew Cagney
|
3684 |
|
|
|
3685 |
|
|
* Make-common.in (SIM_BITSIZE): Assign from configured value.
|
3686 |
|
|
(CONFIG_CFLAGS): Add SIM_BITSIZE.
|
3687 |
|
|
|
3688 |
|
|
* aclocal.m4 (--enable-sim-bitsize): Developer option for
|
3689 |
|
|
controling the bitsize/msb of the target.
|
3690 |
|
|
|
3691 |
|
|
Wed Sep 24 17:41:40 1997 Stu Grossman
|
3692 |
|
|
|
3693 |
|
|
* Make-common.in: New files sim-break.c, sim-break.h.
|
3694 |
|
|
* sim-base.h: Add point to breakpoint list to sim_state_base.
|
3695 |
|
|
* sim-break.c sim-break.h: New modules that implement intrinsic
|
3696 |
|
|
breakpoint support.
|
3697 |
|
|
* sim-module.c: Add breakpoint module.
|
3698 |
|
|
|
3699 |
|
|
Tue Sep 23 00:26:39 1997 Felix Lee
|
3700 |
|
|
|
3701 |
|
|
* sim-events.c (SIM_EVENTS_POLL_RATE): poll more often than once
|
3702 |
|
|
an hour.
|
3703 |
|
|
* sim-n-core.h (WITH_XOR_ENDIAN): MSVC barfs on
|
3704 |
|
|
if (0) { 1 % 0; }
|
3705 |
|
|
* sim-core.c (sim_core_xor_write_buffer): WITH_XOR_ENDIAN + 1.
|
3706 |
|
|
(SIGBUS) define for Windows.
|
3707 |
|
|
* sim-trace.c (trace_printf,debug_printf): added ALMOST_STDC.
|
3708 |
|
|
* sim-resume.c: define SIGTRAP for windows.
|
3709 |
|
|
* sim-xcat.h: use token pasting if ALMOST_STDC.
|
3710 |
|
|
|
3711 |
|
|
Tue Sep 23 11:04:38 1997 Andrew Cagney
|
3712 |
|
|
|
3713 |
|
|
* Make-common.in (SIM_SCACHE, SIM_DEFAULT_MODEL): Assign
|
3714 |
|
|
configured values.
|
3715 |
|
|
(CONFIG_CFLAGS): Add same.
|
3716 |
|
|
|
3717 |
|
|
Mon Sep 22 17:20:27 1997 Felix Lee
|
3718 |
|
|
|
3719 |
|
|
* sim-types.h (SIGNED64): ##i64 when _MSC_VER, not _WIN32.
|
3720 |
|
|
(SIGNED32): use ##i32.
|
3721 |
|
|
|
3722 |
|
|
Tue Sep 23 11:04:38 1997 Andrew Cagney
|
3723 |
|
|
|
3724 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
3725 |
|
|
|
3726 |
|
|
Tue Sep 23 10:07:47 1997 Andrew Cagney
|
3727 |
|
|
|
3728 |
|
|
* aclocal.m4 (sim-endian): Simplify logic determining [default]
|
3729 |
|
|
endian of target.
|
3730 |
|
|
|
3731 |
|
|
* Make-common.in (SIM_WARNINGS, SIM_ALIGNMENT, SIM_ENDIAN,
|
3732 |
|
|
SIM_HOSTENDIAN, SIM_RESERVED_BITS, SIM_ASSERT, SIM_FLOAT,
|
3733 |
|
|
SIM_HARDWARE, SIM_INLINE, SIM_PACKAGES, SIM_REGPARM, SIM_SMP,
|
3734 |
|
|
SIM_STDCALL, SIM_XOR_ENDIAN): Assign configured values.
|
3735 |
|
|
(CONFIG_CFLAGS): Add same.
|
3736 |
|
|
|
3737 |
|
|
* aclocal.m4: Perform AC_SUBST on optional options.
|
3738 |
|
|
|
3739 |
|
|
Mon Sep 22 11:46:20 1997 Andrew Cagney
|
3740 |
|
|
|
3741 |
|
|
* sim-config.h (WITH_DEFAULT_ALIGNMENT): Don't hardwire any alignment.
|
3742 |
|
|
|
3743 |
|
|
* sim-options.c (standard_option_handler): Typo in warning message.
|
3744 |
|
|
|
3745 |
|
|
* sim-base.h (STATE_MODEL): Make conditional on SIM_HAVE_MODEL.
|
3746 |
|
|
|
3747 |
|
|
* sim-profile.c (profile_print_insn): Check 0 .. MAX_INSN for any
|
3748 |
|
|
insn count. Make count conditional on there being a valid
|
3749 |
|
|
INSN_NAME.
|
3750 |
|
|
(profile_pc_init): Make default PC profile frequency an arbitrary
|
3751 |
|
|
256.
|
3752 |
|
|
|
3753 |
|
|
* sim-base.h: Ditto.
|
3754 |
|
|
|
3755 |
|
|
* sim-profile.h (WITH_PROFILE_MODEL_P): Only enable modeling when
|
3756 |
|
|
SIM_HAVE_MODEL.
|
3757 |
|
|
|
3758 |
|
|
* sim-model.h (struct MACH): Depreciate, to be replaced by bfd
|
3759 |
|
|
archure struct.
|
3760 |
|
|
|
3761 |
|
|
Mon Sep 22 11:46:20 1997 Andrew Cagney
|
3762 |
|
|
|
3763 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
3764 |
|
|
|
3765 |
|
|
Mon Sep 22 11:45:00 1997 Andrew Cagney
|
3766 |
|
|
|
3767 |
|
|
* aclocal.m4 (sim_alignment): Simplify logic for selecting the
|
3768 |
|
|
configured alignment.
|
3769 |
|
|
|
3770 |
|
|
Fri Sep 19 17:45:25 1997 Andrew Cagney
|
3771 |
|
|
|
3772 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
3773 |
|
|
|
3774 |
|
|
Fri Sep 19 17:26:14 1997 Andrew Cagney
|
3775 |
|
|
|
3776 |
|
|
* sim-config.c (sim_config): Check for default alignment.
|
3777 |
|
|
|
3778 |
|
|
* sim-options.c (standard_option_handler): Add alignment option.
|
3779 |
|
|
|
3780 |
|
|
* aclocal.m4 (sim_alignment): Allow configuration of hardwired and
|
3781 |
|
|
default alignment requirements on memory accesses.
|
3782 |
|
|
|
3783 |
|
|
Fri Sep 19 11:51:35 1997 Jeffrey A Law (law@cygnus.com)
|
3784 |
|
|
|
3785 |
|
|
* sim-load.c (sim_load_file): Return failure if the executable
|
3786 |
|
|
had no loadable sections.
|
3787 |
|
|
|
3788 |
|
|
Wed Sep 17 13:33:28 1997 Andrew Cagney
|
3789 |
|
|
|
3790 |
|
|
* sim-events.c (ETRACE): Use trace_printf not sim_io_printf for
|
3791 |
|
|
trace output.
|
3792 |
|
|
|
3793 |
|
|
* sim-core.c (sim_core_signal): When bad access halt simulator
|
3794 |
|
|
SIGSEGV / SIGBUS instead of aborting.
|
3795 |
|
|
(signal.h): Include.
|
3796 |
|
|
|
3797 |
|
|
* sim-watch.c (sim_watchpoint_install): Handler for watchpoint
|
3798 |
|
|
options was missing.
|
3799 |
|
|
|
3800 |
|
|
* sim-bits.h (MOVED): Define
|
3801 |
|
|
|
3802 |
|
|
Wed Sep 17 10:33:28 1997 Andrew Cagney
|
3803 |
|
|
|
3804 |
|
|
* sim-alu.h (ALU32_HAD_OVERFLOW): Pacify GCC, Use MSBIT instead of
|
3805 |
|
|
BIT.
|
3806 |
|
|
|
3807 |
|
|
* sim-bits.h (LSBIT, MSBIT): Check for overflow of shift value.
|
3808 |
|
|
|
3809 |
|
|
* sim-bits.c: Add 8 bit versions of bit macros.
|
3810 |
|
|
|
3811 |
|
|
* sim-bits.h: Ditto.
|
3812 |
|
|
|
3813 |
|
|
Tue Sep 16 16:15:16 1997 Andrew Cagney
|
3814 |
|
|
|
3815 |
|
|
* sim-bits.c (LSSEXT, MSSEXT): Replace SEXT.
|
3816 |
|
|
(LSINSERTED, MSINSERTED): Ditto for INSERTED.
|
3817 |
|
|
|
3818 |
|
|
* sim-n-bits.h (MSSEXTn, LSSEXTn): Replace SEXTn.
|
3819 |
|
|
(LSINSERTDn, MSINSERTEDN): Ditto for INSERTEDn.
|
3820 |
|
|
|
3821 |
|
|
* sim-bits.h (SEXT*): Define as MSEXT/LSEXT.
|
3822 |
|
|
(INSERTED*): Ditto for LSINSERTED/MSINSERTED.
|
3823 |
|
|
|
3824 |
|
|
Mon Sep 15 17:36:15 1997 Andrew Cagney
|
3825 |
|
|
|
3826 |
|
|
* aclocal.m4 (SIM_AC_COMMON): Add optional config.h file argument.
|
3827 |
|
|
configure.in: Output to cconfig.h instead of config.h.
|
3828 |
|
|
|
3829 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
3830 |
|
|
|
3831 |
|
|
Mon Sep 15 15:39:28 1997 Andrew Cagney
|
3832 |
|
|
|
3833 |
|
|
* sim-utils.c (sim_analyze_program): Set STATE_ARCHITECTURE from
|
3834 |
|
|
BFD if known.
|
3835 |
|
|
|
3836 |
|
|
Tue Sep 9 21:46:46 1997 Felix Lee
|
3837 |
|
|
|
3838 |
|
|
* callback.c (os_write): divert stdout and stderr to their
|
3839 |
|
|
respective hooks.
|
3840 |
|
|
|
3841 |
|
|
Thu Sep 11 10:08:48 1997 Andrew Cagney
|
3842 |
|
|
|
3843 |
|
|
* sim-profile.c (profile_print_speed): Call
|
3844 |
|
|
sim_events_elapsed_time instead of PROFILE_EXEC_TIME for moment.
|
3845 |
|
|
|
3846 |
|
|
* sim-events.c (sim_events_elapsed_time): New function return nr
|
3847 |
|
|
host MS consumed by the simulator.
|
3848 |
|
|
(sim_watch_valid): Use.
|
3849 |
|
|
|
3850 |
|
|
* sim-module.c (modules): Install sim_events very very early.
|
3851 |
|
|
|
3852 |
|
|
* sim-profile.c (profile_print): Call profile_print_pc.
|
3853 |
|
|
(print_bar):
|
3854 |
|
|
(profile_pc_init): New function, set up processor for PC
|
3855 |
|
|
profiling.
|
3856 |
|
|
(profile_print_pc): New function, print a PC profile.
|
3857 |
|
|
(profile_pc_event): New function, sample PC.
|
3858 |
|
|
|
3859 |
|
|
* sim-profile.h (PROFILE_PC_COUNT, PROFILE_PC_START,
|
3860 |
|
|
PROFILE_PC_END, PROFILE_PC_SHIFT, PROFILE_PC_SAMPLE_SIZE): Add to
|
3861 |
|
|
profile struct.
|
3862 |
|
|
|
3863 |
|
|
* sim-options.c (sim_print_help): Pacify GCC.
|
3864 |
|
|
|
3865 |
|
|
* sim-n-core.h (sim_core_read_aligned_N,
|
3866 |
|
|
sim_core_write_aligned_N): Add un-conditional profile call.
|
3867 |
|
|
(sim_core_read_unaligned_N, sim_core_write_unaligned_N): Add
|
3868 |
|
|
profile call when aligned read/write isn't used.
|
3869 |
|
|
|
3870 |
|
|
* sim-base.h: Include sim-profile, sim-model after sim-core &
|
3871 |
|
|
sim-events allow sim-core to define useful values.
|
3872 |
|
|
|
3873 |
|
|
* sim-profile.c (OPTION_PROFILE_CORE): Define.
|
3874 |
|
|
(profile_option_handler, profile_options): Add support for
|
3875 |
|
|
--profile-core option.
|
3876 |
|
|
(print_bar): Include when core profiling.
|
3877 |
|
|
(profile_print_core): New function, print core profile.
|
3878 |
|
|
|
3879 |
|
|
* sim-config.c (print_sim_config): Print profile status.
|
3880 |
|
|
|
3881 |
|
|
* sim-profile.h (PROFILE_NEXT_IDX, PROFILE_core,
|
3882 |
|
|
WITH_PROFILE_PC_P): Define.
|
3883 |
|
|
(PROFILE_CORE_COUNT): Count each core-map/size separatly.
|
3884 |
|
|
(PROFILE_COUNT_CORE): Define.
|
3885 |
|
|
|
3886 |
|
|
Thu Sep 11 08:44:52 1997 Andrew Cagney
|
3887 |
|
|
|
3888 |
|
|
* sim-watch.c (handle_watchpoint): Pass a char** index into the
|
3889 |
|
|
interrupt_names array as the data.
|
3890 |
|
|
(sim-watch.h): Document.
|
3891 |
|
|
|
3892 |
|
|
Wed Sep 10 16:15:22 1997 Andrew Cagney
|
3893 |
|
|
|
3894 |
|
|
* sim-options.c (sim_print_help): When the doc string is to long
|
3895 |
|
|
word wrap it.
|
3896 |
|
|
|
3897 |
|
|
* sim-watch.c (sim_watchpoint_install): Use option.doc_name so
|
3898 |
|
|
that only the first few the watch options are listed. Generate
|
3899 |
|
|
meanginful usage messages.
|
3900 |
|
|
|
3901 |
|
|
* sim-options.h (struct OPTION): Clarify use of doc_name field
|
3902 |
|
|
|
3903 |
|
|
Wed Sep 10 13:23:24 1997 Andrew Cagney
|
3904 |
|
|
|
3905 |
|
|
* sim-options.c (OPTION_ARCHITECTURE_INFO): New option.
|
3906 |
|
|
(standard_option_handler): Handle --architecture-info.
|
3907 |
|
|
|
3908 |
|
|
Tue Sep 9 21:46:46 1997 Felix Lee
|
3909 |
|
|
|
3910 |
|
|
* sim-core.h (sim_cpu_core): [WITH_XOR_ENDIAN + 1], to avoid
|
3911 |
|
|
illegal zero-sized array.
|
3912 |
|
|
* sim-core.c (sim_core_xor_read_buffer): same.
|
3913 |
|
|
|
3914 |
|
|
Tue Sep 9 11:20:35 1997 Doug Evans
|
3915 |
|
|
|
3916 |
|
|
* nltvals.def: Regenerate.
|
3917 |
|
|
|
3918 |
|
|
Tue Sep 9 02:10:36 1997 Andrew Cagney
|
3919 |
|
|
|
3920 |
|
|
* sim-fpu.c (DP_FRACHIGH2): Define LL using SIGNED64.
|
3921 |
|
|
|
3922 |
|
|
Mon Sep 8 12:22:20 1997 Andrew Cagney
|
3923 |
|
|
|
3924 |
|
|
* sim-bits.c (MASKED): Delete.
|
3925 |
|
|
(EXTRACTED): Delete.
|
3926 |
|
|
(LSEXTRACTED, MSEXTRACTED): New functions.
|
3927 |
|
|
|
3928 |
|
|
* sim-n-bits.h (MASKEDn): Delete, define as MSMASKED or LSMASKED.
|
3929 |
|
|
(MSMASKEDn, LSMASKEDn): Add last argument.
|
3930 |
|
|
(MSMASK*): Ditto.
|
3931 |
|
|
|
3932 |
|
|
* sim-bits.h (EXTEND8, EXTEND16): Define.
|
3933 |
|
|
(EXTRACTED64): Define as 64 bit extract, not 32 bit.
|
3934 |
|
|
|
3935 |
|
|
* sim-run.c (sim_engine_run): Use CPU_CIA macro.
|
3936 |
|
|
|
3937 |
|
|
* sim-engine.h (SIM_ENGINE_HALT_HOOK): Use CPU_CIA to get at
|
3938 |
|
|
current instruction address.
|
3939 |
|
|
|
3940 |
|
|
* sim-inline.h (*_ENGINE): Define.
|
3941 |
|
|
|
3942 |
|
|
Fri Sep 5 08:39:02 1997 Andrew Cagney
|
3943 |
|
|
|
3944 |
|
|
* sim-core.c (sim_core_attach): Fix checks of modulo/mask.
|
3945 |
|
|
|
3946 |
|
|
* sim-watch.c (delete_watchpoint): Delete by ident and type.
|
3947 |
|
|
(watch_option_handler): Call delete_watchpoint with ident or type.
|
3948 |
|
|
(sim_watchpoint_install): Create interrupt specific watchpoint
|
3949 |
|
|
commands on the fly.
|
3950 |
|
|
(do_watchpoint_create): New function, create a watch point using
|
3951 |
|
|
type/int-nr info encoded in the option nr.
|
3952 |
|
|
(do_watchpoint_info): New function. List active watchpoints.
|
3953 |
|
|
|
3954 |
|
|
* sim-watch.h: Change data structure to a list.
|
3955 |
|
|
|
3956 |
|
|
* sim-memopt.c (memory_option_handler): Require explicit "all"
|
3957 |
|
|
before deleting all memory regions.
|
3958 |
|
|
|
3959 |
|
|
* sim-utils.c (sim_do_commandf): New function, printf version of
|
3960 |
|
|
sim_do_command.
|
3961 |
|
|
|
3962 |
|
|
* sim-basics.h (asprintf, vasprintf): Hack, define for CYGWIN32.
|
3963 |
|
|
|
3964 |
|
|
* sim-alu.h (ALU64_ADD): Use explicit MSEXTRACTED64, do not assume
|
3965 |
|
|
bit endianness.
|
3966 |
|
|
(SIGNED64, UNSIGNED64): Delete.
|
3967 |
|
|
(ALU64_ADD): Don't rely on bit endianness.
|
3968 |
|
|
(ALU64_BEGIN): Define.
|
3969 |
|
|
|
3970 |
|
|
* sim-n-bits.h (MSEXTRACTEDn, LSEXTRACTED): New functions.
|
3971 |
|
|
(EXTRACTEDn): Delete, define as either LSEXTRACTED or MSEXTRACTED.
|
3972 |
|
|
|
3973 |
|
|
* sim-types.h (SIGNED64, UNSIGNED64): New macros, attach relevant
|
3974 |
|
|
suffix - u64, LL - to 64 bit constants.
|
3975 |
|
|
|
3976 |
|
|
Thu Sep 4 09:27:54 1997 Andrew Cagney
|
3977 |
|
|
|
3978 |
|
|
* sim-config.c (sim_config): Add assert for SIM_MAGIC_NUMBER.
|
3979 |
|
|
|
3980 |
|
|
* sim-utils.h (NZALLOC): Define - zalloc * N.
|
3981 |
|
|
|
3982 |
|
|
* sim-hrw.c (sim_read, sim_write): New file. Provide generic
|
3983 |
|
|
implementation of read/write functions.
|
3984 |
|
|
|
3985 |
|
|
* Make-common.in (sim-hrw.o): New target.
|
3986 |
|
|
|
3987 |
|
|
* sim-base.h (STATE_MEMOPT_P): Delete, simulators _always_ add
|
3988 |
|
|
memory.
|
3989 |
|
|
|
3990 |
|
|
* sim-memopt.c (memory_option_handler): Implement memory-size
|
3991 |
|
|
command. Implement memory-alias command. Let memory-delete delete
|
3992 |
|
|
all memory regions.
|
3993 |
|
|
(add_memopt): New function. Add a memory region.
|
3994 |
|
|
(do_memopt_delete): New function. Delete a memory region.
|
3995 |
|
|
|
3996 |
|
|
* sim-utils.c (sim_elapsed_time_get): Never return zero.
|
3997 |
|
|
|
3998 |
|
|
* sim-core.c (sim_core_detach): New function.
|
3999 |
|
|
(sim_core_map_detach): New function. Perform the actual detach.
|
4000 |
|
|
(sim_core_init): Move initialization code from here.
|
4001 |
|
|
(sim_core_install): To here.
|
4002 |
|
|
(sim_core_uninstall): And here.
|
4003 |
|
|
|
4004 |
|
|
* sim-module.c: Add memopt module.
|
4005 |
|
|
|
4006 |
|
|
* sim-base.h (STATE_MEMOPT, STATE_MEMOPT_P): Add memopt to
|
4007 |
|
|
simulator base type.
|
4008 |
|
|
|
4009 |
|
|
* Make-common.in (sim_main_headers): Add sim-memopt.h
|
4010 |
|
|
(sim-memopt.o): New target.
|
4011 |
|
|
|
4012 |
|
|
* sim-core.c (sim_core_install): Add core_options to the option
|
4013 |
|
|
table.
|
4014 |
|
|
|
4015 |
|
|
* sim-watch.c (watch_options): Make --delete-watch a synonym for
|
4016 |
|
|
--watch-delete.
|
4017 |
|
|
|
4018 |
|
|
* sim-config.h (WITH_MODULO_MEMORY): Define as 0. Update
|
4019 |
|
|
comments.
|
4020 |
|
|
|
4021 |
|
|
* sim-core.h (struct _sim_core_mapping): Change nr_bytes to type
|
4022 |
|
|
address_word, add mask member.
|
4023 |
|
|
|
4024 |
|
|
* sim-core.h, sim-core.c (sim_core_attach): Make nr_bytes of type
|
4025 |
|
|
address_word, allow for 64bit targets in 32bit host. Add modulo
|
4026 |
|
|
argument.
|
4027 |
|
|
(sim_core_map_attach): Ditto.
|
4028 |
|
|
(new_sim_core_mapping): Ditto.
|
4029 |
|
|
(sim_core_translate): Mask address when modulo memory.
|
4030 |
|
|
|
4031 |
|
|
Wed Sep 3 17:32:54 1997 Doug Evans
|
4032 |
|
|
|
4033 |
|
|
* sim-hload.c (sim_load): Add assert for SIM_MAGIC_NUMBER.
|
4034 |
|
|
|
4035 |
|
|
* gdbinit.in: New file.
|
4036 |
|
|
* aclocal.m4 (SIM_AC_OUTPUT): Build .gdbinit.
|
4037 |
|
|
* Make-common.in (distclean): Delete .gdbinit.
|
4038 |
|
|
(.gdbinit): Add rule for.
|
4039 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
4040 |
|
|
|
4041 |
|
|
* Make-common.in (cgen-run.o): Add rule for.
|
4042 |
|
|
|
4043 |
|
|
Wed Sep 3 10:08:21 1997 Andrew Cagney
|
4044 |
|
|
|
4045 |
|
|
* sim-resume.c (sim_resume): Suspend/resume the simulator.
|
4046 |
|
|
|
4047 |
|
|
* sim-events.c (sim_watch_valid): Compute total elapsed time from
|
4048 |
|
|
both resumed and previous elapsed time.
|
4049 |
|
|
(sim_events_init): Set initial_wallclock and current_wallclock to
|
4050 |
|
|
zero.
|
4051 |
|
|
(sim_events_install): Install sim_events_suspend and
|
4052 |
|
|
sim_events_resume.
|
4053 |
|
|
(sim_events_watch_clock): Allow for suspended simulator when
|
4054 |
|
|
computing the time of the clock event.
|
4055 |
|
|
|
4056 |
|
|
* sim-events.h (struct _sim_event): Add resume_wallclock, rename
|
4057 |
|
|
initial_wallclock to elapsed_wallclock, set both to zero.
|
4058 |
|
|
(sim_events_init, sim_events_uninstall): Delete prototypes.
|
4059 |
|
|
|
4060 |
|
|
* sim-module.h (MODULE_SUSPEND_FN, MODULE_RESUME_FN): Define types.
|
4061 |
|
|
|
4062 |
|
|
* sim-module.c(sim_module_resume, sim_module_suspend): New
|
4063 |
|
|
functions.
|
4064 |
|
|
|
4065 |
|
|
Wed Sep 3 10:08:21 1997 Andrew Cagney
|
4066 |
|
|
|
4067 |
|
|
* sim-core.c (sim_core_map_attach): Clarify memory overlap error
|
4068 |
|
|
message.
|
4069 |
|
|
|
4070 |
|
|
Tue Sep 2 14:57:06 1997 Doug Evans
|
4071 |
|
|
|
4072 |
|
|
* Makefile.in (TAGS): Add support for "/* TAGS: foo */" marker.
|
4073 |
|
|
* Make-common.in (TAGS): Likewise.
|
4074 |
|
|
* sim-n-bits.h: Add TAGS comments for all functions.
|
4075 |
|
|
* sim-n-core.h: Likewise.
|
4076 |
|
|
* sim-n-endian.h: Likewise.
|
4077 |
|
|
|
4078 |
|
|
Mon Sep 1 10:50:11 1997 Andrew Cagney
|
4079 |
|
|
|
4080 |
|
|
* sim-utils.c (sim_state_alloc): Set CPU backlinks, callback and
|
4081 |
|
|
kind.
|
4082 |
|
|
|
4083 |
|
|
* sim-base.h (sim_state_alloc): Add callback and kind arguments.
|
4084 |
|
|
|
4085 |
|
|
* sim-base.h (INVALID_INSTRUCTION_ADDRESS): Add default
|
4086 |
|
|
definition.
|
4087 |
|
|
|
4088 |
|
|
Sat Aug 30 09:47:21 1997 Andrew Cagney
|
4089 |
|
|
|
4090 |
|
|
* sim-fpu.c (DP_GARDMSB, ...): Make unsigned.
|
4091 |
|
|
(DP_FRACHIGH, DP_FRACHIGH2, ..): Use MSMASK to avoid LL.
|
4092 |
|
|
|
4093 |
|
|
Fri Aug 29 13:37:44 1997 Andrew Cagney
|
4094 |
|
|
|
4095 |
|
|
* sim-core.c (sim_core_map_attach): Cast attach enum to int.
|
4096 |
|
|
(sim_core_xor_read_buffer, sim_core_xor_write_buffer): Make
|
4097 |
|
|
nr_transfered and nr_this_transfer unsigned.
|
4098 |
|
|
|
4099 |
|
|
* sim-events.c (sim_events_tickn): N is signed, as limited to
|
4100 |
|
|
MAXINT.
|
4101 |
|
|
|
4102 |
|
|
* sim-n-endian.h (offset_N): Change size to unsigned.
|
4103 |
|
|
|
4104 |
|
|
* callback.c (os_poll_quit): Add prototypes for kbhit and getkey.
|
4105 |
|
|
|
4106 |
|
|
Fri Aug 29 10:10:53 1997 Andrew Cagney
|
4107 |
|
|
|
4108 |
|
|
* sim-utils.c (sim_copy_argv): Delete, replaced by dupargv.
|
4109 |
|
|
|
4110 |
|
|
* sim-options.c (sim_parse_args): Use dupargv.
|
4111 |
|
|
|
4112 |
|
|
Thu Aug 28 10:36:34 1997 Doug Evans
|
4113 |
|
|
|
4114 |
|
|
* sim-options.c (standard_option_handler): Use xstrdup, not strdup.
|
4115 |
|
|
|
4116 |
|
|
Thu Aug 28 12:09:15 1997 Andrew Cagney
|
4117 |
|
|
|
4118 |
|
|
* sim-base.h (STATE_ARCHITECTURE, STATE_TARGET): Add to simulator
|
4119 |
|
|
base type.
|
4120 |
|
|
|
4121 |
|
|
* sim-options.c (standard_options): Add --architecture=MACHINE and
|
4122 |
|
|
--target=TARGET options.
|
4123 |
|
|
(OPTION_ARCHITECTURE, OPTION_TARGET): Define.
|
4124 |
|
|
(standard_option_handler): Handle architecture and target options.
|
4125 |
|
|
(bfd.h): Include.
|
4126 |
|
|
|
4127 |
|
|
* sim-utils.c (sim_analyze_program): Pass STATE_TARGET to
|
4128 |
|
|
bfd_openr.
|
4129 |
|
|
(sim_analyze_program): Set prog_bfd architecture from
|
4130 |
|
|
STATE_ARCHITECTURE if known.
|
4131 |
|
|
|
4132 |
|
|
Wed Aug 27 18:13:22 1997 Andrew Cagney
|
4133 |
|
|
|
4134 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
4135 |
|
|
* config.in: Ditto.
|
4136 |
|
|
|
4137 |
|
|
Wed Aug 27 18:11:30 1997 Andrew Cagney
|
4138 |
|
|
|
4139 |
|
|
* aclocal.m4 (enable-sim-warnings): Remove comment stating
|
4140 |
|
|
that option does not apply to certain files.
|
4141 |
|
|
|
4142 |
|
|
Wed Aug 27 15:13:04 1997 Andrew Cagney
|
4143 |
|
|
|
4144 |
|
|
* sim-bits.h (LSBIT8, LSBIT16, LSBIT32, LSBIT64, LSBIT, MSBIT8,
|
4145 |
|
|
MSBIT16, MSBIT32, MSBIT64, MSBIT): New macros - single bit as
|
4146 |
|
|
offset from MSB/LSB.
|
4147 |
|
|
|
4148 |
|
|
* sim-endian.h (A1_8, A2_8, A4_8, A1_4, A2_4, A1_2): New macro,
|
4149 |
|
|
access address of sub word quantity of a hosts 16, 32, 64 bit word
|
4150 |
|
|
type.
|
4151 |
|
|
(V1_2, V1_4, V2_4, V1_8, V2_8, V4_8): Ditto for values.
|
4152 |
|
|
(U8_1, U8_2, U8_4, U4_1, U4_2, U2_1): Ditto for set of values.
|
4153 |
|
|
(V2_H1, V2_L1, V4_H2, V4_L2, V8_L4, V8_H4): Given N byte argument,
|
4154 |
|
|
return N*2 byte value with argument in Hi/Lo word. Renamed from
|
4155 |
|
|
V1_H2, V1_L2, V2_H4, V2_L4, V4_H8, V4_L8.
|
4156 |
|
|
|
4157 |
|
|
* sim-alu.h (ALU32_HAD_OVERFLOW): Use 64 bit mask not 32bit.
|
4158 |
|
|
(ALU16_HAD_CARRY, ALU32_HAD_CARRY, ALU16_HAD_OVERFLOW): Use MSBIT
|
4159 |
|
|
so that bit offset is explicit.
|
4160 |
|
|
|
4161 |
|
|
Wed Aug 27 11:55:35 1997 Andrew Cagney
|
4162 |
|
|
|
4163 |
|
|
* sim-utils.c (sim_analyze_program): Add prog_name argument.
|
4164 |
|
|
Update STATE_PROG_BFD when needed with a dup'd copy of the
|
4165 |
|
|
program.
|
4166 |
|
|
|
4167 |
|
|
* sim-config.c (sim_config): Delete ABFD argument, use
|
4168 |
|
|
STATE_PROG_BFD directly.
|
4169 |
|
|
|
4170 |
|
|
Tue Aug 26 12:55:26 1997 Andrew Cagney
|
4171 |
|
|
|
4172 |
|
|
* run.c (main): Pass the open ABFD to sim_create_inferior.
|
4173 |
|
|
|
4174 |
|
|
* nrun.c (main): Determine prog_bfd. Pass to sim_create_inferior
|
4175 |
|
|
and sim_load.
|
4176 |
|
|
(bfd.h): Include.
|
4177 |
|
|
|
4178 |
|
|
* sim-hload.c (sim_load): New file. Implement generic sim_load for
|
4179 |
|
|
hardware only simulator targets.
|
4180 |
|
|
|
4181 |
|
|
* Make-common.in (sim-hload.o): Add rule.
|
4182 |
|
|
|
4183 |
|
|
Wed Aug 27 09:51:42 1997 Andrew Cagney
|
4184 |
|
|
|
4185 |
|
|
* sim-utils.c (sim_copy_argv): Rewrite to match malloc strategy
|
4186 |
|
|
used by copyargv and freeargv.
|
4187 |
|
|
|
4188 |
|
|
* sim-options.c (sim_parse_args): Save a copy of PROG-ARGS in
|
4189 |
|
|
STATE_PROG_ARGV, not just a pointer.
|
4190 |
|
|
|
4191 |
|
|
Mon Aug 25 17:50:22 1997 Andrew Cagney
|
4192 |
|
|
|
4193 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
4194 |
|
|
* config.in: Ditto.
|
4195 |
|
|
|
4196 |
|
|
Mon Aug 25 12:11:06 1997 Andrew Cagney
|
4197 |
|
|
|
4198 |
|
|
* aclocal.m4 (sim-endian): Add second argument to
|
4199 |
|
|
SIM_AC_OPTION_ENDIAN. First is hardwired endian, second is
|
4200 |
|
|
default endian when not hardwired.
|
4201 |
|
|
|
4202 |
|
|
* sim-config.h (WITH_DEFAULT_TARGET_BYTE_ORDER): New macro, if all
|
4203 |
|
|
else failes value for target byte order.
|
4204 |
|
|
|
4205 |
|
|
* sim-config.c (sim_config): Add abfd arguments. Set
|
4206 |
|
|
STATE_PROG_BFD accordingly. Determine prefered_target_byte_order
|
4207 |
|
|
from same.
|
4208 |
|
|
(sim_config): Return SIM_RC, don't abort.
|
4209 |
|
|
(bfd.h): Include.
|
4210 |
|
|
|
4211 |
|
|
* run.c (main): Update call to sim_open - add ABFD argument.
|
4212 |
|
|
* nrun.c (main): Add NULL ABFD argument.
|
4213 |
|
|
|
4214 |
|
|
Thu Aug 14 12:48:57 1997 Doug Evans
|
4215 |
|
|
|
4216 |
|
|
* callback.c (os_poll_quit): Make static.
|
4217 |
|
|
Call sim_cb_eprintf, not p->eprintf.
|
4218 |
|
|
(sim_cb_printf, sim_cb_eprintf): New functions.
|
4219 |
|
|
* sim-utils.h (sim_cb_printf, sim_cb_eprintf): Declare.
|
4220 |
|
|
|
4221 |
|
|
* sim-basics.h (zalloc,zfree,sim_add_commas,SIM_ELAPSED_TIME,
|
4222 |
|
|
sim_elapsed_time_get,sim_elapsed_time_since): Move decls to
|
4223 |
|
|
sim-utils.h. #include sim-utils.h.
|
4224 |
|
|
* sim-utils.h: Above decls moved here.
|
4225 |
|
|
(sim_analyze_program,sim_load_file): Use `struct _bfd', not `bfd'.
|
4226 |
|
|
|
4227 |
|
|
* sim-watch.c (action_watchpoint): Fix thinkos.
|
4228 |
|
|
|
4229 |
|
|
Thu Jul 24 08:48:05 1997 Stu Grossman (grossman@critters.cygnus.com)
|
4230 |
|
|
|
4231 |
|
|
* sim-types.h: Fix defs of 64 bit data types for MSVC.
|
4232 |
|
|
|
4233 |
|
|
Tue Jul 22 10:35:37 1997 Doug Evans
|
4234 |
|
|
|
4235 |
|
|
* sim-n-core.h (sim_core_write_unaligned_N): Add missing break
|
4236 |
|
|
to FORCED_ALIGNMENT case.
|
4237 |
|
|
|
4238 |
|
|
Thu Jun 5 13:48:37 1997 Andrew Cagney
|
4239 |
|
|
|
4240 |
|
|
* callback.c (target_to_host_open): Handle hosts with O_BINARY.
|
4241 |
|
|
|
4242 |
|
|
Thu Jun 5 08:47:10 1997 Jeffrey A Law (law@cygnus.com)
|
4243 |
|
|
|
4244 |
|
|
* Make-common.in (libsim.a): Fix typo.
|
4245 |
|
|
|
4246 |
|
|
Thu Jun 5 13:48:37 1997 Andrew Cagney
|
4247 |
|
|
|
4248 |
|
|
* nrun.c (main): Verify the structure returned before using it.
|
4249 |
|
|
|
4250 |
|
|
Wed Jun 4 11:44:06 1997 Andrew Cagney
|
4251 |
|
|
|
4252 |
|
|
* sim-config.h (WITH_ENGINE): Enable the sim-engine module by
|
4253 |
|
|
default.
|
4254 |
|
|
|
4255 |
|
|
* sim-engine.c (sim_engine_install): New function. Install the
|
4256 |
|
|
engine init functions.
|
4257 |
|
|
(sim_engine_init): [Re]initialize the simulator engine.
|
4258 |
|
|
|
4259 |
|
|
* sim-module.c: Add sim_engine to list of modules that always
|
4260 |
|
|
install.
|
4261 |
|
|
|
4262 |
|
|
Tue Jun 3 04:52:04 1997 Andrew Cagney
|
4263 |
|
|
|
4264 |
|
|
* sim-watch.c (schedule_watchpoint): Use sim_unschedule_watchpoint
|
4265 |
|
|
to remove the old watchpoint, not delete_watchpoint.
|
4266 |
|
|
(watch_option_handler): Action the correct watchpoint, not just
|
4267 |
|
|
cycles.
|
4268 |
|
|
|
4269 |
|
|
Wed May 28 14:47:41 1997 Andrew Cagney
|
4270 |
|
|
|
4271 |
|
|
* sim-n-core.h (sim_core_write_aligned_N): For 8byte reads, output
|
4272 |
|
|
both low and high word.
|
4273 |
|
|
(sim_core_write_aligned_N): Ditto.
|
4274 |
|
|
|
4275 |
|
|
* sim-trace.c (set_trace_options): Delete code explicitly setting
|
4276 |
|
|
core->trace.
|
4277 |
|
|
|
4278 |
|
|
* sim-options.c (sim_print_help): Call the list commands if not a
|
4279 |
|
|
standalone simulator.
|
4280 |
|
|
(sim_print_help): Advise that some options may not be applicable.
|
4281 |
|
|
|
4282 |
|
|
* sim-trace.c (set_trace_options): Assume core present.
|
4283 |
|
|
|
4284 |
|
|
* sim-events.c (sim_events_schedule_after_signal): Overflow signal
|
4285 |
|
|
buffer when full not almost full.
|
4286 |
|
|
|
4287 |
|
|
Tue May 27 14:32:00 1997 Andrew Cagney
|
4288 |
|
|
|
4289 |
|
|
* sim-events.c (sim_events_process): Don't blat the event queue
|
4290 |
|
|
when processing watchpoints.
|
4291 |
|
|
|
4292 |
|
|
* sim-watch.h: Make arg unsigned long - stop sign extension.
|
4293 |
|
|
|
4294 |
|
|
* sim-events.c (sim_watch_valid): rewrite so debugable.
|
4295 |
|
|
|
4296 |
|
|
* sim-config.h (WITH_XOR_ENDIAN): Default to zero.
|
4297 |
|
|
|
4298 |
|
|
* sim-watch.c (schedule_watchpoint): Add is_within option so that
|
4299 |
|
|
inequality test is possible.
|
4300 |
|
|
(handle_watchpoint): Re-pass is_within arg.
|
4301 |
|
|
(watch_option_handler): When `!' prefix to pc-watchpoint arg pass
|
4302 |
|
|
|
4303 |
|
|
(sim_watchpoint_init): Re-pass is_within arg.
|
4304 |
|
|
|
4305 |
|
|
* sim-options.c (sim_print_help): Add is_command argument. Don't
|
4306 |
|
|
include -- prefix when called from the command line interpreter.
|
4307 |
|
|
|
4308 |
|
|
* sim-watch.c (schedule_watchpoint): Pass true is_within argument.
|
4309 |
|
|
|
4310 |
|
|
* sim-events.c (sim_events_watch_sim): Add is_within argument,
|
4311 |
|
|
zero indicates that the test should be reversed.
|
4312 |
|
|
(sim_events_watch_core): Ditto.
|
4313 |
|
|
(WATCH_CORE): Compare range against is_within.
|
4314 |
|
|
(WATCH_SIM): Ditto.
|
4315 |
|
|
|
4316 |
|
|
Tue May 27 12:48:03 1997 Andrew Cagney
|
4317 |
|
|
|
4318 |
|
|
* sim-events.c (WATCH_CORE): Pass NULL cpu argument to
|
4319 |
|
|
sim_core_read_buffer. Check nr-bytes transfered.
|
4320 |
|
|
|
4321 |
|
|
* sim-core.h (sim_core_common): Define a new struct that contains
|
4322 |
|
|
the common data. to sd and cpu structures.
|
4323 |
|
|
* sim-core.c (sim_core_attach): Update.
|
4324 |
|
|
(sim_core_init): Update. Remember to copy initialized data to each
|
4325 |
|
|
cpu.
|
4326 |
|
|
(sim_core_find_mapping): Ditto.
|
4327 |
|
|
|
4328 |
|
|
* sim-core.c (sim_core_read_buffer): Add cpu argument.
|
4329 |
|
|
(sim_core_write_buffer): Ditto.
|
4330 |
|
|
|
4331 |
|
|
* sim-n-core.h (sim_core_read_unaligned_N): When mis-aligned
|
4332 |
|
|
transfer use xor version of read buffer.
|
4333 |
|
|
(sim_core_write_unaligned_N): Ditto for write.
|
4334 |
|
|
|
4335 |
|
|
* sim-core.c (sim_core_xor_read_buffer): New function implement
|
4336 |
|
|
xor-endian data read breaking transfer up into xor-endian sized
|
4337 |
|
|
blocks.
|
4338 |
|
|
(sim_core_xor_write_buffer): Ditto for write.
|
4339 |
|
|
(reverse_n): Reverse order of arbitrary number of bytes in buffer
|
4340 |
|
|
- needed for xor-endian transfers.
|
4341 |
|
|
|
4342 |
|
|
Fri May 23 14:24:31 1997 Andrew Cagney
|
4343 |
|
|
|
4344 |
|
|
* sim-inline.h: Review description.
|
4345 |
|
|
|
4346 |
|
|
* sim-core.h, sim-core.c: Reduce number of functions being inlined
|
4347 |
|
|
to just those involved in data transfers and configuration.
|
4348 |
|
|
|
4349 |
|
|
* sim-xcat.h (XSTRING): New macro, map macro definition onto
|
4350 |
|
|
string.
|
4351 |
|
|
* sim-n-core.h (sim_core_read_aligned_N): Use.
|
4352 |
|
|
(sim_core_read_unaligned_N): Ditto.
|
4353 |
|
|
(sim_core_read_unaligned_N): Ditto..
|
4354 |
|
|
(sim_core_write_unaligned_N): Ditto.
|
4355 |
|
|
|
4356 |
|
|
* sim-core.h: Add xor endian bitmap to main structure. *
|
4357 |
|
|
|
4358 |
|
|
sim-n-core.h (sim_core_write_aligned_N): Add suport for xor
|
4359 |
|
|
endian.
|
4360 |
|
|
(sim_core_read_aligned_N): Ditto.
|
4361 |
|
|
|
4362 |
|
|
* sim-core.c (sim_core_set_xor_endian): New function.
|
4363 |
|
|
(sim_core_attach): Don't overwrite the per-cpu xor map when
|
4364 |
|
|
cloning the global core.
|
4365 |
|
|
|
4366 |
|
|
Fri May 23 10:53:13 1997 Andrew Cagney
|
4367 |
|
|
|
4368 |
|
|
* sim-engine.h: Update below so that it is using an enumerated
|
4369 |
|
|
type.
|
4370 |
|
|
|
4371 |
|
|
Thu May 22 09:12:16 1997 Gavin Koch
|
4372 |
|
|
|
4373 |
|
|
* sim-engine.c (sim_engine_restart):
|
4374 |
|
|
* sim-resume.c (sim_resume): Change longjmp param/setjmp
|
4375 |
|
|
return value used for simulator restart from 0 to 2.
|
4376 |
|
|
|
4377 |
|
|
Wed May 21 08:47:30 1997 Andrew Cagney
|
4378 |
|
|
|
4379 |
|
|
* cgen-scache.c (scache_option_handler): Add is_command arg.
|
4380 |
|
|
|
4381 |
|
|
* sim-model.c (model_option_handler): Add is_command argument.
|
4382 |
|
|
|
4383 |
|
|
* sim-profile.c (profile_option_handler): Add is_command arg.
|
4384 |
|
|
|
4385 |
|
|
* sim-events.c (sim_watch_valid): Use ub64, lb64 when 64bit value
|
4386 |
|
|
involved.
|
4387 |
|
|
|
4388 |
|
|
* sim-module.c (sim_module_add_init_fn): Call init fn in the same
|
4389 |
|
|
order that they are registered.
|
4390 |
|
|
|
4391 |
|
|
* sim-options.h (OPTION_HANDLER): Add argument to differentiate
|
4392 |
|
|
between option and command line processing.
|
4393 |
|
|
|
4394 |
|
|
* sim-options.c: Include stdlib.h, ctype.h.
|
4395 |
|
|
|
4396 |
|
|
* Make-common.in (sim-watch.o): Add rule.
|
4397 |
|
|
(sim_main_headers): Assume sim-assert.h included.
|
4398 |
|
|
(sim-*.o): Simplify make rule.
|
4399 |
|
|
|
4400 |
|
|
* sim-module.c: Add sim_watch_install to module list.
|
4401 |
|
|
|
4402 |
|
|
Tue May 20 14:15:23 1997 Andrew Cagney
|
4403 |
|
|
|
4404 |
|
|
* sim-base.h (STATE_LOADED_P): New predicate. Set once everything
|
4405 |
|
|
has been loaded.
|
4406 |
|
|
|
4407 |
|
|
* sim-trace.c (trace_install): Check magic. Include sim-assert.h.
|
4408 |
|
|
* sim-events.c (sim_events_install): Ditto.
|
4409 |
|
|
* sim-core.c (sim_core_install): Ditto.
|
4410 |
|
|
* sim-model.c (model_install): Ditto.
|
4411 |
|
|
* sim-options.c (standard_install): Ditto.
|
4412 |
|
|
* sim-profile.c (profile_install): Ditto.
|
4413 |
|
|
* sim-reason.c (sim_stop_reason): Ditto.
|
4414 |
|
|
* sim-run.c (sim_engine_run): Ditto.
|
4415 |
|
|
* sim-utils.c (sim_analyze_program): Ditto.
|
4416 |
|
|
|
4417 |
|
|
* sim-module.c (modules): Make profile_install and trace_install
|
4418 |
|
|
optional.
|
4419 |
|
|
|
4420 |
|
|
* sim-base.h (STATE_MEM_BASE): Define for flat memory systems.
|
4421 |
|
|
|
4422 |
|
|
* sim-options.c (standard_option_handler): Set the byte order.
|
4423 |
|
|
|
4424 |
|
|
* sim-events.c (sim_events_process): Allow multi tick processing.
|
4425 |
|
|
(sim_events_tickn): New function - multi cycle tick.
|
4426 |
|
|
|
4427 |
|
|
* sim-events.h (sim_events_tickn, sim_events_timewarp): Add
|
4428 |
|
|
prototypes. Under development.
|
4429 |
|
|
(sim_events): Replace processing with nr_ticks_to_process.
|
4430 |
|
|
|
4431 |
|
|
Tue May 20 09:39:22 1997 Andrew Cagney
|
4432 |
|
|
|
4433 |
|
|
* nrun.c (main): Pass callbacks to sim_open instead of using
|
4434 |
|
|
sim_set_callbacks.
|
4435 |
|
|
|
4436 |
|
|
* run.c (main): Ditto.
|
4437 |
|
|
|
4438 |
|
|
Mon May 19 12:07:22 1997 Andrew Cagney
|
4439 |
|
|
|
4440 |
|
|
* sim-events.c (sim_events_zalloc): Signal save memory allocator -
|
4441 |
|
|
stop tk interrupting malloc calls.
|
4442 |
|
|
(sim_events_zalloc): Converse.
|
4443 |
|
|
|
4444 |
|
|
* Make-common.in (sim_main_headers): Add sim-events.h.
|
4445 |
|
|
|
4446 |
|
|
* sim-events.c (sim_events_schedule_after_signal): Change return
|
4447 |
|
|
type to void - signal events are strictly internal.
|
4448 |
|
|
(sim_events_init): Allocate a finite buffer for signal events.
|
4449 |
|
|
(sim_events_schedule_after_signal): Enter signal events into the
|
4450 |
|
|
signal buffer.
|
4451 |
|
|
|
4452 |
|
|
* sim-engine.c (sim_engine_halt): Check SIM_DESC magic.
|
4453 |
|
|
(sim_engine_restart): Ditto.
|
4454 |
|
|
(sim_engine_abort): Ditto.
|
4455 |
|
|
* sim-stop.c (sim_stop): Ditto.
|
4456 |
|
|
(control_c_simulation): Ditto.
|
4457 |
|
|
* sim-resume.c (sim_resume): Ditto.
|
4458 |
|
|
(has_stepped): Ditto.
|
4459 |
|
|
* sim-abort.c (sim_engine_abort): Ditto.
|
4460 |
|
|
|
4461 |
|
|
* sim-basics.h (transfer_type): New type.
|
4462 |
|
|
|
4463 |
|
|
* sim-core.c (sim_core_signal): New function. Print core signal
|
4464 |
|
|
information.
|
4465 |
|
|
(sim_core_find_mapping): Add transfer argument.
|
4466 |
|
|
|
4467 |
|
|
* sim-n-core.h (sim_core_{write,write}_unaligned_N): Call
|
4468 |
|
|
SIM_CORE_SIGNAL if a recoverable abort.
|
4469 |
|
|
* sim-core.c (sim_core_find_mapping): Ditto.
|
4470 |
|
|
|
4471 |
|
|
Fri May 16 15:13:21 1997 Andrew Cagney
|
4472 |
|
|
|
4473 |
|
|
* sim-core.c (sim_core_find_mapping): Replace calls to
|
4474 |
|
|
sim_io_error to more resiliant sim_engine_abort.
|
4475 |
|
|
|
4476 |
|
|
* sim-n-core.h (sim_core_read_unaligned_N): Ditto.
|
4477 |
|
|
(sim_core_write_unaligned_N): Ditto.
|
4478 |
|
|
|
4479 |
|
|
Tue May 13 13:50:06 1997 Andrew Cagney
|
4480 |
|
|
|
4481 |
|
|
* sim-module.c: Add sim_events_install to list.
|
4482 |
|
|
|
4483 |
|
|
* sim-events.c (sim_events_install, sim_events_uninstall): Clonse
|
4484 |
|
|
from sim_core_*.
|
4485 |
|
|
(sim_events_init): Now returns SIG_RC.
|
4486 |
|
|
|
4487 |
|
|
* sim-run.c: New file. Generic sim_engine_run.
|
4488 |
|
|
* sim-reason.c: New file. Generic sim_stop_reason.
|
4489 |
|
|
* sim-stop.c: New file. Generic sim_stop.
|
4490 |
|
|
* sim-resume.c: New file. Generic sim_resume.
|
4491 |
|
|
|
4492 |
|
|
* Make-common.in (sim-engine.o): Add rule.
|
4493 |
|
|
(sim-run.o, sim-reason.o, sim-stop.o, sim-resume.o): Ditto.
|
4494 |
|
|
|
4495 |
|
|
* sim-engine.h, sim-engine.c: New file. Provide generic
|
4496 |
|
|
implementation of sim_engine_halt, sim_engine_error. et.al.
|
4497 |
|
|
|
4498 |
|
|
* sim-base.h (sim_state_base): Add member halt.
|
4499 |
|
|
(sim-engine.h): Include.
|
4500 |
|
|
|
4501 |
|
|
* sim-events.h (sim_event_handler): Always pass SIM_DESC to event
|
4502 |
|
|
handlers.
|
4503 |
|
|
* sim-events.c (sim_events_poll): Update event handler.
|
4504 |
|
|
|
4505 |
|
|
Tue May 13 09:57:49 1997 Andrew Cagney
|
4506 |
|
|
|
4507 |
|
|
* sim-events.h, sim-events.c (sim_events_watch_clock): New
|
4508 |
|
|
function.
|
4509 |
|
|
(sim_events_watch_sim): New function.
|
4510 |
|
|
(sim_events_watch_core): New function.
|
4511 |
|
|
(sim_watch_valid): New function.
|
4512 |
|
|
(sim_events_preprocess): New function.
|
4513 |
|
|
(sim_events_process): Process the watchpoints as well as the timer
|
4514 |
|
|
queue.
|
4515 |
|
|
(sim_events_tick): Check WORK_PENDING instead of the hold queue.
|
4516 |
|
|
(sim_events_deschedule): Check all the queues when removing an
|
4517 |
|
|
event.
|
4518 |
|
|
(sim_events_init): Ditto for cleaning.
|
4519 |
|
|
|
4520 |
|
|
Mon May 19 12:07:22 1997 Andrew Cagney
|
4521 |
|
|
|
4522 |
|
|
* sim-fpu.c (is_ufpu_number): Comment out - currently unused.
|
4523 |
|
|
|
4524 |
|
|
Mon May 19 11:23:03 1997 Andrew Cagney
|
4525 |
|
|
|
4526 |
|
|
* callback.c (os_open): Type of arg flags is int.
|
4527 |
|
|
|
4528 |
|
|
Fri May 16 22:26:43 1997 Michael Meissner
|
4529 |
|
|
|
4530 |
|
|
* sim-fpu.c (sim_fpu_is_{eq,ne,lt,le,gt,ge}): Compare Infinities
|
4531 |
|
|
just like normal numbers as per IEEE rules.
|
4532 |
|
|
|
4533 |
|
|
Wed May 14 21:20:38 1997 Bob Manson
|
4534 |
|
|
|
4535 |
|
|
* callback.c (os_close): Mark the descriptor as being
|
4536 |
|
|
available if the close succeeded.
|
4537 |
|
|
(os_open): Pass 0644 as the mode of the file being created.
|
4538 |
|
|
|
4539 |
|
|
Thu May 15 10:58:52 1997 Andrew Cagney
|
4540 |
|
|
|
4541 |
|
|
* sim-fpu.c (pack_fpu, unpack_fpu): New functions - decode a
|
4542 |
|
|
float.
|
4543 |
|
|
|
4544 |
|
|
* sim-inline.c (SIM_INLINE_C): Rename from _SIM_INLINE_C_.
|
4545 |
|
|
* sim-lnline.h: Update.
|
4546 |
|
|
|
4547 |
|
|
* sim-fpu.h, sim-fpu.c (sim_fpu_[iu]{32,64}to): New int2fp
|
4548 |
|
|
conversion functions.
|
4549 |
|
|
(sim_fpu_to{32,64}[iu]): New fp2int functions.
|
4550 |
|
|
|
4551 |
|
|
* sim-fpu.h, sim-fpu.c (sim_fpu_is_{lt,le,eq,ne,ge,gt}): New fp
|
4552 |
|
|
compare functions. Replacing.
|
4553 |
|
|
(sim_fpu_cmp): This. Delete.
|
4554 |
|
|
|
4555 |
|
|
Mon May 12 14:49:05 1997 Andrew Cagney
|
4556 |
|
|
|
4557 |
|
|
* sim-core.c (sim_core_find_mapping): Call engine_error not
|
4558 |
|
|
sim_io_error when possible.
|
4559 |
|
|
|
4560 |
|
|
Mon May 12 08:55:07 1997 Andrew Cagney
|
4561 |
|
|
|
4562 |
|
|
* sim-endian.h (V1_H2): Add macro's to insert a word into a
|
4563 |
|
|
high/low double word.
|
4564 |
|
|
|
4565 |
|
|
* sim-trace.h: Remove definition of attribute - defined in
|
4566 |
|
|
sim_basics.h.
|
4567 |
|
|
|
4568 |
|
|
Mon May 12 08:55:07 1997 Andrew Cagney
|
4569 |
|
|
|
4570 |
|
|
* sim-options.h (struct OPTION): Add doc_opt as the documenting
|
4571 |
|
|
name of the option - or family of options.
|
4572 |
|
|
|
4573 |
|
|
* sim-options.c (sim_args_command): Match command `a-b c' with
|
4574 |
|
|
option `--a-b-c' from option table.
|
4575 |
|
|
|
4576 |
|
|
Thu May 8 12:40:07 1997 Andrew Cagney
|
4577 |
|
|
|
4578 |
|
|
* sim-options.c (sim_print_help): For optional arguments, wrap
|
4579 |
|
|
them in [].
|
4580 |
|
|
|
4581 |
|
|
* sim-trace.c (set_trace_options): New function, handle optional
|
4582 |
|
|
argument and multiple assignment.
|
4583 |
|
|
(trace_option_handler): Update.
|
4584 |
|
|
|
4585 |
|
|
* sim-trace.c (trace_option_handler): Trace branch and not fpu
|
4586 |
|
|
when branch tracing selected.
|
4587 |
|
|
|
4588 |
|
|
Wed May 7 15:19:58 1997 Andrew Cagney
|
4589 |
|
|
|
4590 |
|
|
* sim-trace.c (trace_one_insn): Make a va-args function.
|
4591 |
|
|
|
4592 |
|
|
* sim-trace.c (trace_vprintf): New function, va-arg version of
|
4593 |
|
|
trace_printf.
|
4594 |
|
|
|
4595 |
|
|
Tue May 6 16:38:16 1997 Doug Evans
|
4596 |
|
|
|
4597 |
|
|
* sim-trace.c (trace_uninstall): Don't close a file twice.
|
4598 |
|
|
* sim-profile.c (profile_uninstall): Likewise.
|
4599 |
|
|
|
4600 |
|
|
Tue May 6 06:14:01 1997 Mike Meissner
|
4601 |
|
|
|
4602 |
|
|
* sim-trace.c (toplevel): Include bfd.h.
|
4603 |
|
|
(trace_options): Note that --trace-linenum also turns on
|
4604 |
|
|
--trace-insn. Add --trace-{branch,semantics}.
|
4605 |
|
|
(trace_option_handler): If --trace-linenum, also turn on
|
4606 |
|
|
--trace-insn. Add --trace-branch support. If --trace-semantics,
|
4607 |
|
|
turn on ALU, FPU, branch, and memory tracing.
|
4608 |
|
|
(trace_one_insn): New function to trace an instruction. Support
|
4609 |
|
|
--trace-linenum.
|
4610 |
|
|
(OPTION_TRACE_*): Use an enum, rather than lots of defines.
|
4611 |
|
|
|
4612 |
|
|
* sim-trace.h (TRACE_{SEMANTICS,BRANCH}_IDX): Add new macros.
|
4613 |
|
|
(MAX_TRACE_VALUES): Use 32, not 12 by default.
|
4614 |
|
|
(TRACE_branch): Add new mask.
|
4615 |
|
|
(TRACE_*_P): Define all possible trace_p macros.
|
4616 |
|
|
(trace_one_insn): Declare function.
|
4617 |
|
|
|
4618 |
|
|
Mon May 5 14:08:34 1997 Mike Meissner
|
4619 |
|
|
|
4620 |
|
|
* sim-trace.h (__attribute__): Define as nothing if not GNU C or
|
4621 |
|
|
GNU C doesn't support __attributes__.
|
4622 |
|
|
({trace,debug}_printf): Add attribute's so -Wformat can check the
|
4623 |
|
|
format strings.
|
4624 |
|
|
|
4625 |
|
|
Mon May 5 11:16:12 1997 Andrew Cagney
|
4626 |
|
|
|
4627 |
|
|
* sim-config.h (FORCED_ALIGNMENT): New alignment option -
|
4628 |
|
|
addresses are masked forcing them to be correctly aligned.
|
4629 |
|
|
(WITH_ALIGNMENT): Make NONSTRICT_ALIGNMENT the default.
|
4630 |
|
|
* sim-config.c (config_alignment_to_a): Update.
|
4631 |
|
|
|
4632 |
|
|
* sim-core.h (sim_cpu_core): New data type contains cpu specific
|
4633 |
|
|
core data.
|
4634 |
|
|
* sim-base.h (CPU_CORE): Add cpu specific core data to cpu base
|
4635 |
|
|
type.
|
4636 |
|
|
* sim-core.c (sim_core_attach): Add CPU argument. Ready for
|
4637 |
|
|
processor specific core maps.
|
4638 |
|
|
(sim_core_map_attach): Copy the core map data to each of the
|
4639 |
|
|
processor specific core data structures.
|
4640 |
|
|
* sim-core.c (sim_core_find_mapping): Update.
|
4641 |
|
|
|
4642 |
|
|
* sim-n-core.h (sim_core_read_N, sim_core_write_N): Rename.
|
4643 |
|
|
(sim_core_write_aligned_N, sim_core_write_aligned_N): New names.
|
4644 |
|
|
(sim_core_write_unaligned_N, sim_core_write_unaligned_N): New
|
4645 |
|
|
alternatives that handle unaligned addresses.
|
4646 |
|
|
(sim_core_{read,write}_{,un}aligned_N): Drop SIM_DESC arg, replace
|
4647 |
|
|
with just CPU arg.
|
4648 |
|
|
* cgen-utils.c (sim_disassemble_insn): Update.
|
4649 |
|
|
|
4650 |
|
|
Mon May 5 13:19:16 1997 Andrew Cagney
|
4651 |
|
|
|
4652 |
|
|
* sim-trace.h (TRACE_FPU_IDX): Add Floating-point specific
|
4653 |
|
|
tracing.
|
4654 |
|
|
|
4655 |
|
|
* sim-fpu.h, sim-fpu.c: New files - prototype for generic target
|
4656 |
|
|
fpu support.
|
4657 |
|
|
|
4658 |
|
|
* sim-inline.h, sim-inline.c: Add support for SIM_FPU.
|
4659 |
|
|
|
4660 |
|
|
Fri May 2 17:59:42 1997 Andrew Cagney
|
4661 |
|
|
|
4662 |
|
|
* sim-core.c (sim_core_map_to_str): New function ascii equivalent
|
4663 |
|
|
to map type.
|
4664 |
|
|
|
4665 |
|
|
* sim-n-core.h (sim_core_read_N, sim_core_write_N): Use in trace
|
4666 |
|
|
statement.
|
4667 |
|
|
|
4668 |
|
|
Fri May 2 17:28:02 1997 Andrew Cagney
|
4669 |
|
|
|
4670 |
|
|
* cgen-trace.c: Prepend additional trace_printf argument.
|
4671 |
|
|
|
4672 |
|
|
* cgen-utils.c (sim_disassemble_insn): Add additional core
|
4673 |
|
|
arguments.
|
4674 |
|
|
|
4675 |
|
|
Fri May 2 11:40:23 1997 Andrew Cagney
|
4676 |
|
|
|
4677 |
|
|
* nrun.c (main): Catch/report errorenous simulator states.
|
4678 |
|
|
|
4679 |
|
|
* sim-module.c: #include "libiberty.h" so that xmalloc is defined.
|
4680 |
|
|
* sim-trace.c: #include string.h/strings.h so that memset is
|
4681 |
|
|
defined.
|
4682 |
|
|
* sim-utils.c: Ditto.
|
4683 |
|
|
* sim-profile.c: Ditto. And stdlib.h.
|
4684 |
|
|
(print_bar): Only define when used by instruction or memory profiler.
|
4685 |
|
|
|
4686 |
|
|
* sim-options.c (standard_option_handler): Make ul more local.
|
4687 |
|
|
|
4688 |
|
|
* sim-load.c (sim_load_file): Make the name constant.
|
4689 |
|
|
(sim_load_file): Passify gcc.
|
4690 |
|
|
|
4691 |
|
|
* sim-utils.h: New file, pre-declare utilites in corresponding .c
|
4692 |
|
|
file.
|
4693 |
|
|
* sim-utils.c, sim-load.c: Include sim-utils.h.
|
4694 |
|
|
|
4695 |
|
|
* sim-base.h (sim_cpu): Pre define here so available to all.
|
4696 |
|
|
|
4697 |
|
|
* sim-core.h (DECLARE_SIM_CORE_WRITE_N, DECLARE_SIM_CORE_READ_N):
|
4698 |
|
|
Restore the sim_cpu and instruction_address arguments so that full
|
4699 |
|
|
information is available to the abort function.
|
4700 |
|
|
* sim-core.c (sim_core_find_mapping, sim_core_write_buffer): Ditto.
|
4701 |
|
|
* sim-n-core.h (sim_core_write_N, sim_core_read_N): Update.
|
4702 |
|
|
|
4703 |
|
|
* sim-trace.h, sim-trace.c (trace_option_handler): Add interim
|
4704 |
|
|
tracing support for sim-events and sim-core.
|
4705 |
|
|
(trace_option_handler): Convert #if to if where possible so always
|
4706 |
|
|
compiled/checked by C compiler.
|
4707 |
|
|
* sim-n-core.h (sim_core_write_N, sim_core_read_N): Update.
|
4708 |
|
|
|
4709 |
|
|
* sim-base.h: Adjust comment documenting how to define the cpu
|
4710 |
|
|
structure.
|
4711 |
|
|
(sim_state_base): Add sim_core and sim_events to simulator base
|
4712 |
|
|
object.
|
4713 |
|
|
|
4714 |
|
|
* sim-trace.h, sim-trace.c (trace_printf): Add SIM_DESC argument.
|
4715 |
|
|
* sim-core.c (sim_core_init, sim_core_attach,
|
4716 |
|
|
sim_core_find_mapping): Update.
|
4717 |
|
|
* sim-events.c (ETRACE, sim_events_init, sim_events_time,
|
4718 |
|
|
update_time_from_event, insert_sim_event,
|
4719 |
|
|
sim_events_schedule_after_signal, sim_events_deschedule,
|
4720 |
|
|
sim_events_tick): Ditto.
|
4721 |
|
|
|
4722 |
|
|
* sim-basics.h (sim-module.h, sim-trace.h, sim-profile.h,
|
4723 |
|
|
sim-model.h): Move #includes from here.
|
4724 |
|
|
* sim-base.h: To here.
|
4725 |
|
|
(sim-core.h, sim-events.h, sim-io.h): Include also
|
4726 |
|
|
|
4727 |
|
|
Wed Apr 30 15:37:54 1997 Andrew Cagney
|
4728 |
|
|
|
4729 |
|
|
* callback.c (default_callback): Missing initialisers.
|
4730 |
|
|
|
4731 |
|
|
Thu May 1 10:40:47 1997 Doug Evans
|
4732 |
|
|
|
4733 |
|
|
* sim-utils.c (sim_add_commas): New function.
|
4734 |
|
|
* sim-basics.h (sim_add_commas): Add prototype.
|
4735 |
|
|
* cgen-scache.c (scache_print_profile): Print commas in numbers.
|
4736 |
|
|
* sim-profile.c (COMMAS): New macro.
|
4737 |
|
|
(print_*): Use it to print commas in numbers.
|
4738 |
|
|
|
4739 |
|
|
* configure: Regenerated.
|
4740 |
|
|
|
4741 |
|
|
* cgen-sim.h (sim_signal_type): Add SIM_SIGINT.
|
4742 |
|
|
(cgen_state): New member run_fast_p.
|
4743 |
|
|
(cgen_init): Add prototype.
|
4744 |
|
|
(sim_disassemble_insn): New arg `cpu'.
|
4745 |
|
|
* cgen-trace.c (trace_insn): Update call to sim_disassemble_insn.
|
4746 |
|
|
* cgen-utils.c (cgen_init): New function.
|
4747 |
|
|
(sim_disassemble_insn): New arg `cpu'. Rewrite fetching of insn.
|
4748 |
|
|
* genmloop.sh: Call engine_halt if loop exits.
|
4749 |
|
|
|
4750 |
|
|
* Makefile.in (sim-options_h): Define.
|
4751 |
|
|
(sim-{module,options,trace,profile,utils}.o): Clean up dependencies.
|
4752 |
|
|
(sim-model.o): Add new rule.
|
4753 |
|
|
(cgen-{scache,trace,utils}.o): Add new rules.
|
4754 |
|
|
* aclocal.m4 (SIM_AC_OPTION_{SCACHE,DEFAULT_MODEL}): Add.
|
4755 |
|
|
* cgen-scache.c (scache_print_profile): Change `sd' arg to `cpu'.
|
4756 |
|
|
Indent output by 2 spaces.
|
4757 |
|
|
* cgen-scache.h (scache_print_profile): Update.
|
4758 |
|
|
* cgen-trace.c (trace_insn_fini): Indent output by 2 spaces.
|
4759 |
|
|
Use trace_printf, not fprintf.
|
4760 |
|
|
(trace_extract): Use trace_printf, not cgen_trace_printf.
|
4761 |
|
|
* genmloop.sh (!FAST case): Increment `insn_count'.
|
4762 |
|
|
* sim-base.h (sim_state_base): Only include scache_size if WITH_SCACHE.
|
4763 |
|
|
(sim_cpu_base): Rename member `sd' to `state' to be consistent with
|
4764 |
|
|
access macro's name.
|
4765 |
|
|
* sim-core.c (sim_core_init): Use EXTERN_SIM_CORE to define it.
|
4766 |
|
|
Change return type to SIM_RC.
|
4767 |
|
|
(sim_core_{install,uninstall}): New functions.
|
4768 |
|
|
* sim-core.h (sim_core_{install,uninstall}): Declare.
|
4769 |
|
|
(sim_core_init): Use EXTERN_SIM_CORE to define it.
|
4770 |
|
|
Change return type to SIM_RC.
|
4771 |
|
|
* sim-model.h (models,machs,model_install): Declare.
|
4772 |
|
|
* sim-module.c (modules): Add scache_install, model_install.
|
4773 |
|
|
(sim_post_argv_init): Set cpu->state backlinks.
|
4774 |
|
|
* sim-options.c (standard_options): Delete --simcache-size,--max-insns.
|
4775 |
|
|
(standard_option_handler): Likewise.
|
4776 |
|
|
* sim-profile.c (PROFILE_{HISTOGRAM,LABEL}_WIDTH): Move to
|
4777 |
|
|
sim-profile.h.
|
4778 |
|
|
(*): Assume ANSI C.
|
4779 |
|
|
(profile_options): Delete --profile-simcache.
|
4780 |
|
|
(profile_option_handler): Likewise.
|
4781 |
|
|
(profile_print_insn): Change `sd' arg to `cpu'. Indent output 2
|
4782 |
|
|
spaces.
|
4783 |
|
|
(profile_print_{memory,model}): Likewise.
|
4784 |
|
|
(profile_print_simcache): Delete.
|
4785 |
|
|
(profile_print_speed): New function.
|
4786 |
|
|
(profile_print): Rewrite.
|
4787 |
|
|
* sim-profile.h (PROFILE_scache): Renamed from PROFILE_simcache.
|
4788 |
|
|
(WITH_PROFILE_SCACHE_P): Renamed from WITH_PROFILE_SIMCACHE_P.
|
4789 |
|
|
(PROFILE_DATA): Delete members simcache_{hits,misses}.
|
4790 |
|
|
(PROFILE_COUNT_SIMCACHE_{HIT,MISS}): Delete.
|
4791 |
|
|
(PROFILE_{CALLBACK,CPU_CALLBACK}): New types.
|
4792 |
|
|
(profile_print): Update prototype.
|
4793 |
|
|
|
4794 |
|
|
Wed Apr 30 11:34:14 1997 Doug Evans
|
4795 |
|
|
|
4796 |
|
|
* cgen-scache.[ch], cgen-sim.h: New files.
|
4797 |
|
|
* cgen-trace.[ch], cgen-types.h, cgen-utils.c, genmloop.sh: New files.
|
4798 |
|
|
* sim-model.c: New file.
|
4799 |
|
|
|
4800 |
|
|
* Make-common.in (clean targets): Undo patch of Apr. 22.
|
4801 |
|
|
|
4802 |
|
|
Fri Apr 25 15:28:32 1997 Mike Meissner
|
4803 |
|
|
|
4804 |
|
|
* sim-n-bits.h (signed): If we have a standard compiler, undef
|
4805 |
|
|
signed, so that signedN is defined correctly.
|
4806 |
|
|
|
4807 |
|
|
Thu Apr 24 00:00:07 1997 Doug Evans
|
4808 |
|
|
|
4809 |
|
|
* sim-module.h, sim-model.h, sim-profile.h: New files.
|
4810 |
|
|
* sim-module.c, sim-profile.c: New files.
|
4811 |
|
|
* Make-common.in (SIM_PROFILE): Define
|
4812 |
|
|
(CONFIG_CFLAGS): Add $(SIM_PROFILE).
|
4813 |
|
|
(sim_main_headers): Add sim-module.h, sim-model.h, sim-profile.h.
|
4814 |
|
|
(sim_module.o,sim-profile.o): Add rules for.
|
4815 |
|
|
* aclocal.m4 (--enable-sim-trace): Allow symbolic arguments.
|
4816 |
|
|
(--enable-sim-profile): Add.
|
4817 |
|
|
* configure: Regenerated.
|
4818 |
|
|
* sim-base.h (sim_state_base): New members init_list, uninstall_list,
|
4819 |
|
|
model. Move trace and profile support to sim-{trace,profile}.h.
|
4820 |
|
|
New members trace_data, profile_data.
|
4821 |
|
|
* sim-basics.h: #include sim-module.h, sim-model.h, sim-profile.h.
|
4822 |
|
|
* sim-config.h: Provide default definition of WITH_PROFILE.
|
4823 |
|
|
(WITH_TRACE): Change default to -1.
|
4824 |
|
|
(MAX_NR_PROCESSORS): Always define.
|
4825 |
|
|
* sim-options.c: Move trace and profile support to
|
4826 |
|
|
sim-{trace,profile}.h.
|
4827 |
|
|
(sim_pre_argv_init): Moved to sim-model.c.
|
4828 |
|
|
(standard_install): New function.
|
4829 |
|
|
* sim-options.h (sim_pre_argv_init): Move decl to sim-model.c.
|
4830 |
|
|
(standard_install): Declare.
|
4831 |
|
|
* sim-trace.c: Tracing option handling moved here from sim-options.c.
|
4832 |
|
|
(trace_install, trace_uninstall): New functions.
|
4833 |
|
|
(trace_printf): Update reference to TRACE_FILE.
|
4834 |
|
|
* sim-trace.h (TRACE_FOO_IDX): Moved here from sim-base.h.
|
4835 |
|
|
(TRACE_foo): Bit masks for symbolic arguments to --enable-sim-trace.
|
4836 |
|
|
(WITH_TRACE_FOO_P): Define.
|
4837 |
|
|
(trace_install): Declare.
|
4838 |
|
|
(TRACE_DATA): New struct.
|
4839 |
|
|
|
4840 |
|
|
Wed Apr 23 17:23:15 1997 Doug Evans
|
4841 |
|
|
|
4842 |
|
|
* run.c: Undo last exec_bfd patch.
|
4843 |
|
|
(main): Only pass -E ifdef SIM_HAVE_BIENDIAN.
|
4844 |
|
|
|
4845 |
|
|
Wed Apr 23 17:54:27 1997 Mike Meissner
|
4846 |
|
|
|
4847 |
|
|
* run.c (exec_bfd): Add back in.
|
4848 |
|
|
(main): Set exec_bfd.
|
4849 |
|
|
|
4850 |
|
|
Tue Apr 22 14:43:46 1997 Doug Evans
|
4851 |
|
|
|
4852 |
|
|
* sim-load.c (sim_load_file): #include for NULL.
|
4853 |
|
|
|
4854 |
|
|
Wed Apr 23 02:55:54 1997 Andrew Cagney
|
4855 |
|
|
|
4856 |
|
|
* sim-events.c (insert_sim_event): Call sim_io_error instead of
|
4857 |
|
|
less well defined engine_error.
|
4858 |
|
|
* sim-core.c: Ditto.
|
4859 |
|
|
|
4860 |
|
|
Tue Apr 22 08:48:16 1997 Stu Grossman (grossman@critters.cygnus.com)
|
4861 |
|
|
|
4862 |
|
|
* Make-common.in: Change clean targets to use :: so that other
|
4863 |
|
|
Makefiles can have their own clean targets.
|
4864 |
|
|
* sim-load.c (xprintf eprintf): Use ANSI_PROTOTYPES instead of
|
4865 |
|
|
__STDC__ to control use of stdarg vs. varargs syntax. Some
|
4866 |
|
|
systems can't use __STDC__, but require stdarg.
|
4867 |
|
|
|
4868 |
|
|
Fri Apr 18 11:14:43 1997 Doug Evans
|
4869 |
|
|
|
4870 |
|
|
* sim-options.c (standard_options): Add --endian.
|
4871 |
|
|
(standard_option_handler): Likewise.
|
4872 |
|
|
|
4873 |
|
|
* nrun.c: #include .
|
4874 |
|
|
(main, cntrl_c): Wrap calls to sim_resume in a SIGINT
|
4875 |
|
|
handler that calls sim_stop ().
|
4876 |
|
|
|
4877 |
|
|
Fri Apr 18 13:11:36 1997 Andrew Cagney
|
4878 |
|
|
|
4879 |
|
|
* run.c (main, cntrl_c): Wrap calls to sim_resume in a SIGINT
|
4880 |
|
|
handler that calls sim_stop (). Simulators may still be
|
4881 |
|
|
establishing their own handler.
|
4882 |
|
|
|
4883 |
|
|
* sim-events.c (sim_events_poll): Rename from
|
4884 |
|
|
sim_events_at_large_int. Poll IO.
|
4885 |
|
|
|
4886 |
|
|
* sim-io.c (sim_io_poll_quit): New function - pass on a polling
|
4887 |
|
|
request.
|
4888 |
|
|
|
4889 |
|
|
* callback.c (os_poll_quit): New function poll for quit signal
|
4890 |
|
|
where needed.
|
4891 |
|
|
(default_callback): Include magic number.
|
4892 |
|
|
|
4893 |
|
|
Thu Apr 17 02:25:11 1997 Doug Evans
|
4894 |
|
|
|
4895 |
|
|
* aclocal.m4: Check for headers time.h, sys/time.h, sys/resource.h.
|
4896 |
|
|
Check for functions getrusage, time.
|
4897 |
|
|
* sim-basics.h (SIM_ELAPSED_TIME): New typedef.
|
4898 |
|
|
(sim_elapsed_time_get, sim_elapsed_time_since): Add prototypes.
|
4899 |
|
|
* sim-utils.c: #include time.h, sys/time.h, sys/resource.h if able.
|
4900 |
|
|
(sim_elapsed_time_get, sim_elapsed_time_since): New functions.
|
4901 |
|
|
|
4902 |
|
|
* sim-utils.c (sim_copy_argv, sim_analyze_program): New functions.
|
4903 |
|
|
|
4904 |
|
|
* sim-options.c, sim-options.h: New files.
|
4905 |
|
|
* sim-config.h (WITH_DEBUG): Provide default value of zero.
|
4906 |
|
|
* Make-common.in (nrun.o): Add rules for.
|
4907 |
|
|
* nrun.c: New file.
|
4908 |
|
|
|
4909 |
|
|
* run.c (main): Check return value of sim_open.
|
4910 |
|
|
|
4911 |
|
|
* Make-common.in (sim-options.o, sim-load.o, sim-trace.o): Add rules.
|
4912 |
|
|
(sim_main_headers): Add sim-trace.h.
|
4913 |
|
|
* run.c (exec_bfd, target_byte_order): Delete.
|
4914 |
|
|
(main): Pass -E to sim_open. Delete code to load sections,
|
4915 |
|
|
call sim_load instead. Check return code of sim_create_inferior.
|
4916 |
|
|
* sim-base.h (CURRENT_STATE): Define.
|
4917 |
|
|
(sim_state_base): Make typedef. New members options, prog_argv,
|
4918 |
|
|
prog_bfd, text_{section,start,end}, start_addr, simcache_size,
|
4919 |
|
|
mem_size, memory [+ corresponding access macros].
|
4920 |
|
|
(sim_cpu_base): New typedef.
|
4921 |
|
|
* sim-trace.h: New file.
|
4922 |
|
|
* sim-trace.c: New file.
|
4923 |
|
|
* sim-basics.h: #include it.
|
4924 |
|
|
* sim-load.c: New file.
|
4925 |
|
|
|
4926 |
|
|
Tue Apr 15 15:10:13 1997 Ian Lance Taylor
|
4927 |
|
|
|
4928 |
|
|
* Make-common.in (INSTALL): Set to @INSTALL@.
|
4929 |
|
|
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
|
4930 |
|
|
(install-common): Depend upon installdirs. Use
|
4931 |
|
|
$(program_transform_name) directly, rather than using
|
4932 |
|
|
$(INSTALL_XFORM).
|
4933 |
|
|
(installdirs): New target.
|
4934 |
|
|
* Makefile.in (INSTALL): Set to @INSTALL@.
|
4935 |
|
|
(INSTALL_XFORM, INSTALL_XFORM1): Remove.
|
4936 |
|
|
(install-man): Depend upon installdirs. Use
|
4937 |
|
|
$(program_transform_name) directly, rather than using
|
4938 |
|
|
$(INSTALL_XFORM).
|
4939 |
|
|
(installdirs): New target.
|
4940 |
|
|
|
4941 |
|
|
Tue Apr 15 15:08:12 1997 Andrew Cagney
|
4942 |
|
|
|
4943 |
|
|
* sim-assert.h (SIM_ASSERT, ASSERT): Allow these macros to
|
4944 |
|
|
be overriden.
|
4945 |
|
|
|
4946 |
|
|
Wed Apr 9 16:06:44 1997 Andrew Cagney
|
4947 |
|
|
|
4948 |
|
|
* sim-basics.h: Only bring in config.h and tconfig.h if
|
4949 |
|
|
HAVE_CONFIG_H.
|
4950 |
|
|
|
4951 |
|
|
Mon Apr 7 11:39:45 1997 Andrew Cagney
|
4952 |
|
|
|
4953 |
|
|
* sim-config.h (WITH_TARGET_WORD_MSB): New Macro. Define the bit
|
4954 |
|
|
numbering convention of the target.
|
4955 |
|
|
* sim-config.c (print_sim_config): Print WITH_TARGET_WORD_BITSIZE
|
4956 |
|
|
and WITH_TARGET_WORD_MSB.
|
4957 |
|
|
(sim_config): When possible, check for consistency with bitsize
|
4958 |
|
|
and msb.
|
4959 |
|
|
|
4960 |
|
|
* sim-bits.h: Allow MSB to be other than zero.
|
4961 |
|
|
* sim-bits.c: Ditto.
|
4962 |
|
|
* sim-n-bits.h: Ditto.
|
4963 |
|
|
|
4964 |
|
|
* sim-bits.h (MSMASK*): New macros - converce to LSMASK*.
|
4965 |
|
|
* sim-n-bits.h (MSMASKEDn): Ditto.
|
4966 |
|
|
|
4967 |
|
|
Mon Apr 14 16:29:21 1997 Ian Lance Taylor
|
4968 |
|
|
|
4969 |
|
|
* Makefile.in (INSTALL): Change install.sh to install-sh.
|
4970 |
|
|
|
4971 |
|
|
Mon Apr 7 10:46:38 1997 Doug Evans
|
4972 |
|
|
|
4973 |
|
|
* sim-base.h (sim_state_base): Move `magic' to end of struct.
|
4974 |
|
|
|
4975 |
|
|
Mon Apr 7 15:53:21 1997 Andrew Cagney
|
4976 |
|
|
|
4977 |
|
|
* run.c (main): Check that a program to run was specified.
|
4978 |
|
|
|
4979 |
|
|
Mon Apr 7 15:45:02 1997 Andrew Cagney
|
4980 |
|
|
|
4981 |
|
|
* aclocal.m4 (AC_TYPE_SIGNAL): Add check.
|
4982 |
|
|
|
4983 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
4984 |
|
|
* config.in: Ditto.
|
4985 |
|
|
|
4986 |
|
|
Wed Apr 2 15:06:28 1997 Doug Evans
|
4987 |
|
|
|
4988 |
|
|
* sim-endian.h: Move host {LITTLE,BIG}_ENDIAN support from here,
|
4989 |
|
|
* sim-config.h: To here.
|
4990 |
|
|
|
4991 |
|
|
* Make-common.in (SIM_EXTRA_DEPS): New config var.
|
4992 |
|
|
(sim_main_headers): Define.
|
4993 |
|
|
(sim-*.o): Depend on $(SIM_EXTRA_DEPS).
|
4994 |
|
|
(BUILT_SRC_FROM_COMMON): Move here from ../d30v/Makefile.in.
|
4995 |
|
|
(clean): Use it.
|
4996 |
|
|
(sim-utils.o): Add rule for.
|
4997 |
|
|
* sim-utils.o: New file.
|
4998 |
|
|
* sim-basics.h: #include sim-base.h.
|
4999 |
|
|
(zalloc): Make argument unsigned long.
|
5000 |
|
|
* sim-base.h: New file.
|
5001 |
|
|
* sim-inline.h (SIM_IO support): Delete.
|
5002 |
|
|
* sim-io.h: Delete inline support.
|
5003 |
|
|
* sim-io.c: Likewise. sim-state.h renamed to sim-main.h.
|
5004 |
|
|
* sim-config.c: sim-state.h renamed to sim-main.h.
|
5005 |
|
|
* sim-core.c: Likewise.
|
5006 |
|
|
* sim-events.c: Likewise.
|
5007 |
|
|
|
5008 |
|
|
* run.c (main): Pass SIM_OPEN_STANDALONE to sim_open.
|
5009 |
|
|
|
5010 |
|
|
* aclocal.m4: Check for stdlib.h, string.h, strings.h, unistd.h.
|
5011 |
|
|
(sim-debug): Allow arguments. Define WITH_DEBUG in addition to
|
5012 |
|
|
-DDEBUG.
|
5013 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
5014 |
|
|
|
5015 |
|
|
Wed Apr 2 14:34:19 1997 Andrew Cagney
|
5016 |
|
|
|
5017 |
|
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
5018 |
|
|
|
5019 |
|
|
Wed Apr 2 11:08:11 1997 Andrew Cagney
|
5020 |
|
|
|
5021 |
|
|
* sim-config.h (WITH_ALIGNMENT, WITH_FLOATING_POINT,
|
5022 |
|
|
WITH_XOR_ENDIAN, WITH_SMP, WITH_RESERVED_BITS): Assume that these
|
5023 |
|
|
are defined by the configure.
|
5024 |
|
|
|
5025 |
|
|
* aclocal.m4 (sim-stdio): Add option stdio from ../ppc configure.
|
5026 |
|
|
|
5027 |
|
|
* aclocal.m4 (floating-point, xor-endian, alignment, smp,
|
5028 |
|
|
reserved-bits): Always define.
|
5029 |
|
|
|
5030 |
|
|
* sim-config.h, sim-config.c (sim_config): New function - and new
|
5031 |
|
|
file - co-ordinate the setting/checking of the common simulator
|
5032 |
|
|
configuration options.
|
5033 |
|
|
|
5034 |
|
|
* Make-common.in (sim-config.o): Add rule.
|
5035 |
|
|
|
5036 |
|
|
Fri Mar 28 15:32:00 1997 Mike Meissner
|
5037 |
|
|
|
5038 |
|
|
* callback.c (os_{,e}vprintf_filtered): Change stdarg type to
|
5039 |
|
|
va_list from void *, since va_list might not be a pointer type.
|
5040 |
|
|
|
5041 |
|
|
Mon Mar 24 15:27:12 1997 Andrew Cagney
|
5042 |
|
|
|
5043 |
|
|
* sim-n-endian.h (offset_N): Correct assertion - word and sub word
|
5044 |
|
|
in wrong order.
|
5045 |
|
|
(offset_N): Correct computation of LE offset.
|
5046 |
|
|
|
5047 |
|
|
* sim-io.c (sim_io_error): Include a new line when reporting
|
5048 |
|
|
errors.
|
5049 |
|
|
|
5050 |
|
|
* sim-assert.h (SIM_FILTER_PATH): Out by one when locating last
|
5051 |
|
|
`/'.
|
5052 |
|
|
|
5053 |
|
|
Thu Mar 20 22:31:06 1997 Jeffrey A Law (law@cygnus.com)
|
5054 |
|
|
|
5055 |
|
|
* run.c: Include alloca-conf.h.
|
5056 |
|
|
|
5057 |
|
|
* callback.c (os_evprintf_filtered): Fix typo.
|
5058 |
|
|
|
5059 |
|
|
Fri Mar 21 13:36:20 1997 Andrew Cagney
|
5060 |
|
|
|
5061 |
|
|
* run.c (string.h, strings.h, stdlib.h): Include.
|
5062 |
|
|
|
5063 |
|
|
* sim-events.c (sim_events_tick): Recent cleanup failed to return
|
5064 |
|
|
|
5065 |
|
|
|
5066 |
|
|
* run.c (sim_size, sim_trace): Plicate GCC - these two functions
|
5067 |
|
|
will soon be going away.
|
5068 |
|
|
(getopt): Plicate GCC.
|
5069 |
|
|
|
5070 |
|
|
* sim-endian.c (sim-io.h): Plicate GCC.
|
5071 |
|
|
* sim-bits.c (sim-io.h): Ditto.
|
5072 |
|
|
* sim-n-bits.h (ROTn): Ditto.
|
5073 |
|
|
|
5074 |
|
|
* sim-io.c (sim_io_error): Correct check for NULL.
|
5075 |
|
|
|
5076 |
|
|
* sim-assert.h (SIM_FILTER_PATH): Separate out the code filtering
|
5077 |
|
|
the __FILE__.
|
5078 |
|
|
* sim-events.c: Use SIM_FILTER_PATH to filter out the filename
|
5079 |
|
|
path.
|
5080 |
|
|
|
5081 |
|
|
Wed Mar 19 01:12:06 1997 Andrew Cagney
|
5082 |
|
|
|
5083 |
|
|
* aclocal.m4 (SIM_AC_OPTION_*: Move so that they are outside of
|
5084 |
|
|
SIM_AC_COMMON - SIM_AC_COMMON was gobling arguments.
|
5085 |
|
|
|
5086 |
|
|
Tue Mar 18 20:48:12 1997 Andrew Cagney
|
5087 |
|
|
|
5088 |
|
|
* sim-alu.h: Include sim-xcat.h.
|
5089 |
|
|
|
5090 |
|
|
Tue Mar 18 13:58:18 1997 Andrew Cagney
|
5091 |
|
|
|
5092 |
|
|
* Make-common.in (sim-bits.c, sim-core.c, sim-endian.c,
|
5093 |
|
|
sim-events.c, sim-inline.c, sim-io.c): Define rules for building
|
5094 |
|
|
these.
|
5095 |
|
|
|
5096 |
|
|
* sim-events.c (sim_events_at_large_int): New function. Just
|
5097 |
|
|
schedules an event every large-int ticks.
|
5098 |
|
|
(sim_events_init): Call.
|
5099 |
|
|
(sim_events_tick, sim_events_process): Move async handing to
|
5100 |
|
|
sim_events_process. Move timer decrement so that it occures after
|
5101 |
|
|
events have been processed.
|
5102 |
|
|
|
5103 |
|
|
* sim-basics.h (struct _engine): Remove declaration.
|
5104 |
|
|
|
5105 |
|
|
* sim-events.h, sim-events.c: Rename type to sim_events. Prefix
|
5106 |
|
|
everything with same. Rename global struct to SIM_DESC.
|
5107 |
|
|
* sim-core.h, sim-core.c, sim-n-core.c: Ditto for sim_core.
|
5108 |
|
|
* sim-io.h, sim-io.c: Ditto.
|
5109 |
|
|
|
5110 |
|
|
* sim-assert.h: New file. Optional assertion checking macros.
|
5111 |
|
|
* sim-io.c (sim_io_error): Make just this function tolerant to
|
5112 |
|
|
null pointers.
|
5113 |
|
|
|
5114 |
|
|
* sim-xcat.h: New file. Define concatenate macros.
|
5115 |
|
|
* sim-basics.h (XCONCAT*): Move to sim-xcat.h.
|
5116 |
|
|
* sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Explicitly include
|
5117 |
|
|
concat macros.
|
5118 |
|
|
|
5119 |
|
|
|
5120 |
|
|
Tue Mar 18 12:44:55 1997 Andrew Cagney
|
5121 |
|
|
|
5122 |
|
|
* sim-bits.h (LSMASK): New macro. Create mask of LS bits.
|
5123 |
|
|
|
5124 |
|
|
Mon Mar 17 18:10:05 1997 Andrew Cagney
|
5125 |
|
|
|
5126 |
|
|
* sim-inline.h: Add definitions for sim-types.
|
5127 |
|
|
(ALL_BY_MODULE): New macro, encapsulate full inlining by the
|
5128 |
|
|
module.
|
5129 |
|
|
|
5130 |
|
|
Mon Mar 17 15:38:27 1997 Andrew Cagney
|
5131 |
|
|
|
5132 |
|
|
* sim-events.h: Remove defunct reference to callback struct.
|
5133 |
|
|
|
5134 |
|
|
Mon Mar 17 15:10:07 1997 Andrew Cagney
|
5135 |
|
|
|
5136 |
|
|
* configure: Re-generate.
|
5137 |
|
|
|
5138 |
|
|
Mon Mar 17 15:04:47 1997 Andrew Cagney
|
5139 |
|
|
|
5140 |
|
|
* Make-common.in (CSEARCH): Do not include the gdb directory in
|
5141 |
|
|
the search path.
|
5142 |
|
|
|
5143 |
|
|
Mon Mar 17 13:16:26 1997 Andrew Cagney
|
5144 |
|
|
|
5145 |
|
|
* Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
|
5146 |
|
|
SIM_WARNING): Drop, requiring the simulator specific Makefile.in
|
5147 |
|
|
to explicitly incorporate these.
|
5148 |
|
|
|
5149 |
|
|
* aclocal.m4 (--enable-sim-alignment); New option. Strongly
|
5150 |
|
|
specify the alignment restrictions of the target architecture -
|
5151 |
|
|
without this option all alignment restrictions are accomodated.
|
5152 |
|
|
(--enable-sim-assert): New option. Conditionally compile in
|
5153 |
|
|
assertion statements.
|
5154 |
|
|
(--enable-sim-float): New option. Strongly specify the target's
|
5155 |
|
|
floating point support.
|
5156 |
|
|
(--enable-sim-hardware): New option. Specify the hardware devices
|
5157 |
|
|
included in the simulation.
|
5158 |
|
|
(--enable-sim-packages): New option. Specify the hardware
|
5159 |
|
|
packages included in the simulation.
|
5160 |
|
|
(--enable-sim-regparm): New option. Specify that parameters be
|
5161 |
|
|
passed in registers instead of on the stack.
|
5162 |
|
|
(--enable-sim-reserved-bits): New option. Specify that reserved
|
5163 |
|
|
bits within an instruction are are correctly set.
|
5164 |
|
|
(--enable-sim-smp): New option. Specify the level of SMP support
|
5165 |
|
|
to be included in the simulator.
|
5166 |
|
|
(--enable-sim-stdcall): New option. Specify an alternative
|
5167 |
|
|
function call convention.
|
5168 |
|
|
(--enable-sim-xor-endian): New option. Configure xor-endian
|
5169 |
|
|
support used by some targets to implement bi-endian support.
|
5170 |
|
|
|
5171 |
|
|
Fri Mar 14 19:51:21 1997 Andrew Cagney
|
5172 |
|
|
|
5173 |
|
|
* aclocal.m4 (--enable-sim-hostendian): New option. Allow the
|
5174 |
|
|
host endianness to be overridden.
|
5175 |
|
|
(--enable-sim-endian): Allow the target platform's byte order
|
5176 |
|
|
to be overridden.
|
5177 |
|
|
(--enable-sim-inline): Control the inlining of common components.
|
5178 |
|
|
(--enable-sim-bswap): For compatibility, also define WITH_BSWAP.
|
5179 |
|
|
(--enable-sim-warnings): Enable additional GCC compiler checks.
|
5180 |
|
|
* Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
|
5181 |
|
|
SIM_WARNINGS): Add.
|
5182 |
|
|
|
5183 |
|
|
* sim-n-core.h, sim-n-bits.h, sim-n-endian.h: Rename from
|
5184 |
|
|
sim-*-n.h so that the names are uniq on dos machines
|
5185 |
|
|
* sim-core.c, sim-bits.c, sim-endian.c: Update.
|
5186 |
|
|
|
5187 |
|
|
Thu Mar 13 12:32:42 1997 Doug Evans
|
5188 |
|
|
|
5189 |
|
|
* run.c: #include "libiberty.h".
|
5190 |
|
|
(main): New locals sd,no_args,sim_argv.
|
5191 |
|
|
Run buildargv on -a option. Pass argv to sim_open, argv[0]
|
5192 |
|
|
is program name. Update call to sim_set_callbacks.
|
5193 |
|
|
Record result of sim_open, pass to other sim_foo routines.
|
5194 |
|
|
|
5195 |
|
|
Thu Mar 13 10:24:05 1997 Michael Meissner
|
5196 |
|
|
|
5197 |
|
|
* callback.c (os_printf_filtered): Do not call exit(1) or print a
|
5198 |
|
|
final newline.
|
5199 |
|
|
|
5200 |
|
|
Thu Mar 6 15:50:28 1997 Andrew Cagney
|
5201 |
|
|
|
5202 |
|
|
* callback.c: Add os_flush_stdout and vprintf_filtered callbacks.
|
5203 |
|
|
Route stdout through buffered IO.
|
5204 |
|
|
|
5205 |
|
|
* callback.c: Add os_flush_stderr, os_write_stderr,
|
5206 |
|
|
os_evprintf_filtered functions to route error output through
|
5207 |
|
|
stderr.
|
5208 |
|
|
|
5209 |
|
|
* sim-io.h, sim-io.c (sim_io_flush_stderr, sim_io_flush_stdout):
|
5210 |
|
|
Correct return type - should be void.
|
5211 |
|
|
|
5212 |
|
|
Fri Mar 7 20:14:37 1997 Andrew Cagney
|
5213 |
|
|
|
5214 |
|
|
* sim-basics.h: Clean up. Many macro's moved to sim-inline.h.
|
5215 |
|
|
|
5216 |
|
|
* sim-config.h: Ditto. For some options - eg WITH_DEVICES - do
|
5217 |
|
|
not provide a default value as undefined indicates disable code.
|
5218 |
|
|
|
5219 |
|
|
Thu Mar 6 15:50:28 1997 Andrew Cagney
|
5220 |
|
|
|
5221 |
|
|
* sim-core.h, sim-core-n.h, sim-core.c: Borrow code from ppc
|
5222 |
|
|
directory.
|
5223 |
|
|
* sim-events.h, sim-events.c: Ditto.
|
5224 |
|
|
* sim-io.h, sim-io.c: Ditto.
|
5225 |
|
|
|
5226 |
|
|
Tue Mar 4 09:35:56 1997 Andrew Cagney
|
5227 |
|
|
|
5228 |
|
|
* sim-alu.h (ALU_SUB_CA, ALU*_SUB_CA): New alu operation.
|
5229 |
|
|
|
5230 |
|
|
* sim-bits.h, sim-bits-n.h, sim-bits.c (LSMASKED*): New macro's
|
5231 |
|
|
extract the tail or least signifiant bits from an integer of the
|
5232 |
|
|
specified size.
|
5233 |
|
|
|
5234 |
|
|
* sim-bits.h, sim-bits.c: Clean up conditionally compiled #if
|
5235 |
|
|
WITH_TARGET_BITSIZE so that the compilation will fail when an
|
5236 |
|
|
unsupported bitsize value is defined.
|
5237 |
|
|
|
5238 |
|
|
(INSERTED*): Convert to functions.
|
5239 |
|
|
(EXTRACTED*): Ditto.
|
5240 |
|
|
|
5241 |
|
|
(SIGN_EXTEND, SEXT): Change to more terse name.
|
5242 |
|
|
|
5243 |
|
|
Tue Mar 4 09:35:56 1997 Andrew Cagney
|
5244 |
|
|
|
5245 |
|
|
* sim-inline.h: Allow explicit control over which .c files will be
|
5246 |
|
|
included by their header.
|
5247 |
|
|
|
5248 |
|
|
* sim-inline.h: Allow explicit control over which .c files use the
|
5249 |
|
|
alternative - REGPARM - parameter passing mechanism.
|
5250 |
|
|
|
5251 |
|
|
* sim-inline.h, sim-inline.c: Don't attempt to include any of
|
5252 |
|
|
icache.c, idecode.c, semantics.c or support.c. Those names are
|
5253 |
|
|
not generally applicable.
|
5254 |
|
|
|
5255 |
|
|
Thu Feb 27 10:17:23 1997 Andrew Cagney
|
5256 |
|
|
|
5257 |
|
|
* sim-bits.c, sim-bits-n.h (new): Split sim-bits.c into two parts
|
5258 |
|
|
in a fashion similar to sim-endian-n.
|
5259 |
|
|
|
5260 |
|
|
* sim-endian.h: (H_word, L_word, AL_*, VL_*): Extend to include
|
5261 |
|
|
both value and address macro's.
|
5262 |
|
|
|
5263 |
|
|
Tue Feb 25 18:51:57 1997 Andrew Cagney
|
5264 |
|
|
|
5265 |
|
|
* sim-alu.h (ALU16_BEGIN, ALU16_SET, ...): Fill in.
|
5266 |
|
|
|
5267 |
|
|
* sim-endian.h (L_word, H_word): Replace MS2W_4, LS2W_4 with more
|
5268 |
|
|
generic L_word, H_word macro's.
|
5269 |
|
|
|
5270 |
|
|
Thu Feb 20 18:36:55 1997 Andrew Cagney
|
5271 |
|
|
|
5272 |
|
|
* sim-basics.h: Borrow code from ppc directory.
|
5273 |
|
|
* sim-bits.c: Ditto.
|
5274 |
|
|
* sim-bits.h: Ditto.
|
5275 |
|
|
* sim-config.h: Ditto.
|
5276 |
|
|
* sim-endian-n.h: Ditto.
|
5277 |
|
|
* sim-endian.c: Ditto.
|
5278 |
|
|
* sim-endian.h: Ditto.
|
5279 |
|
|
* sim-inline.c: Ditto.
|
5280 |
|
|
* sim-inline.h: Ditto.
|
5281 |
|
|
* sim-types.h: Ditto.
|
5282 |
|
|
|
5283 |
|
|
Wed Feb 19 12:40:50 1997 Andrew Cagney
|
5284 |
|
|
|
5285 |
|
|
* sim-alu.h (ALU_SET16, ALU_SET32, ALU_SET64, etc): Make available
|
5286 |
|
|
all the ALU size alternatives and then auto-configure a default.
|
5287 |
|
|
|
5288 |
|
|
* sim-alu.h: Copy ppc/idecode_expression.h.
|
5289 |
|
|
|
5290 |
|
|
Mon Feb 17 10:44:18 1997 Andrew Cagney
|
5291 |
|
|
|
5292 |
|
|
* bits.h, bits.c (SIGN_EXTEND32, SIGN_EXTEND64): New functions,
|
5293 |
|
|
sign extend a bit within a value.
|
5294 |
|
|
|
5295 |
|
|
* sim-endian.h, sim-endian-n.h (offset_N): New functions - return
|
5296 |
|
|
a pointer into the middle of a host word.
|
5297 |
|
|
* sim-endian.h (MS2W_4, LS2W_4): Use this function.
|
5298 |
|
|
|
5299 |
|
|
Tue Feb 11 13:46:49 1997 Michael Meissner
|
5300 |
|
|
|
5301 |
|
|
* callback.c: If HAVE_CONFIG_H is defined, include config.h from
|
5302 |
|
|
autoconf. If HAVE_UNISTD_H is defined, include unistd.h to get
|
5303 |
|
|
appropriate definitions of read, write, etc. Add prototype for
|
5304 |
|
|
system.
|
5305 |
|
|
|
5306 |
|
|
Tue Feb 4 13:24:44 1997 Doug Evans
|
5307 |
|
|
|
5308 |
|
|
* Makefile.in (libcommon.a): Delete.
|
5309 |
|
|
(callback.o,targ-map.o): Delete, moved to Make-common.in.
|
5310 |
|
|
(gentmap,targ-vals.h,targ-map.c): Likewise.
|
5311 |
|
|
(run-autoconf): Delete.
|
5312 |
|
|
* aclocal.m4 (SIM_AC_OUTPUT): Redo creation of Makefile.
|
5313 |
|
|
(common makefile fragment): Moved back into ...
|
5314 |
|
|
* Make-common.in: Resurrect.
|
5315 |
|
|
* configure.in (AC_LINK_FILES): Delete, unnecessary now.
|
5316 |
|
|
* configure: Regenerated.
|
5317 |
|
|
|
5318 |
|
|
Fri Jan 31 07:16:49 1997 Doug Evans
|
5319 |
|
|
|
5320 |
|
|
* aclocal.m4 (SIM_AC_COMMON): Move COMMON_MAKEFILE_FRAG from here.
|
5321 |
|
|
(SIM_AC_OUTPUT): To here.
|
5322 |
|
|
|
5323 |
|
|
Fri Jan 24 10:37:17 1997 Stu Grossman (grossman@critters.cygnus.com)
|
5324 |
|
|
|
5325 |
|
|
* aclocal.m4 (COMMON_MAKEFILE_FRAG): Quote a couple of $'s in
|
5326 |
|
|
comments and single quotes. Fixes a problem found on hpux.
|
5327 |
|
|
|
5328 |
|
|
Thu Jan 23 13:35:03 1997 Stu Grossman (grossman@critters.cygnus.com)
|
5329 |
|
|
|
5330 |
|
|
* aclocal.m4: Remove Make-common.in from dependencies.
|
5331 |
|
|
* (distclean): Remove targ-vals.def.
|
5332 |
|
|
|
5333 |
|
|
* aclocal.m4 (SIM_AC_COMMON): Move contents of Make-common.in
|
5334 |
|
|
into here. Makes insertion into makefiles easier. Also, change
|
5335 |
|
|
the way that callback.o, gentmap, targ-vals.h, targ-map.c,
|
5336 |
|
|
targ-map.o, and run are built. They are now built in the
|
5337 |
|
|
individual simulator directories, taking sources from ../common as
|
5338 |
|
|
necessary. This replaces the merging of libcommon.a into
|
5339 |
|
|
linsim.a, which was problematic for the WinGDB build process.
|
5340 |
|
|
* run.c: Include config.h from . instead of ../common.
|
5341 |
|
|
* Make-common.in: Remove. It's no longer necessary.
|
5342 |
|
|
|
5343 |
|
|
Mon Dec 16 15:02:33 1996 Ian Lance Taylor
|
5344 |
|
|
|
5345 |
|
|
* Make-common.in (ALL_CLAGS): Put CFLAGS at the end.
|
5346 |
|
|
(.c.o): Put $(ALL_CFLAGS) before the file being compiled.
|
5347 |
|
|
|
5348 |
|
|
Wed Dec 11 11:30:58 1996 Jim Wilson
|
5349 |
|
|
|
5350 |
|
|
* run.c (main): Set target_byte_order before call to sim_open.
|
5351 |
|
|
|
5352 |
|
|
Sun Dec 8 18:22:06 1996 Doug Evans
|
5353 |
|
|
|
5354 |
|
|
* callback.c: #include
|
5355 |
|
|
(os_error): New function.
|
5356 |
|
|
(default_callback): Add os_error.
|
5357 |
|
|
|
5358 |
|
|
Mon Nov 25 19:44:35 1996 Doug Evans
|
5359 |
|
|
|
5360 |
|
|
* Make-common.in (Makefile): Set CONFIG_HEADERS="".
|
5361 |
|
|
* aclocal.m4: Mark the fact that --enable-sim-bswap isn't host
|
5362 |
|
|
specific.
|
5363 |
|
|
(SIM_AC_OUTPUT): Don't build Makefile if CONFIG_FILES="".
|
5364 |
|
|
|
5365 |
|
|
Wed Nov 20 01:11:04 1996 Doug Evans
|
5366 |
|
|
|
5367 |
|
|
* run.c: #include ../common/config.h, tconfig.h.
|
5368 |
|
|
(myname): New static global.
|
5369 |
|
|
(main): Recognize new options -a, -c. Also recognize -h if h8/300.
|
5370 |
|
|
Only process -c ifdef SIM_HAVE_SIMCACHE.
|
5371 |
|
|
Only process -p/-s ifdef SIM_HAVE_PROFILE.
|
5372 |
|
|
Parse program name from argv[0] and use in error messages.
|
5373 |
|
|
Pass sim_args to sim_open. Pass prog_args to sim_create_inferior.
|
5374 |
|
|
Add support for incomplete h8/300 termination indicators.
|
5375 |
|
|
(usage): Make more verbose.
|
5376 |
|
|
* aclocal.m4,config.in,tconfig.in,configure.in,configure: New files.
|
5377 |
|
|
* Makefile.in,Make-common.in,callback.c: New files.
|
5378 |
|
|
* nltvals.def,gentmap.c,gentvals.sh: New files.
|
5379 |
|
|
|
5380 |
|
|
Tue Nov 12 13:34:00 1996 Dawn Perchik
|
5381 |
|
|
|
5382 |
|
|
* run.c: Include stdarg.h if __STDC__.
|
5383 |
|
|
|
5384 |
|
|
Tue Oct 15 11:16:31 1996 Jeffrey A Law (law@cygnus.com)
|
5385 |
|
|
|
5386 |
|
|
* run.c (main): Don't print out anything if the signal
|
5387 |
|
|
number is zero (ie no signal).
|
5388 |
|
|
|
5389 |
|
|
Tue Oct 15 11:20:44 1996 Michael Meissner
|
5390 |
|
|
|
5391 |
|
|
* run.c (main): Print out if the program raised a signal.
|
5392 |
|
|
|
5393 |
|
|
Wed Sep 18 09:52:14 1996 Michael Meissner
|
5394 |
|
|
|
5395 |
|
|
* run.c (exec_bfd): Rename from sim_bfd, to use the gdb name.
|
5396 |
|
|
(main): Ditto.
|
5397 |
|
|
|
5398 |
|
|
Tue Sep 17 11:04:50 1996 James G. Smith
|
5399 |
|
|
|
5400 |
|
|
* run.c (main): Explicitly cast malloc() parameter.
|
5401 |
|
|
|
5402 |
|
|
Thu Sep 12 11:27:21 1996 Michael Meissner
|
5403 |
|
|
|
5404 |
|
|
* run.c (sim_bfd): New global to hold the bfd pointer for the
|
5405 |
|
|
executable.
|
5406 |
|
|
(main): Initialize sim_bfd.
|
5407 |
|
|
|
5408 |
|
|
Fri Dec 15 16:27:49 1995 Ian Lance Taylor
|
5409 |
|
|
|
5410 |
|
|
* run.c (main): Use new bfd_big_endian macro.
|
5411 |
|
|
|
5412 |
|
|
Wed Nov 8 15:49:49 1995 James G. Smith
|
5413 |
|
|
|
5414 |
|
|
* run.c (main): Removed SH specific comments, so source is
|
5415 |
|
|
generic. Also updated to only load relevant sections. Moved
|
5416 |
|
|
sim_open() to after callback attach (to match GDB).
|
5417 |
|
|
|
5418 |
|
|
* run.1: Removed SH specific comments.
|
5419 |
|
|
|
5420 |
|
|
Sat Oct 21 12:31:01 1995 Jim Wilson
|
5421 |
|
|
|
5422 |
|
|
* run.c (main): Always return sigrc at end.
|
5423 |
|
|
|
5424 |
|
|
Tue Oct 10 12:03:13 1995 J.T. Conklin
|
5425 |
|
|
|
5426 |
|
|
* run.c (main): Print error diagnostic and exit if bfd_openr() or
|
5427 |
|
|
bfd_check_format() fails.
|
5428 |
|
|
|
5429 |
|
|
Thu Sep 28 15:40:36 1995 steve chamberlain
|
5430 |
|
|
|
5431 |
|
|
* run.c, run.1: From sh directory.
|