3 * configure: Regenerated to track ../common/aclocal.m4 changes.
7 * wrapper.c (stop_simulator): New global.
8 (sim_stop): Set sim state to STOP and set
10 (sim_resume): Reset stop_simulator.
11 (sim_stop_reason): If stop_simulator is set, tell gdb
12 that the we took SIGINT.
13 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
14 stop_simulator is set.
18 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
19 whenever the counter expires.
20 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
24 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
25 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
29 * wrapper.c (sim_open): Set endianness according to BFD or command
32 * tconfig.in: Define SIM_HAVE_BIENDIAN.
36 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
37 the same as either RdHi or RdLo.
41 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
42 Set Reg[0] based on reason for for the exception.
46 * armos.c (SWIwrite0): New function.
47 (WriteCommandLineTo): New function.
48 (SWIopen): New function.
49 (SWIread): New function.
50 (SWIwrite): New function.
51 (SWIflen): New function.
52 (ARMul_OSHandleSWI): Call new functions instead of handling
54 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
55 (*): Reformat spacing to be a bit more GNUly.
56 Most code taken from a patch by Anthony Thompson
61 * armos.h: Add Angel SWI and its reason codes.
62 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
66 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
67 of ":tt" to catch stdin in addition to stdout.
68 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
69 or success of lseek().
73 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
78 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
79 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
80 seek from offset 0 and not to use R2 for whence since it is
81 not passed as part of the SWI call.
85 * configure: Regenerated to track ../common/aclocal.m4 changes.
87 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
89 * configure: Regenerated to track ../common/aclocal.m4 changes.
94 * acconfig.h: New file.
95 * configure.in: Reverted change of Apr 24; use sinclude again.
97 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
99 * configure: Regenerated to track ../common/aclocal.m4 changes.
104 * configure.in: Don't call sinclude.
108 * configure: Regenerated to track ../common/aclocal.m4 changes.
112 * configure: Regenerated to track ../common/aclocal.m4 changes.
116 * configure: Regenerated to track ../common/aclocal.m4 changes.
120 * configure: Regenerated to track ../common/aclocal.m4 changes.
124 * armopts.h: Remove definition of LITTLEND - it is not used.
128 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
129 length parameter. Return -1.
133 * configure: Regenerated to track ../common/aclocal.m4 changes.
137 * configure: Regenerated to track ../common/aclocal.m4 changes.
139 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
141 * configure: Regenerated to track ../common/aclocal.m4 changes.
145 * configure: Regenerated to track ../common/aclocal.m4 changes.
150 * Makefile.in: Updated with changes from branch.
152 * armemu.c: ditto these changes
153 * armemu.h: ditto add support for
154 * armos.c: ditto the Thumb instruction
155 * armsupp.c: ditto set and the new v4
156 * armvirt.c: ditto architecture.
158 * thumbemu.c: New file from branch.
163 * configure: Regenerated to track ../common/aclocal.m4 changes.
167 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
170 * wrapper.c (sim_create_inferior): Add code to create an execution
175 * wrapper.c (sim_load): Pass lma_p and sim_write args to
180 * configure: Regenerated to track ../common/aclocal.m4 changes.
184 * configure: Regenerated to track ../common/aclocal.m4 changes.
188 * configure: Regenerated to track ../common/aclocal.m4 changes.
192 * configure: Regenerated to track ../common/aclocal.m4 changes.
196 * configure: Regenerated to track ../common/aclocal.m4 changes.
200 * configure: Regenerated to track ../common/aclocal.m4 changes.
202 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
204 * configure: Regenerated to track ../common/aclocal.m4 changes.
208 * configure: Regenerated to track ../common/aclocal.m4 changes.
213 * wrapper.c (sim_kill): Delete.
214 (sim_create_inferior): Add ABFD argument.
215 (sim_load): Move setting of PC from here.
216 (sim_create_inferior): To here.
220 * configure: Regenerated to track ../common/aclocal.m4 changes.
225 * wrapper.c (sim_open): Add ABFD argument.
229 * wrapper.c (sim_open): Add callback argument.
230 (sim_set_callbacks): Drop SIM_DESC argument.
234 * configure: Regenerated to track ../common/aclocal.m4 changes.
238 * wrapper.c (sim_stop): Stub sim_stop function.
242 * arminit.c (ARMul_NewState): Preinitialize the state to
247 * Makefile.in (SIM_OBJS): Add sim-load.o.
248 * wrapper.c (sim_kind,myname): New static locals.
249 (sim_open): Set sim_kind, myname.
250 (sim_load): Call sim_load_file to do work. Set start address from bfd.
251 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
255 * wrapper.c (sim_trace): Update so that it matches prototype.
259 * configure: Regenerated to track ../common/aclocal.m4 changes.
264 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
270 * wrapper.c (sim_open): New arg `kind'.
272 * configure: Regenerated to track ../common/aclocal.m4 changes.
276 * COPYING: Update FSF address.
280 * configure: Regenerated to track ../common/aclocal.m4 changes.
284 * configure: Regenerated to track ../common/aclocal.m4 changes.
288 * configure: Re-generate.
292 * configure: Regenerate to track ../common/aclocal.m4 changes.
296 * wrapper.c (sim_open): Has result now.
297 (sim_*): New SIM_DESC argument.
301 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
302 COMMON_{PRE,POST}_CONFIG_FRAG instead.
303 * configure.in: sinclude ../common/aclocal.m4.
304 * configure: Regenerated.
308 * configure configure.in Makefile.in: Update to new configure
309 scheme which is more compatible with WinGDB builds.
310 * configure.in: Improve comment on how to run autoconf.
311 * configure: Re-run autoconf to get new ../common/aclocal.m4.
312 * Makefile.in: Use autoconf substitution to install common
317 * run.c: Deleted, use one in ../common now.
318 * Makefile.in: Delete everything that's been moved to
319 ../common/Make-common.in.
321 * configure.in: Simplify using macros in ../common/aclocal.m4.
322 * configure: Regenerated.
323 * config.in: New file.
324 * armos.c: #include config.h.
325 * wrapper.c (mem_size): Value is in bytes now.
326 (sim_callback): New global.
327 (arm_sim_set_profile{,_size}): Delete.
328 (arm_sim_set_mem_size): Rename to sim_size.
329 (sim_do_command): Call printf_filtered via callback.
330 (sim_set_callbacks): Record callback.
334 * Makefile.in (mostlyclean): Remove config.log.
338 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
339 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
341 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
342 (AC_PROG_INSTALL): Added.
343 * configure: Rebuilt.
347 * configure: Regenerate with autoconf 2.7.
351 * run.c (main): Use new bfd_big_endian macro.
355 * run.c: Include "getopt.h".
357 (usage): Make static.
358 (main): Call arm_sim_set_verbosity.
359 Only load sections marked SEC_LOAD.
360 * wrapper.c (mem_size, verbosity): New static global.
361 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
362 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
366 * armdefs.h (ARMul_State): New member `verbose'.
367 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
368 * run.c (verbose): Make global.
369 * wrapper.c (init): Set state->verbose.
370 (ARMul_ConsolePrint): Don't print anything if !verbose.
374 * armos.c: #include dbg_rdi.h.
375 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
376 * armos.h (SWI_Breakpoint): Define.
377 * wrapper.c: #include armemu.h, dbg_rdi.h.
379 (sim_resume): Use state->EndCondition to record stop state.
380 Call FLUSHPIPE before returning.
381 (sim_stop_reason): Determine reason from state->EndCondition.
385 * wrapper.c (sim_set_callbacks): New.
389 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
390 number of bytes not read/written (or -1).
394 * Makefile.in (maintainer-clean): New synonym for realclean.
398 * configure.in: Remove AC_PROG_INSTALL.
399 * configure: Rebuild.
400 * Makefile.in (INSTALL): Revert to using install.sh.
401 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
402 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
403 (mostlyclean): Make the same as clean, not distclean.
404 (clean): Remove config.log.
405 (install): Don't install in $(tooldir).
409 (Try to) Update to new bfd autoconf scheme.
410 * run.c: Don't include sysdep.h.
411 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
412 (CC, CFLAGS, AR, RANLIB): Likewise.
413 (HDEFINES, TDEFINES): Define.
414 (CC_FOR_BUILD): Delete.
415 (host_makefile_frag): Delete.
416 (Makefile): Don't depend on frags.
417 * configure.in (sysdep.h): Don't create symlink.
418 (host_makefile_frag, frags): Deleted.
419 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
420 * configure: Regenerated.
424 * Update all FSF addresses except those in COPYING* files.
428 * Makefile.in (clean): Remove run, libsim.a.
430 * Makefile.in, configure.in: converted to autoconf.
431 * configure: New file, generated with autconf 2.4.
437 * wrapper.c (sim_do_command): New function.
441 * armos.c (ARMul_OSHandleSWI): New version to work with
446 * run.c (main): Grab return value from right register.