4 * configure: Regenerated to track ../common/aclocal.m4 changes.
8 * wrapper.c (stop_simulator): New global.
9 (sim_stop): Set sim state to STOP and set
11 (sim_resume): Reset stop_simulator.
12 (sim_stop_reason): If stop_simulator is set, tell gdb
13 that the we took SIGINT.
14 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
15 stop_simulator is set.
19 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
20 whenever the counter expires.
21 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
25 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
26 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
30 * wrapper.c (sim_open): Set endianness according to BFD or command
33 * tconfig.in: Define SIM_HAVE_BIENDIAN.
37 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
38 the same as either RdHi or RdLo.
42 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
43 Set Reg[0] based on reason for for the exception.
47 * armos.c (SWIwrite0): New function.
48 (WriteCommandLineTo): New function.
49 (SWIopen): New function.
50 (SWIread): New function.
51 (SWIwrite): New function.
52 (SWIflen): New function.
53 (ARMul_OSHandleSWI): Call new functions instead of handling
55 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
56 (*): Reformat spacing to be a bit more GNUly.
57 Most code taken from a patch by Anthony Thompson
62 * armos.h: Add Angel SWI and its reason codes.
63 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
67 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
68 of ":tt" to catch stdin in addition to stdout.
69 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
70 or success of lseek().
74 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
79 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
80 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
81 seek from offset 0 and not to use R2 for whence since it is
82 not passed as part of the SWI call.
86 * configure: Regenerated to track ../common/aclocal.m4 changes.
88 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
90 * configure: Regenerated to track ../common/aclocal.m4 changes.
95 * acconfig.h: New file.
96 * configure.in: Reverted change of Apr 24; use sinclude again.
98 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
100 * configure: Regenerated to track ../common/aclocal.m4 changes.
105 * configure.in: Don't call sinclude.
109 * configure: Regenerated to track ../common/aclocal.m4 changes.
113 * configure: Regenerated to track ../common/aclocal.m4 changes.
117 * configure: Regenerated to track ../common/aclocal.m4 changes.
121 * configure: Regenerated to track ../common/aclocal.m4 changes.
125 * armopts.h: Remove definition of LITTLEND - it is not used.
129 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
130 length parameter. Return -1.
134 * configure: Regenerated to track ../common/aclocal.m4 changes.
138 * configure: Regenerated to track ../common/aclocal.m4 changes.
140 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
142 * configure: Regenerated to track ../common/aclocal.m4 changes.
146 * configure: Regenerated to track ../common/aclocal.m4 changes.
151 * Makefile.in: Updated with changes from branch.
153 * armemu.c: ditto these changes
154 * armemu.h: ditto add support for
155 * armos.c: ditto the Thumb instruction
156 * armsupp.c: ditto set and the new v4
157 * armvirt.c: ditto architecture.
159 * thumbemu.c: New file from branch.
164 * configure: Regenerated to track ../common/aclocal.m4 changes.
168 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
171 * wrapper.c (sim_create_inferior): Add code to create an execution
176 * wrapper.c (sim_load): Pass lma_p and sim_write args to
181 * configure: Regenerated to track ../common/aclocal.m4 changes.
185 * configure: Regenerated to track ../common/aclocal.m4 changes.
189 * configure: Regenerated to track ../common/aclocal.m4 changes.
193 * configure: Regenerated to track ../common/aclocal.m4 changes.
197 * configure: Regenerated to track ../common/aclocal.m4 changes.
201 * configure: Regenerated to track ../common/aclocal.m4 changes.
203 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
205 * configure: Regenerated to track ../common/aclocal.m4 changes.
209 * configure: Regenerated to track ../common/aclocal.m4 changes.
214 * wrapper.c (sim_kill): Delete.
215 (sim_create_inferior): Add ABFD argument.
216 (sim_load): Move setting of PC from here.
217 (sim_create_inferior): To here.
221 * configure: Regenerated to track ../common/aclocal.m4 changes.
226 * wrapper.c (sim_open): Add ABFD argument.
230 * wrapper.c (sim_open): Add callback argument.
231 (sim_set_callbacks): Drop SIM_DESC argument.
235 * configure: Regenerated to track ../common/aclocal.m4 changes.
239 * wrapper.c (sim_stop): Stub sim_stop function.
243 * arminit.c (ARMul_NewState): Preinitialize the state to
248 * Makefile.in (SIM_OBJS): Add sim-load.o.
249 * wrapper.c (sim_kind,myname): New static locals.
250 (sim_open): Set sim_kind, myname.
251 (sim_load): Call sim_load_file to do work. Set start address from bfd.
252 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
256 * wrapper.c (sim_trace): Update so that it matches prototype.
260 * configure: Regenerated to track ../common/aclocal.m4 changes.
265 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
271 * wrapper.c (sim_open): New arg `kind'.
273 * configure: Regenerated to track ../common/aclocal.m4 changes.
277 * COPYING: Update FSF address.
281 * configure: Regenerated to track ../common/aclocal.m4 changes.
285 * configure: Regenerated to track ../common/aclocal.m4 changes.
289 * configure: Re-generate.
293 * configure: Regenerate to track ../common/aclocal.m4 changes.
297 * wrapper.c (sim_open): Has result now.
298 (sim_*): New SIM_DESC argument.
302 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
303 COMMON_{PRE,POST}_CONFIG_FRAG instead.
304 * configure.in: sinclude ../common/aclocal.m4.
305 * configure: Regenerated.
309 * configure configure.in Makefile.in: Update to new configure
310 scheme which is more compatible with WinGDB builds.
311 * configure.in: Improve comment on how to run autoconf.
312 * configure: Re-run autoconf to get new ../common/aclocal.m4.
313 * Makefile.in: Use autoconf substitution to install common
318 * run.c: Deleted, use one in ../common now.
319 * Makefile.in: Delete everything that's been moved to
320 ../common/Make-common.in.
322 * configure.in: Simplify using macros in ../common/aclocal.m4.
323 * configure: Regenerated.
324 * config.in: New file.
325 * armos.c: #include config.h.
326 * wrapper.c (mem_size): Value is in bytes now.
327 (sim_callback): New global.
328 (arm_sim_set_profile{,_size}): Delete.
329 (arm_sim_set_mem_size): Rename to sim_size.
330 (sim_do_command): Call printf_filtered via callback.
331 (sim_set_callbacks): Record callback.
335 * Makefile.in (mostlyclean): Remove config.log.
339 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
340 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
342 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
343 (AC_PROG_INSTALL): Added.
344 * configure: Rebuilt.
348 * configure: Regenerate with autoconf 2.7.
352 * run.c (main): Use new bfd_big_endian macro.
356 * run.c: Include "getopt.h".
358 (usage): Make static.
359 (main): Call arm_sim_set_verbosity.
360 Only load sections marked SEC_LOAD.
361 * wrapper.c (mem_size, verbosity): New static global.
362 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
363 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
367 * armdefs.h (ARMul_State): New member `verbose'.
368 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
369 * run.c (verbose): Make global.
370 * wrapper.c (init): Set state->verbose.
371 (ARMul_ConsolePrint): Don't print anything if !verbose.
375 * armos.c: #include dbg_rdi.h.
376 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
377 * armos.h (SWI_Breakpoint): Define.
378 * wrapper.c: #include armemu.h, dbg_rdi.h.
380 (sim_resume): Use state->EndCondition to record stop state.
381 Call FLUSHPIPE before returning.
382 (sim_stop_reason): Determine reason from state->EndCondition.
386 * wrapper.c (sim_set_callbacks): New.
390 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
391 number of bytes not read/written (or -1).
395 * Makefile.in (maintainer-clean): New synonym for realclean.
399 * configure.in: Remove AC_PROG_INSTALL.
400 * configure: Rebuild.
401 * Makefile.in (INSTALL): Revert to using install.sh.
402 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
403 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
404 (mostlyclean): Make the same as clean, not distclean.
405 (clean): Remove config.log.
406 (install): Don't install in $(tooldir).
410 (Try to) Update to new bfd autoconf scheme.
411 * run.c: Don't include sysdep.h.
412 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
413 (CC, CFLAGS, AR, RANLIB): Likewise.
414 (HDEFINES, TDEFINES): Define.
415 (CC_FOR_BUILD): Delete.
416 (host_makefile_frag): Delete.
417 (Makefile): Don't depend on frags.
418 * configure.in (sysdep.h): Don't create symlink.
419 (host_makefile_frag, frags): Deleted.
420 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
421 * configure: Regenerated.
425 * Update all FSF addresses except those in COPYING* files.
429 * Makefile.in (clean): Remove run, libsim.a.
431 * Makefile.in, configure.in: converted to autoconf.
432 * configure: New file, generated with autconf 2.4.
438 * wrapper.c (sim_do_command): New function.
442 * armos.c (ARMul_OSHandleSWI): New version to work with
447 * run.c (main): Grab return value from right register.