1 2000-06-22 Alexandre Oliva <aoliva@cygnus.com>
3 * armemu.c (MultiplyAdd64): Fix computation of flag N.
5 2000-06-20 Alexandre Oliva <aoliva@cygnus.com>
7 * armemu.h (NEGBRANCH): Do not overwrite the two most significant
10 2000-05-25 Nick Clifton <nickc@cygnus.com>
12 * armcopro.c (MMUMCR): Only indicate mode change if a singal has
14 (MMUWrite): Only indicate mode change if a singal has really
17 * armdefs.h (SYSTEMMODE): Define.
18 (BANK_CAN_ACEESS_SPSR): Define.
20 * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
21 to advance before stopping the emulation.
23 * arminit.c (ARMul_Reset): Ensure Mode field of State is set
26 * armos.c (ARMul_OSInit): Create a initial stack pointer for
29 * armsupp.c (ModeToBank): Remove unused first parameter.
30 Add support for System Mode.
31 (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
32 (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
33 (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
34 (ARMulSwitchMode): Add support for System Mode.
36 Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
38 * configure: Regenerated to track ../common/aclocal.m4 changes.
40 2000-05-23 Nick Clifton <nickc@cygnus.com>
42 * wrapper.c (sim_store_register): Special handling for CPSR
45 2000-03-11 Philip Blundell <philb@gnu.org>
47 * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
48 Patch from Allan Skillman <Allan.Skillman@arm.com>.
50 Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
52 * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
54 2000-02-08 Nick Clifton <nickc@cygnus.com>
56 * wrapper.c: Fix compile time warning messages.
57 * armcopro.c: Fix compile time warning messages.
58 * armdefs.h: Fix compile time warning messages.
59 * armemu.c: Fix compile time warning messages.
60 * armemu.h: Fix compile time warning messages.
61 * armos.c: Fix compile time warning messages.
62 * armsupp.c: Fix compile time warning messages.
63 * armvirt.c: Fix compile time warning messages.
64 * bag.c: Fix compile time warning messages.
66 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
68 * *.[ch]: Use indent to make readable.
70 1999-11-22 Nick Clifton <nickc@cygnus.com>
72 * armos.c (SWIread): Generate an error message if a huge read is
74 (SWIwrite): Generate an error message if a huge write is
77 1999-10-27 Nick Clifton <nickc@cygnus.com>
79 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
82 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
84 * armos.c (SWIopen): Always pass third parameter with 0666 since
85 otherwise uninitialized memory gets access if the O_CREAT bit is
86 set and so we possibly cannot access the file afterwards.
88 1999-09-29 Doug Evans <devans@casey.cygnus.com>
90 * armos.c (SWIWrite0): Send output to stdout instead of stderr.
91 (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
93 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
95 * configure: Regenerated to track ../common/aclocal.m4 changes.
98 1999-05-08 Felix Lee <flee@cygnus.com>
100 * configure: Regenerated to track ../common/aclocal.m4 changes.
102 1999-04-06 Keith Seitz <keiths@cygnus.com>
104 * wrapper.c (stop_simulator): New global.
105 (sim_stop): Set sim state to STOP and set
107 (sim_resume): Reset stop_simulator.
108 (sim_stop_reason): If stop_simulator is set, tell gdb
109 that the we took SIGINT.
110 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
111 stop_simulator is set.
113 1999-04-02 Keith Seitz <keiths@cygnus.com>
115 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
116 whenever the counter expires.
117 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
119 1999-03-24 Nick Clifton <nickc@cygnus.com>
121 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
122 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
124 Mon Sep 14 09:00:05 1998 Nick Clifton <nickc@cygnus.com>
126 * wrapper.c (sim_open): Set endianness according to BFD or command
129 * tconfig.in: Define SIM_HAVE_BIENDIAN.
131 Thu Aug 27 11:00:05 1998 Nick Clifton <nickc@cygnus.com>
133 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
134 the same as either RdHi or RdLo.
136 Thu Jul 2 10:24:35 1998 Nick Clifton <nickc@cygnus.com>
138 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
139 Set Reg[0] based on reason for for the exception.
141 Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com)
143 * armos.c (SWIwrite0): New function.
144 (WriteCommandLineTo): New function.
145 (SWIopen): New function.
146 (SWIread): New function.
147 (SWIwrite): New function.
148 (SWIflen): New function.
149 (ARMul_OSHandleSWI): Call new functions instead of handling
151 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
152 (*): Reformat spacing to be a bit more GNUly.
153 Most code taken from a patch by Anthony Thompson
154 (athompso@cambridge.arm.com)
156 Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
158 * armos.h: Add Angel SWI and its reason codes.
159 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
161 Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
163 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
164 of ":tt" to catch stdin in addition to stdout.
165 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
166 or success of lseek().
168 Wed May 20 17:36:25 1998 Nick Clifton <nickc@cygnus.com>
170 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
173 Wed Apr 29 15:29:55 1998 Jeff Johnston <jjohnstn@cygnus.com>
175 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
176 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
177 seek from offset 0 and not to use R2 for whence since it is
178 not passed as part of the SWI call.
180 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
182 * configure: Regenerated to track ../common/aclocal.m4 changes.
184 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
186 * configure: Regenerated to track ../common/aclocal.m4 changes.
189 Sun Apr 26 15:20:26 1998 Tom Tromey <tromey@cygnus.com>
191 * acconfig.h: New file.
192 * configure.in: Reverted change of Apr 24; use sinclude again.
194 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
196 * configure: Regenerated to track ../common/aclocal.m4 changes.
199 Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
201 * configure.in: Don't call sinclude.
203 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
205 * configure: Regenerated to track ../common/aclocal.m4 changes.
207 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
209 * configure: Regenerated to track ../common/aclocal.m4 changes.
211 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
213 * configure: Regenerated to track ../common/aclocal.m4 changes.
215 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
217 * configure: Regenerated to track ../common/aclocal.m4 changes.
219 Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
221 * armopts.h: Remove definition of LITTLEND - it is not used.
223 Tue Feb 17 12:35:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
225 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
226 length parameter. Return -1.
228 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
230 * configure: Regenerated to track ../common/aclocal.m4 changes.
232 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
234 * configure: Regenerated to track ../common/aclocal.m4 changes.
236 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
238 * configure: Regenerated to track ../common/aclocal.m4 changes.
240 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
242 * configure: Regenerated to track ../common/aclocal.m4 changes.
245 Tue Dec 9 11:30:48 1997 Nick Clifton <nickc@cygnus.com>
247 * Makefile.in: Updated with changes from branch.
249 * armemu.c: ditto these changes
250 * armemu.h: ditto add support for
251 * armos.c: ditto the Thumb instruction
252 * armsupp.c: ditto set and the new v4
253 * armvirt.c: ditto architecture.
255 * thumbemu.c: New file from branch.
258 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
260 * configure: Regenerated to track ../common/aclocal.m4 changes.
262 Thu Oct 30 13:54:06 1997 Nick Clifton <nickc@cygnus.com>
264 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
265 from Tony Thompson at ARM: athompso@arm.com
267 * wrapper.c (sim_create_inferior): Add code to create an execution
268 environment. Patch from Tony Thompson at ARM: athompso@arm.com
270 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
272 * wrapper.c (sim_load): Pass lma_p and sim_write args to
275 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
277 * configure: Regenerated to track ../common/aclocal.m4 changes.
279 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
281 * configure: Regenerated to track ../common/aclocal.m4 changes.
283 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
285 * configure: Regenerated to track ../common/aclocal.m4 changes.
287 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
289 * configure: Regenerated to track ../common/aclocal.m4 changes.
291 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
293 * configure: Regenerated to track ../common/aclocal.m4 changes.
295 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
297 * configure: Regenerated to track ../common/aclocal.m4 changes.
299 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
301 * configure: Regenerated to track ../common/aclocal.m4 changes.
303 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
305 * configure: Regenerated to track ../common/aclocal.m4 changes.
308 Tue Aug 26 10:37:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
310 * wrapper.c (sim_kill): Delete.
311 (sim_create_inferior): Add ABFD argument.
312 (sim_load): Move setting of PC from here.
313 (sim_create_inferior): To here.
315 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
317 * configure: Regenerated to track ../common/aclocal.m4 changes.
320 Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
322 * wrapper.c (sim_open): Add ABFD argument.
324 Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
326 * wrapper.c (sim_open): Add callback argument.
327 (sim_set_callbacks): Drop SIM_DESC argument.
329 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
331 * configure: Regenerated to track ../common/aclocal.m4 changes.
333 Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
335 * wrapper.c (sim_stop): Stub sim_stop function.
337 Thu Apr 17 18:33:01 1997 Fred Fish <fnf@cygnus.com>
339 * arminit.c (ARMul_NewState): Preinitialize the state to
342 Thu Apr 17 02:39:02 1997 Doug Evans <dje@canuck.cygnus.com>
344 * Makefile.in (SIM_OBJS): Add sim-load.o.
345 * wrapper.c (sim_kind,myname): New static locals.
346 (sim_open): Set sim_kind, myname.
347 (sim_load): Call sim_load_file to do work. Set start address from bfd.
348 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
350 Thu Apr 17 11:48:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
352 * wrapper.c (sim_trace): Update so that it matches prototype.
354 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
356 * configure: Regenerated to track ../common/aclocal.m4 changes.
359 Mon Apr 7 12:01:17 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
361 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
365 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
367 * wrapper.c (sim_open): New arg `kind'.
369 * configure: Regenerated to track ../common/aclocal.m4 changes.
371 Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
373 * COPYING: Update FSF address.
375 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
377 * configure: Regenerated to track ../common/aclocal.m4 changes.
379 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
381 * configure: Regenerated to track ../common/aclocal.m4 changes.
383 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
385 * configure: Re-generate.
387 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
389 * configure: Regenerate to track ../common/aclocal.m4 changes.
391 Thu Mar 13 12:38:56 1997 Doug Evans <dje@canuck.cygnus.com>
393 * wrapper.c (sim_open): Has result now.
394 (sim_*): New SIM_DESC argument.
396 Tue Feb 4 13:22:21 1997 Doug Evans <dje@canuck.cygnus.com>
398 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
399 COMMON_{PRE,POST}_CONFIG_FRAG instead.
400 * configure.in: sinclude ../common/aclocal.m4.
401 * configure: Regenerated.
403 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
405 * configure configure.in Makefile.in: Update to new configure
406 scheme which is more compatible with WinGDB builds.
407 * configure.in: Improve comment on how to run autoconf.
408 * configure: Re-run autoconf to get new ../common/aclocal.m4.
409 * Makefile.in: Use autoconf substitution to install common
412 Wed Nov 20 01:05:10 1996 Doug Evans <dje@canuck.cygnus.com>
414 * run.c: Deleted, use one in ../common now.
415 * Makefile.in: Delete everything that's been moved to
416 ../common/Make-common.in.
418 * configure.in: Simplify using macros in ../common/aclocal.m4.
419 * configure: Regenerated.
420 * config.in: New file.
421 * armos.c: #include config.h.
422 * wrapper.c (mem_size): Value is in bytes now.
423 (sim_callback): New global.
424 (arm_sim_set_profile{,_size}): Delete.
425 (arm_sim_set_mem_size): Rename to sim_size.
426 (sim_do_command): Call printf_filtered via callback.
427 (sim_set_callbacks): Record callback.
429 Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
431 * Makefile.in (mostlyclean): Remove config.log.
433 Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
435 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
436 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
438 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
439 (AC_PROG_INSTALL): Added.
440 * configure: Rebuilt.
442 Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
444 * configure: Regenerate with autoconf 2.7.
446 Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
448 * run.c (main): Use new bfd_big_endian macro.
450 Mon Nov 20 17:40:38 1995 Doug Evans <dje@canuck.cygnus.com>
452 * run.c: Include "getopt.h".
454 (usage): Make static.
455 (main): Call arm_sim_set_verbosity.
456 Only load sections marked SEC_LOAD.
457 * wrapper.c (mem_size, verbosity): New static global.
458 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
459 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
461 Fri Nov 17 19:35:11 1995 Doug Evans <dje@canuck.cygnus.com>
463 * armdefs.h (ARMul_State): New member `verbose'.
464 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
465 * run.c (verbose): Make global.
466 * wrapper.c (init): Set state->verbose.
467 (ARMul_ConsolePrint): Don't print anything if !verbose.
469 Fri Oct 13 15:30:30 1995 Doug Evans <dje@canuck.cygnus.com>
471 * armos.c: #include dbg_rdi.h.
472 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
473 * armos.h (SWI_Breakpoint): Define.
474 * wrapper.c: #include armemu.h, dbg_rdi.h.
476 (sim_resume): Use state->EndCondition to record stop state.
477 Call FLUSHPIPE before returning.
478 (sim_stop_reason): Determine reason from state->EndCondition.
480 Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
482 * wrapper.c (sim_set_callbacks): New.
484 Thu Sep 28 19:45:56 1995 Doug Evans <dje@deneb.cygnus.com>
486 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
487 number of bytes not read/written (or -1).
489 Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
491 * Makefile.in (maintainer-clean): New synonym for realclean.
493 Fri Sep 8 14:27:20 1995 Ian Lance Taylor <ian@cygnus.com>
495 * configure.in: Remove AC_PROG_INSTALL.
496 * configure: Rebuild.
497 * Makefile.in (INSTALL): Revert to using install.sh.
498 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
499 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
500 (mostlyclean): Make the same as clean, not distclean.
501 (clean): Remove config.log.
502 (install): Don't install in $(tooldir).
504 Thu Sep 7 12:00:17 1995 Doug Evans <dje@canuck.cygnus.com>
506 (Try to) Update to new bfd autoconf scheme.
507 * run.c: Don't include sysdep.h.
508 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
509 (CC, CFLAGS, AR, RANLIB): Likewise.
510 (HDEFINES, TDEFINES): Define.
511 (CC_FOR_BUILD): Delete.
512 (host_makefile_frag): Delete.
513 (Makefile): Don't depend on frags.
514 * configure.in (sysdep.h): Don't create symlink.
515 (host_makefile_frag, frags): Deleted.
516 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
517 * configure: Regenerated.
519 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
521 * Update all FSF addresses except those in COPYING* files.
523 Wed Jul 5 16:15:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
525 * Makefile.in (clean): Remove run, libsim.a.
527 * Makefile.in, configure.in: converted to autoconf.
528 * configure: New file, generated with autconf 2.4.
532 Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
534 * wrapper.c (sim_do_command): New function.
536 Tue Jun 13 10:57:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
538 * armos.c (ARMul_OSHandleSWI): New version to work with
541 Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
543 * run.c (main): Grab return value from right register.
545 Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>