1 2021-06-22 Mike Frysinger <vapier@gentoo.org>
3 * configure.ac: Removed.
7 2021-06-21 Mike Frysinger <vapier@gentoo.org>
9 * aclocal.m4: Regenerate.
10 * configure: Regenerate.
12 2021-06-21 Mike Frysinger <vapier@gentoo.org>
14 * configure: Regenerate.
16 2021-06-20 Mike Frysinger <vapier@gentoo.org>
18 * configure.ac (SIM_AC_COMMON): Delete.
19 * aclocal.m4, configure: Regenerate.
21 2021-06-20 Mike Frysinger <vapier@gentoo.org>
23 * aclocal.m4: Regenerate.
24 * configure: Regenerate.
26 2021-06-19 Mike Frysinger <vapier@gentoo.org>
28 * aclocal.m4: Regenerate.
29 * configure: Regenerate.
31 2021-06-19 Mike Frysinger <vapier@gentoo.org>
33 * configure: Regenerate.
35 2021-06-18 Mike Frysinger <vapier@gentoo.org>
37 * aclocal.m4, configure: Regenerate.
39 2021-06-18 Mike Frysinger <vapier@gentoo.org>
41 * configure: Regenerate.
43 2021-06-17 Mike Frysinger <vapier@gentoo.org>
45 * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
46 * aclocal.m4, configure: Regenerate.
48 2021-06-16 Mike Frysinger <vapier@gentoo.org>
50 * configure: Regenerate.
52 2021-06-16 Mike Frysinger <vapier@gentoo.org>
54 * configure: Regenerate.
57 2021-06-15 Mike Frysinger <vapier@gentoo.org>
59 * config.in, configure: Regenerate.
61 2021-06-14 Mike Frysinger <vapier@gentoo.org>
63 * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
64 * configure: Regenerate.
66 2021-06-12 Mike Frysinger <vapier@gentoo.org>
68 * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
69 * wrapper.c (sim_open): Set current_alignment.
71 2021-06-12 Mike Frysinger <vapier@gentoo.org>
73 * aclocal.m4, config.in, configure: Regenerate.
75 2021-06-12 Mike Frysinger <vapier@gentoo.org>
77 * config.in, configure: Regenerate.
79 2021-05-17 Mike Frysinger <vapier@gentoo.org>
81 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
83 2021-05-17 Mike Frysinger <vapier@gentoo.org>
85 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
86 (struct sim_state): Delete.
88 2021-05-16 Mike Frysinger <vapier@gentoo.org>
90 * armcopro.c, armemu.c, arminit.c, armsupp.c, armvirt.c, iwmmxt.c,
91 maverick.c, thumbemu.c: Include defs.h.
92 * armos.c, wrapper.c: Replace config.h include with defs.h.
93 * armdefs.h: Delete config.h include.
95 2021-05-16 Mike Frysinger <vapier@gentoo.org>
97 * config.in, configure: Regenerate.
99 2021-05-14 Mike Frysinger <vapier@gentoo.org>
101 * armos.c (ARMul_OSHandleSWI): Delete 2nd arg to time callback.
103 2021-05-14 Mike Frysinger <vapier@gentoo.org>
105 * armos.c: Update include path.
106 * wrapper.c: Likewise.
108 2021-05-04 Mike Frysinger <vapier@gentoo.org>
110 * configure: Regenerate.
112 2021-05-03 Simon Marchi <simon.marchi@polymtl.ca>
114 * armdefs.h (ARMul_ConsolePrint): Use format attribute.
115 * wrapper.c (op_printf): Likewise.
117 2021-05-01 Mike Frysinger <vapier@gentoo.org>
119 * config.in, configure: Regenerate.
121 2021-05-01 Mike Frysinger <vapier@gentoo.org>
123 * Makefile.in (SIM_OBJS): Change armemu26.o to armemu.o.
124 (armemu26.o, armemu32.o): Delete targets.
125 * armemu32.c: New file.
127 2021-04-26 Mike Frysinger <vapier@gentoo.org>
129 * aclocal.m4, config.in, configure: Regenerate.
131 2021-04-26 Nick Clifton <nickc@redhat.com>
134 * armemu.c (Handle_Store_Double): Allow 4 byte alignment when
137 2021-04-22 Tom Tromey <tom@tromey.com>
139 * configure, config.in: Rebuild.
141 2021-04-22 Tom Tromey <tom@tromey.com>
143 * Makefile.in (armemu26.o, armemu32.o): Use COMPILE and
146 2021-04-22 Tom Tromey <tom@tromey.com>
148 * configure: Rebuild.
150 2021-04-21 Mike Frysinger <vapier@gentoo.org>
152 * aclocal.m4: Regenerate.
154 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
156 * configure: Regenerate.
158 2021-04-18 Mike Frysinger <vapier@gentoo.org>
160 * configure: Regenerate.
162 2021-04-12 Mike Frysinger <vapier@gentoo.org>
164 * wrapper.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
166 2021-04-02 Mike Frysinger <vapier@gentoo.org>
168 * aclocal.m4, configure: Regenerate.
170 2021-02-28 Mike Frysinger <vapier@gentoo.org>
172 * configure: Regenerate.
174 2021-02-21 Mike Frysinger <vapier@gentoo.org>
176 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
177 * aclocal.m4, configure: Regenerate.
179 2021-02-13 Mike Frysinger <vapier@gentoo.org>
181 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
182 * aclocal.m4, configure: Regenerate.
184 2021-02-06 Mike Frysinger <vapier@gentoo.org>
186 * configure: Regenerate.
188 2021-01-11 Mike Frysinger <vapier@gentoo.org>
190 * config.in, configure: Regenerate.
192 2021-01-09 Mike Frysinger <vapier@gentoo.org>
194 * configure: Regenerate.
196 2021-01-08 Mike Frysinger <vapier@gentoo.org>
198 * configure: Regenerate.
200 2021-01-04 Mike Frysinger <vapier@gentoo.org>
202 * wrapper.c: Include stdlib.h.
204 2021-01-04 Mike Frysinger <vapier@gentoo.org>
206 * iwmmxt.c: Include stdlib.h.
208 2021-01-04 Mike Frysinger <vapier@gentoo.org>
210 * configure: Regenerate.
212 2020-12-15 Nick Clifton <nickc@redhat.com>
214 * wrapper.c (sim_create_inferior): Accept some more ARM machine numbers.
216 2020-12-15 Jens Bauer <jens@plustv.dk>
218 * armemu.c (handle_v6_insn): Add support for SDIV and UDIV.
219 * thumbemu.c (handle_T2_insn): Likewise.
221 2020-10-20 Dr. David Alan Gilbert <dgilbert@redhat.com>
223 * armos.c (SWIread): Fix printf format.
225 2020-08-13 Luis Machado <luis.machado@linaro.org>
229 * wrapper.c (sim_target_parse_command_line): Free discarded argv
231 (sim_open): Use a duplicate of argv instead of the original argv.
233 2020-01-17 Christian Biesinger <cbiesinger@google.com>
235 * iwmmxt.c: Fix spelling error (seperate).
237 2019-12-06 Luis Machado <luis.machado@linaro.org>
239 * armemu.c (isize): Move this declaration ...
240 * arminit.c (isize): ... here.
241 * maverick.h: New file.
242 * wrapper.c: Include "maverick.h".
243 (<struct maverick_regs>, <union maverick_acc_regs>): Remove and update
245 (sim_create_inferior): Cast variables to proper type.
246 * maverick.c: Include "maverick.h".
247 (<struct maverick_regs>, <union maverick_acc_regs>): Move
248 declarations to maverick.h and update comment.
249 (DSPsc, DSPacc, DSPregs): Adjust comment.
251 2018-01-02 Nick Clifton <nickc@redhat.com>
254 * maverick.c (DSPCDP4): Add missing parameter to debug print
257 2017-09-21 Yao Qi <yao.qi@linaro.org>
259 * wrapper.c (print_insn): Use disassembler instead of
260 print_insn_little_arm.
262 2017-09-06 John Baldwin <jhb@FreeBSD.org>
264 * configure: Regenerate.
266 2017-02-13 Mike Frysinger <vapier@gentoo.org>
268 * armos.c: Include libiberty.h.
269 (SWIopen): Use ARRAY_SIZE.
270 * armsupp.c: Include libiberty.h.
271 (ModeToBank): Use ARRAY_SIZE.
272 * wrapper.c (sim_target_parse_command_line): Likewise.
274 2016-07-14 Nick Clifton <nickc@redhat.com>
276 * armemu.c (Multiply64): Only issue error messages about invalid
277 arguments if debugging is enabled.
278 * armos.c (ARMul_OSHandleSWI): Ignore invalid flags.
280 2016-01-10 Mike Frysinger <vapier@gentoo.org>
282 * config.in, configure: Regenerate.
284 2016-01-10 Mike Frysinger <vapier@gentoo.org>
286 * configure: Regenerate.
288 2016-01-10 Mike Frysinger <vapier@gentoo.org>
290 * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
291 * configure: Regenerate.
293 2016-01-10 Mike Frysinger <vapier@gentoo.org>
295 * configure: Regenerate.
297 2016-01-10 Mike Frysinger <vapier@gentoo.org>
299 * configure: Regenerate.
301 2016-01-10 Mike Frysinger <vapier@gentoo.org>
303 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
304 * configure: Regenerate.
306 2016-01-10 Mike Frysinger <vapier@gentoo.org>
308 * configure: Regenerate.
310 2016-01-10 Mike Frysinger <vapier@gentoo.org>
312 * configure: Regenerate.
314 2016-01-09 Mike Frysinger <vapier@gentoo.org>
316 * config.in, configure: Regenerate.
318 2016-01-06 Mike Frysinger <vapier@gentoo.org>
320 * wrapper.c (sim_create_inferior): Mark argv and env const.
321 (sim_open): Mark argv const.
323 2016-01-04 Mike Frysinger <vapier@gentoo.org>
325 * configure: Regenerate.
327 2016-01-03 Mike Frysinger <vapier@gentoo.org>
329 * wrapper.c (sim_open): Update sim_parse_args comment.
331 2016-01-03 Mike Frysinger <vapier@gentoo.org>
333 * wrapper.c (sim_target_parse_arg_array): Replace for loop with
336 2016-01-03 Mike Frysinger <vapier@gentoo.org>
338 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
339 * configure: Regenerate.
341 2016-01-02 Mike Frysinger <vapier@gentoo.org>
343 * configure: Regenerate.
344 * wrapper.c (init): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
346 2015-12-30 Mike Frysinger <vapier@gentoo.org>
348 * wrapper.c (sim_store_register): Rename to ...
349 (arm_reg_store): ... this.
350 (sim_fetch_register): Rename to ...
351 (arm_reg_fetch): ... this.
352 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
354 2015-12-27 Mike Frysinger <vapier@gentoo.org>
356 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
358 2015-12-26 Mike Frysinger <vapier@gentoo.org>
360 * config.in, configure: Regenerate.
362 2015-12-25 Mike Frysinger <vapier@gentoo.org>
364 * Makefile.in (SIM_OBJS): Delete bag.o.
365 * armdefs.h (struct ARMul_State): Delete ErrorCode.
366 (ResetPin, FIQPin, IRQPin, AbortPin, TransPin, BigEndPin, Prog32Pin,
367 Data32Pin, LateAbortPin, ARMul_OSExit, ARMul_OSLastErrorP,
368 ARMul_Debug, ARMul_OSException,rdi_log, SpinCursor, HOURGLASS,
369 HOURGLASS_RATE): Delete.
370 * armemu.c (ARMul_Emulate26): Delete ARMul_Debug call.
371 * arminit.c (ARMul_Reset): Do not set state->ErrorCode.
372 (ARMul_Abort): Delete ARMul_OSException call.
373 * armopts.h: Delete file.
374 * armos.c (isatty_, ARMul_OSExit, ARMul_OSException,
375 ARMul_OSLastErrorP, ARMul_Debug, BUFFERSIZE, UNIQUETEMPS, NOOP,
376 BINARY, READOP, WRITEOP, FIXCRLF): Delete.
377 (struct OSblock): Delete Time0, ErrorP, FileTable, FileFlags, and
379 (ARMul_OSInit): Do not set OSptr->ErrorP, OSptr->FileTable, or
381 * armrdi.c: Delete file.
382 * armvirt.c: Delete armopts.h include.
383 (ARMul_LoadInstrS): Delete HOURGLASS logic.
384 * bag.c, bag.h, communicate.c, communicate.h, dbg_conf.h, dbg_cp.h,
385 dbg_hif.h: Delete files.
386 * dbg_rdi.h (RDP_*, RDI*): Delete defines.
387 (PointHandle, ThreadHandle, Dbg_ConfigBlock, Dbg_HostosInterface,
388 Dbg_MCState, getbufferproc): Delete.
389 (rdi_*): Delete Functions.
390 (RDI_ConfigAspect, RDI_ConfigMatchType, RDI_NameList): Delete
391 (struct RDIProcVec): Delete.
392 * gdbhost.c, gdbhost.h, kid.c, main.c, parent.c: Delete files.
393 * wrapper.c (ARMul_Debug): Delete.
395 2015-12-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
397 * thumbemu.c (handle_T2_insn): Fix left shift of negative value.
398 * armemu.c (handle_v6_insn): Likewise.
400 2015-11-14 Mike Frysinger <vapier@gentoo.org>
402 * wrapper.c (sim_close): Delete.
404 2015-07-14 Nick Clifton <nickc@redhat.com>
406 * armcopro.c: Remove extraneous whitespace.
407 * armdefs.h: Likewise.
408 * armfpe.h: Likewise.
409 * arminit.c: Likewise.
410 * armopts.h: Likewise.
413 * armrdi.c: Likewise.
414 * armsupp.c: Likewise.
415 * armvirt.c: Likewise.
418 * communicate.c: Likewise.
419 * communicate.h: Likewise.
420 * dbg_conf.h: Likewise.
421 * dbg_cp.h: Likewise.
422 * dbg_hif.h: Likewise.
423 * dbg_rdi.h: Likewise.
424 * gdbhost.c: Likewise.
425 * gdbhost.h: Likewise.
426 * iwmmxt.c: Likewise.
427 * iwmmxt.h: Likewise.
430 * maverick.c: Likewise.
431 * parent.c: Likewise.
432 * thumbemu.c: Likewise.
433 * wrapper.c: Likewise.
435 2015-07-02 Nick Clifton <nickc@redhat.com>
437 * Makefile.in (SIM_EXTRA_CFLAGS): Revert previous delta.
438 (SIM_EXTRA_LIBS): Add -lm.
440 2015-06-28 Nick Clifton <nickc@redhat.com>
442 * Makefile.in (SIM_EXTRA_CFLAGS): Add -lm.
443 * armdefs.h (ARMdval, ARMfval): New types.
444 (ARM_VFP_reg): New union.
445 (struct ARMul_State): Add VFP_Reg and FPSCR fields.
446 (VFP_fval, VFP_uword, VFP_sword, VFP_dval, VFP_dword): Accessor
447 macros for the new VFP_Reg field.
448 * armemu.c (handle_v6_insn): Add code to handle MOVW, MOVT,
449 QADD16, QASX, QSAX, QSUB16, QADD8, QSUB8, UADD16, USUB16, UADD8,
450 USUB8, SEL, REV, REV16, RBIT, BFC, BFI, SBFX and UBFX
452 (handle_VFP_move): New function.
453 (ARMul_Emulate16): Add checks for newly supported v6
454 instructions. Add support for VMRS, VMOV and MRC instructions.
455 (Multiply64): Allow nRdHi == nRm and/or nRdLo == nRm when
456 operating in v6 mode.
457 * armemu.h (t_resolved): Define.
458 * armsupp.c: Include math.h.
459 (handle_VFP_xfer): New function. Handles VMOV, VSTM, VSTR, VPUSH,
460 VSTM, VLDM and VPOP instructions.
461 (ARMul_LDC): Test for co-processor 10 or 11 and pass call to the
462 new handle_VFP_xfer function.
463 (ARMul_STC): Likewise.
464 (handle_VFP_op): New function. Handles VMLA, VMLS, VNMLA, VNMLS,
465 VNMUL, VMUL, VADD, VSUB, VDIV, VMOV, VABS, VNEG, VSQRT, VCMP,
466 VCMPE and VCVT instructions.
467 (ARMul_CDP): Test for co-processor 10 or 11 and pass call to the
468 new handle_VFP_op function.
469 * thumbemu.c (tBIT, tBITS, ntBIT, ntBITS): New macros.
470 (test_cond): New function. Tests a condition and returns non-zero
471 if the condition has been met.
472 (handle_IT_block): New function.
473 (in_IT_block): New function.
474 (IT_block_allow): New function.
475 (ThumbExpandImm): New function.
476 (handle_T2_insn): New function. Handles T2 thumb instructions.
477 (handle_v6_thumb_insn): Add next_instr and pc parameters.
478 (ARMul_ThumbDecode): Add support for IT blocks. Add support for
480 * wrapper.c (sim_create_inferior): Detect a thumb address and call
483 2015-06-23 Mike Frysinger <vapier@gentoo.org>
485 * configure: Regenerate.
487 2015-06-23 Mike Frysinger <vapier@gentoo.org>
489 * armdefs.h: Always include stdint.h.
491 [!HAVE_STDINT_H]: Delete.
492 * dbg_hif.h [!__STDC__]: Delete.
494 2015-06-12 Mike Frysinger <vapier@gentoo.org>
496 * configure: Regenerate.
498 2015-06-12 Mike Frysinger <vapier@gentoo.org>
500 * configure: Regenerate.
502 2015-04-18 Mike Frysinger <vapier@gentoo.org>
504 * sim-main.h (SIM_CPU): Delete.
506 2015-04-18 Mike Frysinger <vapier@gentoo.org>
508 * sim-main.h (sim_cia): Delete.
510 2015-04-17 Mike Frysinger <vapier@gentoo.org>
512 * sim-main.h (CIA_GET, CIA_SET): Delete.
514 2015-04-17 Mike Frysinger <vapier@gentoo.org>
516 * wrapper.c (arm_pc_get, arm_pc_set): New functions.
517 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
518 CPU_PC_STORE for all cpus.
520 2015-04-15 Mike Frysinger <vapier@gentoo.org>
522 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
523 * sim-main.h (STATE_CPU): Delete.
525 2015-04-13 Mike Frysinger <vapier@gentoo.org>
527 * configure: Regenerate.
529 2015-04-12 Mike Frysinger <vapier@gentoo.org>
531 * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list.
533 2015-04-06 Mike Frysinger <vapier@gentoo.org>
535 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
537 2015-04-01 Mike Frysinger <vapier@gentoo.org>
539 * Makefile.in (armos.o, armcopro.o, maverick.o, iwmmxt.o, arminit.o,
540 armrdi.o, armsupp.o, thumbemu.o, bag.o, wrapper.o): Delete rules.
541 * tconfig.h: Delete file.
543 2015-03-31 Mike Frysinger <vapier@gentoo.org>
545 * config.in, configure: Regenerate.
547 2015-03-30 Mike Frysinger <vapier@gentoo.org>
549 * Makefile.in (SIM_RUN_OBJS): Delete.
550 (SIM_EXTRA_CFLAGS): Delete -DSIM_TARGET_SWITCHES and
551 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
552 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
553 * sim-main.h: New file.
554 * wrapper.c: Delete armdefs.h, sim-utils.h, and run-sim.h includes.
555 Add sim-main.h and sim-options.h includes.
556 (sim_callback, mem_size, trace): Add TODO comments.
557 (state): Delete static and add TODO comment.
558 (sim_kind, myname, big_endian): Delete.
559 (init): Change big_endian to CURRENT_TARGET_BYTE_ORDER check.
560 (sim_size, sim_trace, sim_info, sim_target_display_usage, sim_load,
561 sim_do_command, sim_set_callbacks, sim_complete_command): Delete.
562 (sim_target_parse_command_line): Mark static.
563 (free_state): New function.
564 (sim_open): Rewrite to use new common logic.
565 (sim_close): Delete body.
567 2015-03-30 Mike Frysinger <vapier@gentoo.org>
569 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
570 * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
571 ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
572 (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
574 2015-03-30 Mike Frysinger <vapier@gentoo.org>
576 * armemu.c [MODE32] (handle_v6_insn): Move definition.
577 (ARMul_Emulate26): Initialize do_int after label target.
578 * armemu.h (UNDEF_Test, UNDEF_Shift, UNDEF_MSRPC, UNDEF_MRSPC,
579 UNDEF_MULPCDest, UNDEF_MULDestEQOp1, UNDEF_LSRBPC,
580 UNDEF_LSRBaseEQOffWb, UNDEF_LSRBaseEQDestWb, UNDEF_LSRPCBaseWb,
581 UNDEF_LSRPCOffWb, UNDEF_LSMNoRegs, UNDEF_LSMPCBase,
582 UNDEF_LSMUserBankWb, UNDEF_LSMBaseInListWb, UNDEF_SWPPC,
583 UNDEF_CoProHS, UNDEF_MCRPC, UNDEF_LSCPCBaseWb,
584 UNDEF_UndefNotBounced, UNDEF_ShortInt, UNDEF_IllegalMode,
585 UNDEF_Prog32SigChange, UNDEF_Data32SigChange): Define to while(0).
586 * armsupp.c (ARMul_Align): Convert old style prototype.
587 * bag.c (addtolist, killwholelist): Mark static.
588 (BAG_newbag): Convert old style prototype.
589 * maverick.c (mv_compute_host_endianness): Delete.
590 * wrapper.c (verbosity, sim_set_verbose): Delete.
591 (init): Set state->verbose to 0.
593 2015-03-30 Mike Frysinger <vapier@gentoo.org>
595 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
596 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
597 SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
598 * config.in, configure: Regenerate.
600 2015-03-30 Mike Frysinger <vapier@gentoo.org>
602 * Makefile.in (COPRO): Delete.
603 (SIM_OBJS): Expand COPRO.
604 * configure.ac: Deletd stdint.h check.
606 * configure: Regenerate.
608 2015-03-16 Mike Frysinger <vapier@gentoo.org>
610 * config.in, configure: Regenerate.
611 * tconfig.in: Rename file ...
612 * tconfig.h: ... here.
614 2015-03-14 Mike Frysinger <vapier@gentoo.org>
616 * Makefile.in (SIM_EXTRA_CFLAGS): Add
617 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
618 (SIM_RUN_OBJS): Set to run.o.
620 2015-03-14 Mike Frysinger <vapier@gentoo.org>
622 * configure.ac (AC_CHECK_HEADERS): Delete unistd.h.
623 * aclocal.m4, configure: Regenerate.
625 2014-08-19 Alan Modra <amodra@gmail.com>
627 * configure: Regenerate.
629 2014-08-15 Roland McGrath <mcgrathr@google.com>
631 * configure: Regenerate.
632 * config.in: Regenerate.
634 2014-03-18 Nick Clifton <nickc@redhat.com>
636 * wrapper.c: Convert function declarations to ISO C format.
637 (sim_open): Delete code for handling t,d and z command line
640 2014-03-14 Nick Clifton <nickc@redhat.com>
642 * wrapper.c (op_print): New function.
643 (sim_dis_read): New function.
644 (print_insn): New function - disassembles the given instruction.
645 (sim_trace): Note that tracing is now allowed.
646 (sim_create_inferior): Default to emulating v6.
647 Initialise the disassembler machinery.
648 (sim_target_parse_command_line): Add support for -t -d and -z
650 (sim_target_display_usage): Note existence of -d and -z options.
651 (sim_open): Parse -t -d and -z options.
652 * armemu.h: Add exports of trace, disas and trace_funcs.
653 Add prototype for print_insn.
654 * armemu.c (ARMul_Emulate26): Add tracing code.
655 Delete unused variables.
656 * thumbemu (handle_v6_thumb_insn): Delete unused variable Rd.
657 Move Rm variable into switch cases.
660 * armcopro.c (XScale_cp15_init): Add a return value.
661 (XScale_cp13_init): Likewise.
662 (XScale_cp14_init): Likewise.
663 (XScale_cp15_LDC): Delete unused function.
664 (XScale_cp15_STC): Likewise.
665 * maverick.c: Delete comment inside comment.
666 (DSPInit): Delete unused function.
667 (DSPMCR4): Fix compile time warning about missing parenthesis.
669 (DSPCDP6): Delete unused variable opcode2.
671 2014-03-14 David McQuillan <dmcq@tao-group.com>
674 * armemu.c (WriteR15Load): New function. Determines if the state
675 can be changed upon a write to R15.
676 (LoadMult): Use WriteR15Load.
677 * armemu.h (WRITEDESTB): Use WriteR15Load.
679 2014-03-10 Mike Frysinger <vapier@gentoo.org>
681 * wrapper.c (sim_do_command): Add const to cmd.
683 2014-03-05 Mike Frysinger <vapier@gentoo.org>
685 * wrapper.c (sim_load): Add const to prog.
687 2013-09-23 Alan Modra <amodra@gmail.com>
689 * configure: Regenerate.
691 2013-06-03 Mike Frysinger <vapier@gentoo.org>
693 * aclocal.m4, configure: Regenerate.
695 2013-05-07 Jayant Sonar <jayant.sonar@kpitcummins.com>
696 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
698 * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT.
700 2012-12-19 Joel Brobecker <brobecker@adacore.com>
702 * COPYING: Update to GPL version 3.
704 2012-09-03 Nick Clifton <nickc@redhat.com>
707 * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction
710 2012-08-01 Kevin Buettner <kevinb@redhat.com>
712 * wrapper.c (libiberty.h): Include.
713 (sim_store_register, sim_fetch_register): On success, return
714 length, instead of -1.
716 2012-06-15 Joel Brobecker <brobecker@adacore.com>
718 * config.in, configure: Regenerate.
720 2012-06-13 Nick Clifton <nickc@redhat.com>
722 * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
725 2012-05-24 Pedro Alves <palves@redhat.com>
729 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
731 2012-05-18 Nick Clifton <nickc@redhat.com>
734 * wrapper.c: Include config.h before system header files.
736 2012-03-24 Mike Frysinger <vapier@gentoo.org>
738 * aclocal.m4, config.in, configure: Regenerate.
740 2011-12-03 Mike Frysinger <vapier@gentoo.org>
742 * aclocal.m4: New file.
743 * configure: Regenerate.
745 2011-10-17 Mike Frysinger <vapier@gentoo.org>
747 * configure.ac: Change include to common/acinclude.m4.
749 2011-10-17 Mike Frysinger <vapier@gentoo.org>
751 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
752 call. Replace common.m4 include with SIM_AC_COMMON.
753 * configure: Regenerate.
755 2011-07-01 Nick Clifton <nickc@redhat.com>
758 * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a
760 (WMAC): Extend computed result before adding to result register.
761 (WRSA): Sign extend 32-bit values before shifting.
763 2011-04-16 Mike Frysinger <vapier@gentoo.org>
765 * wrapper.c (sim_complete_command): New stub function.
767 2010-05-26 Ozkan Sezer <sezeroz@gmail.com>
769 * communicate.c (MYread_char): Check error return from accept() call
770 by its equality to -1 not by it being negative.
771 (MYread_charwait): Likewise.
772 * main.c (main): Likewise for both socket() and accept() calls.
774 2010-04-14 Mike Frysinger <vapier@gentoo.org>
776 * wrapper.c (sim_write): Add const to buffer arg.
778 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
780 * configure: Regenerate.
782 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
784 * config.in: Regenerate.
785 * configure: Likewise.
787 * configure: Regenerate.
789 2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
791 * arminit.c, iwmmxt.c: Include <string.h> to
793 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
795 * configure: Regenerate to track ../common/common.m4 changes.
798 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
799 Daniel Jacobowitz <dan@codesourcery.com>
800 Joseph Myers <joseph@codesourcery.com>
802 * configure: Regenerate.
803 * wrapper.c (sim_target_display_usage): Add help parameter.
805 2007-02-27 Mark Mitchell <mark@codesourcery.com>
807 * armos.c (SWIflen): Do not treate file descriptor zero as
810 2007-02-15 Nick Clifton <nickc@redhat.com>
812 * armemu.c (handle_v6_insn): Fix typo in sign extension test of
813 the sext and sxtah instructions.
815 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
817 Reported by timeless@gmail.com:
818 * wrapper.c (sim_target_parse_arg_array): Do not return void value.
820 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
822 * acconfig.h: Remove.
823 * config.in: Regenerate.
825 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
827 * configure: Regenerated.
829 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
831 * configure: Regenerated.
833 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
835 * configure: Regenerated.
837 2006-03-07 Paul Brook <paul@codesourcery.com>
839 * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
841 2006-02-01 Shaun Jackman <sjackman@gmail.com>
843 * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
844 call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
846 2005-11-23 Mark Mitchell <mark@codesourcery.com>
848 * wrapper.c (gdb/signals.h): Include it.
849 (SIGTRAP): Don't define.
851 (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
853 2005-11-16 Shaun Jackman <sjackman@gmail.com>
855 * armos.c: Include limits.h
856 (unlink): Remove this macro. It is unused in this file and
857 conflicts with sim_callback->unlink.
858 (PATH_MAX): Define as 1024 if not already defined.
859 (ReadFileName): New function.
860 (SWIopen): Fix a potential buffer overflow.
861 (SWIremove): New function.
863 (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
864 SWI_Remove, and SWI_Rename, as well as the RDI calls
865 AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
866 AngelSWI_Reason_Rename.
868 2005-09-19 Paul Brook <paul@codesourcery.com>
870 * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
872 * armemu.c: Use them.
873 * armvirt.c (ARMul_MemoryInit): Use correct type for size.
874 * configure.ac: Check for stdint.h.
875 * config.in: Regenerate.
876 * configure: Regenerate.
878 2005-05-24 Nick Clifton <nickc@redhat.com>
880 * thumbemu.c (handle_v6_thumb_insn): New function.
881 (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
882 instruction binary is encountered.
884 2005-05-12 Nick Clifton <nickc@redhat.com>
886 * Update the address and phone number of the FSF organization in
887 the GPL notices in the following files:
888 COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
889 armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
890 armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
891 communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
892 gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
893 maverick.c, parent.c, thumbemu.c, wrapper.c
895 2005-04-20 Nick Clifton <nickc@redhat.com>
897 * armemu.c (handle_v6_insn): New function - emulate a few of the
898 v6 instructions - the ones now generated by GCC.
899 (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
901 * armdefs.h (struct ARMul_State): Add new field: is_v6.
902 (ARM_v6_Prop): Define.
903 * arminit.c (ARMul_NewState): Initialise the v6 flag.
904 (ARMul_SelectProcessor): Determine if the v6 flag should be
906 * wrapper.c (sim_create_inferior): For unknown architectures,
907 default to allowing the v6 instructions.
909 2005-04-18 Nick Clifton <nickc@redhat.com>
911 * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
913 (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
914 indicate an unsigned long long constant.
916 2005-03-23 Mark Kettenis <kettenis@gnu.org>
918 * configure: Regenerate.
920 2005-01-14 Andrew Cagney <cagney@gnu.org>
922 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
923 explicit call to AC_CONFIG_HEADER.
924 * configure: Regenerate.
926 2005-01-12 Andrew Cagney <cagney@gnu.org>
928 * configure.ac: Update to use ../common/common.m4.
929 * configure: Re-generate.
931 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
933 * configure: Regenerated to track ../common/aclocal.m4 changes.
935 2005-01-07 Andrew Cagney <cagney@gnu.org>
937 * configure.ac: Rename configure.in, require autoconf 2.59.
938 * configure: Re-generate.
940 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
942 * configure: Regenerate for ../common/aclocal.m4 update.
944 2004-06-28 Andrew Cagney <cagney@gnu.org>
946 * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
948 2003-12-29 Mark Mitchell <mark@codesourcery.com>
950 * armos.c (fcntl.h): Do not include it.
951 (O_RDONLY): Do not define.
952 (O_WRONLY): Likewise.
954 (targ-vals.h): Include it.
955 (translate_open_mode): Use TARGET_O_* instead of O_*.
957 * Makefile.in (armos.o): Depend on targ-vals.h.
959 2003-04-13 Nick Clifton <nickc@redhat.com>
961 * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
965 2003-03-30 Nick Clifton <nickc@redhat.com>
967 * configure.in (CON_FLAGS): Remove.
968 (COPRO): Unconditionally include iwmmxt.o.
969 * configure: Regenerate.
970 * Makefile.in (CON_FLAGS): Remove.
971 * armcopro.c: Remove use of __IWMMXT__ flag.
972 * wrapper.c: Likewise.
973 * armemu.c: Likewise.
974 Add explanatory comment for suppressed code.
976 2003-03-27 Nick Clifton <nickc@redhat.com>
978 * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
980 2003-03-27 Nick Clifton <nickc@redhat.com>
982 * configure.in: (CON_FLAGS): Define and intialise.
983 (COPRO): Add iwmmxt.o if configuring for XScale.
984 * configure: Regenerate.
985 * Makefile.in (iwmmxt.o): Add rule to build.
987 (ALL_FLAGS): Add CON_FLAGS.
988 * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
989 * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
990 (ARM_iWMMXt_Prop): Define.
991 * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
993 * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
994 (ARMul_Abort): Catch branches through uninitialised vectors.
995 * armos.c (softevtorcode): Update comment.
996 (ARMul_OsInit): Use ARMUndefinedInstrV.
997 * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
998 (sim_store_register): Handle iWMMXt registers.
999 (sim_fetch_register): Handle iWMMXt registers.
1000 * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
1002 * iwmmxt.c: New file: iWMMXt emulator.
1004 2003-03-20 Nick Clifton <nickc@redhat.com>
1006 * Contribute support for Cirrus Maverick ARM co-processor,
1007 written by Aldy Hernandez <aldyh@redhat.com> and
1008 Andrew Cagney <cagney@redhat.com>:
1010 * maverick.c: New file: Support for Maverick floating point
1012 * Makefile.in: Add maverick.o target.
1013 * configure.in (COPRO): Add maverick.o.
1014 * configure: Regenerate.
1015 * armcopro.c (ARMul_CoProInit): Only initialise co-processors
1016 available on target processor. Add code to initialse Maverick
1017 co-processor support code.
1018 * armdefs.h (ARMul_state): Add is_ep9312 field.
1019 (ARM_ep9312_Prop): Define.
1020 * armemu.h: Add prototypes for Maverick co-processor
1022 * arminit.c (ARMul_SelectProcessor): Initialise the
1023 co-processor support once the chip has been selected.
1024 * wrapper.c: Add support for Maverick co-processor.
1025 (init): Do not call ARMul_CoProInit. Delays this until the
1026 chip has been selected.
1028 2003-03-02 Nick Clifton <nickc@redhat.com>
1030 * armos.c (SWIWrite0): Catch big-endian bug when printing
1033 2003-02-27 Andrew Cagney <cagney@redhat.com>
1035 * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
1037 2003-01-10 Ben Elliston <bje@redhat.com>
1039 * README.Cygnus: Rename from this ..
1040 * README: .. to this.
1042 2002-09-27 Andrew Cagney <ac131313@redhat.com>
1044 * wrapper.c (sim_open): Add support for -m<mem-size>.
1045 (mem_size): Reduce to 2MB.
1048 2002-08-15 Nick Clifton <nickc@redhat.com>
1050 * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
1051 can be caused by an interrupted system call being resumed by GDB.
1053 2002-07-05 Nick Clifton <nickc@cambridge.redhat.com>
1055 * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
1056 and MIAxy instructions.
1058 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
1060 * armos.h (ADP_Stopped_RunTimeError): Set correct value.
1062 2002-06-16 Andrew Cagney <ac131313@redhat.com>
1064 * configure: Regenerated to track ../common/aclocal.m4 changes.
1066 2002-06-12 Andrew Cagney <ac131313@redhat.com>
1068 * Makefile.in: Update copyright.
1069 (wrapper.o): Specify dependencies.
1070 * wrapper.c: Include "gdb/sim-arm.h".
1071 (sim_store_register, sim_fetch_register): Rewrite using `enum
1072 arm_sim_regs' and a switch.
1074 2002-06-09 Andrew Cagney <cagney@redhat.com>
1076 * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
1077 * armos.c: Include "gdb/callback.h".
1079 2002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
1081 * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
1082 if a Data Abort is detected.
1084 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1086 * armvirt.c (GetWord): Only perform access checks if 'check'
1088 (PutWord): Likewise.
1089 * wrapper.c (sim_create_inferior): Report unknown machine
1091 * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
1092 2, it has already been advanced.
1094 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
1096 * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
1097 instruction do not add in the second bit of the base address -
1098 this has already been accounted for.
1100 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
1102 * armcopro.c (check_cp13_access): Allow access to register 1 when
1104 (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
1106 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
1108 * Makefile.in (SIM_TARGET_SWITCHES): Define.
1109 * armos.c (swi_mask): Define. Initialise to supporting all
1111 (ARMul_OSInit): For XScale targets, only support the ANGEL
1112 SWI interface. (This is at the request if Intel).
1113 (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
1114 SWI call should be emulated.
1115 Do not fall through from AngelSWI_Reason_WriteC.
1116 Propagate exit code from RedBoot Exit SWI.
1117 * rdi-dgb.h (swi_mask): Prototype.
1118 (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
1119 * wrapper.c (sim_target_parse_command_line): New function.
1120 Look for and handle --swi-support switch.
1121 (sim_target_parse_arg_array): New function. Process an argv
1122 array for parsing by sim_target_parse_command_line.
1123 (sim_target_display_usage): New function. Describe syntax of
1124 --swi-suppoort switch.
1125 (sim_open): Add call to sim_target_parse_arg_array).
1127 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1129 * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
1130 mode and some of its system calls.
1132 2002-03-17 Anthony Green <green@redhat.com>
1134 * wrapper.c (mem_size): Increase the default target memory to 8MB.
1136 2002-02-21 Keith Seitz <keiths@redhat.com>
1138 * armos.c (SWIWrite0): Use generic host_callback mechanism
1139 for supported OS functions "open", "close", "write", etc.
1140 (SWIopen): Likewise.
1141 (SWIread): Likewise.
1142 (SWIwrite): Likewise.
1143 (SWIflen): Likewise.
1144 (ARMul_OSHandleSWI): Likewise.
1146 2002-02-05 Nick Clifton <nickc@cambridge.redhat.com>
1148 * wrapper.c (sim_create_inferior): Modify previous patch so that
1149 it is only triggered for COFF format executables.
1151 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
1153 * wrapper.c (sin_create_inferior): If a v5 architecture is
1154 detected, assume it might be an XScale binary, since there is no
1155 way to distinguish between the two in the COFF file format.
1157 2002-01-10 Nick Clifton <nickc@cambridge.redhat.com>
1159 * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
1160 * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
1162 Fix formatting. Improve layout.
1163 * armemu.h: Fix formatting. Improve layout.
1165 2002-01-09 Nick Clifton <nickc@cambridge.redhat.com>
1167 * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
1168 return zeroes in the other words.
1169 General formatting tidy ups.
1171 2001-11-16 Ben Harris <bjh21@netbsd.org>
1173 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1175 (armemu26.o): Ditto.
1177 2001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
1179 * armemu.h (CP_ACCESS_ALLOWED): New macro.
1181 * armcopro.c (read_cp14_reg): Make static.
1182 (write_cp14_reg): Make static.
1183 (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
1185 * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
1186 (ARMul_STC): Check CP_ACCESS_ALLOWED.
1187 (ARMul_MCR): Check CP_ACCESS_ALLOWED.
1188 (ARMul_MRC): Check CP_ACCESS_ALLOWED.
1189 (ARMul_CDP): Check CP_ACCESS_ALLOWED.
1191 * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not
1193 (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15.
1196 2001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
1198 * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
1199 instructions with post indexed addressing modes.
1201 2001-05-08 Jens-Christian Lache <lache@tu-harburg.de>
1203 * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
1204 determine rocesor mode.
1206 2001-04-18 matthew green <mrg@redhat.com>
1208 * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
1209 (read_cp15_reg): Make non-static.
1210 (XScale_cp15_LDC): Update for write_cp15_reg() change.
1211 (XScale_cp15_MCR): Likewise.
1212 (XScale_cp15_write_reg): Likewise.
1213 (XScale_check_memacc): New function. Check for breakpoints being
1214 activated by memory accesses. Does not support the Branch Target
1216 (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
1217 (XScale_debug_moe): New function. Set the debug Method Of Entry,
1219 (write_cp14_reg): Reset count counter if requested.
1220 * armdefs.h (struct ARMul_State): New members `LastTime' and
1221 `CP14R0_CCD' used for the timer/counters.
1222 (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
1223 ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
1224 ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
1225 ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
1226 ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
1227 ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
1228 ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
1229 ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
1230 defines for XScale registers.
1231 (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
1232 (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
1233 (ARMul_Emulate32): Handle the clock counter and hardware instruction
1234 breakpoints. Call XScale_set_fsr_far() for software breakpoints and
1235 software interrupts.
1236 (LoadMult): Call XScale_set_fsr_far() for data aborts.
1237 (LoadSMult): Likewise.
1238 (StoreMult): Likewise.
1239 (StoreSMult): Likewise.
1240 * armemu.h (write_cp15_reg): Update prototype.
1241 * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
1242 (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
1244 * armvirt.c (GetWord): Call XScale_check_memacc().
1245 (PutWord): Likewise.
1247 2001-03-20 Nick Clifton <nickc@redhat.com>
1249 * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
1250 when loading unaligned thumb instructions.
1252 2001-03-06 Nick Clifton <nickc@redhat.com>
1254 * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
1255 Compute destination address of BLX(1) instruction by
1256 taking bit 1 from PC and not from bit 0 of the offset.
1258 2001-02-27 Nick Clifton <nickc@redhat.com>
1260 * armvirt.c (GetWord): Add new parameter - check - to enable or
1261 disable the alignment checking.
1262 (PutWord): Add new parameter - check - to enable or disable the
1264 (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
1265 (ARMul_ReadWord): Pass extra parameter to GetWord.
1266 (ARMul_WriteWord): Pass extra parameter to PutWord.
1267 (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
1268 (ARMul_WriteByte): Pass extra parameter to GetWord.
1269 (ARMul_SwapWord): Pass extra parameter to PutWord.
1270 (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
1271 (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
1273 * armdefs.h: Add prototypes for ARMul_SafeReadByte and
1274 ARMul_SafeWriteByte.
1276 * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
1277 (sim_read): Use ARMul_SafeReadByte.
1279 * armos.c (in_SWI_handler): Remove.
1280 (SWIWrite0): Use ARMul_SafeReadByte.
1281 (WriteCommandLineTo): Use ARMul_SafeWriteByte.
1282 (SWIopen): Use ARMul_SafeReadByte.
1283 (SWIread): Use ARMul_SafeWriteByte.
1284 (SWIwrite): Use ARMul_SafeReadByte.
1285 (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
1286 (ARMul_OSException): Remove use of is_SWI_handler.
1288 2001-02-16 Nick Clifton <nickc@redhat.com>
1290 * armemu.c: Remove Prefetch abort for breakpoints. Instead set
1291 the state to RESUME.
1293 2001-02-14 Nick Clifton <nickc@redhat.com>
1295 * armemu.c: Add code to preserve processor mode when a prefetch
1296 abort is signalled after processing a breakpoint.
1298 * wrapper.c (sim_create_inferior): Reset processor into ARM mode
1299 for any machine type except the early ARMs.
1301 2001-02-13 Nick Clifton <nickc@redhat.com>
1303 * armos.c (in_SWI_handler): New static variable.
1304 (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
1305 (ARMul_OSException): Ignore exceptions generated whilst emulating
1308 2001-02-12 Nick Clifton <nickc@redhat.com>
1310 * armemu.h (NEGBRANCH): Fix defintion.
1312 2001-02-01 Nick Clifton <nickc@redhat.com>
1314 * armemu.c (LoadSMult): Update base address register after
1315 restoring register bank.
1316 (StoreMult): Update base address register after restoring register
1319 2001-01-31 Nick Clifton <nickc@redhat.com>
1321 * armvirt.c (PutWord): Detect installation of SWI vector.
1322 (SWI_vector_installed): Define.
1323 * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
1324 * armos.h (SWI_vector_installed): Declare.
1325 * wrapper.c (SWI_vector_installed): Remove definition.
1326 (sim_write): Remove check of SWI vector installation
1328 2000-12-18 Nick Clifton <nickc@redhat.com>
1330 * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
1333 2000-12-10 Nick Clifton <nickc@redhat.com>
1335 * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
1337 2000-12-07 Nick Clifton <nickc@redhat.com>
1339 * armemu.c (ARMul_Emulate26): Detect double word load and
1340 store instructions and call emulation routines.
1341 (Handle_Load_Double): Emulate a double word load instruction.
1342 (Handle_Store_Double): Emulate a double word store
1345 2000-12-03 Nick Clifton <nickc@redhat.com>
1347 * armos.c: Fix formatting.
1348 (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
1351 2000-11-29 Nick Clifton <nickc@redhat.com>
1353 * armdefs.h (State): Add 'v5e' and 'xscale' fields.
1354 (ARM_v5e_Prop): Define.
1355 (ARM_XScale_Prop): Define.
1357 * wrapper.c (sim_create_inferior): Select processor based on
1359 (SWI_vector_installed): New boolean. Set to true if the SWI
1360 vector address is written to by the executable.
1362 * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
1363 (ARMul_SelectProcessor): Initialise v5e and xscale signals.
1364 (ARMul_Abort): Fix calculation of LR address.
1366 * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
1367 and a SWI is not handled by the simulator, pass the SWI off to the
1368 vector, otherwise issue a warning message and continue.
1370 * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
1372 * thumbemu.c: Add v5 instruction simulation.
1373 * armemu.c: Add v5, XScale and El Segundo instruction simulation.
1375 * armcopro.c: Add XScale co-processor emulation.
1376 * armemu.h: Add exported XScale co-processor functions.
1378 2000-09-15 Nick Clifton <nickc@redhat.com>
1380 * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
1381 property. Delete unnecessary processor names.
1382 (ARM_Strong_Prop): Delete.
1383 (STRONGARM): Delete.
1386 (State): Delete is_StrongARM boolean. Add is_v4 and is_v5
1389 * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
1390 (BUSUSEDINCPCN): Use is_v4 boolean.
1392 * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
1393 (ARMul_SelectProcessor): Change second parameter from 'processor'
1394 to 'properties'. Set is_v4 and is_v5 booleans in State.
1396 * armrdi.c: Remove use of ARM processor names. Replace with ARM
1397 processor properties.
1399 * wrapper.c (sim_create_inferior): Choose properties passed to
1400 ARMul_SelectProcessor based on machine number.
1402 2000-08-14 Nick Clifton <nickc@redhat.com>
1404 * armemu.c (LHPOSTDOWN): Compute write back value before
1405 performing load in case the offset register is overwritten.
1408 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
1410 * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
1412 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
1414 * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
1417 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
1419 * armvirt.c (ABORTS): Do not define.
1421 * armdefs.h (struct ARMul_State): Add is_StrongARM.
1422 (ARM_Strong_Prop, STRONGARM): Define.
1423 * arminit.c (ARMul_NewState): Reset is_StrongARM.
1424 (ARMul_SelectProcessor): Set is_StrongARM.
1425 * wrapper.c (sim_create_inferior): Use bfd machine type to
1426 determine processor type to emulate.
1427 * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
1428 when emulating StrongARM.
1430 * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
1432 * armemu.h (INSN_SIZE): New macro.
1433 (SET_ABORT): Save CPSR in SPSR and set LR.
1434 * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
1435 (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
1436 * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
1438 * armemu.c (LoadSMult): Use WriteR15() to discard the least
1439 significant bits of PC.
1441 * armemu.h (WRITEDESTB): New macro.
1442 * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
1443 modify PC. Moved the existing logic...
1444 (WriteR15Branch): ... here. New function.
1445 (WriteR15, WriteSR15): Drop the two least significant bits.
1446 (LoadSMult): Use WriteR15Branch() to modify PC.
1447 (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
1449 * armemu.h (GETSPSR): Call ARMul_GetSPSR().
1450 * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
1451 extracted from state->Cpsr, but preserve the unused bits.
1452 (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
1453 (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
1454 get the full CPSR word.
1456 * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
1457 (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
1458 (SETPSR, SET_INTMODE, SETCC): Removed.
1459 * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
1460 mask. Use SETPSR_* to modify PSR.
1461 (ARMul_SetCPSR): Load all bits from value.
1462 * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
1464 * armemu.c (ARMul_Emulate): Compute writeback value before
1465 loading, since the offset register may be the destination
1468 * armdefs.h (SYSTEMBANK): Define as USERBANK.
1469 * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
1471 2000-06-22 Alexandre Oliva <aoliva@cygnus.com>
1473 * armemu.c (Multiply64): Fix computation of flag N.
1475 * armemu.c (MultiplyAdd64): Fix computation of flag N.
1477 2000-06-20 Alexandre Oliva <aoliva@cygnus.com>
1479 * armemu.h (NEGBRANCH): Do not overwrite the two most significant
1482 2000-05-25 Nick Clifton <nickc@cygnus.com>
1484 * armcopro.c (MMUMCR): Only indicate mode change if a singal has
1486 (MMUWrite): Only indicate mode change if a singal has really
1489 * armdefs.h (SYSTEMMODE): Define.
1490 (BANK_CAN_ACEESS_SPSR): Define.
1492 * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
1493 to advance before stopping the emulation.
1495 * arminit.c (ARMul_Reset): Ensure Mode field of State is set
1498 * armos.c (ARMul_OSInit): Create a initial stack pointer for
1501 * armsupp.c (ModeToBank): Remove unused first parameter.
1502 Add support for System Mode.
1503 (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1504 (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1505 (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1506 (ARMulSwitchMode): Add support for System Mode.
1508 Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
1510 * configure: Regenerated to track ../common/aclocal.m4 changes.
1512 2000-05-23 Nick Clifton <nickc@cygnus.com>
1514 * wrapper.c (sim_store_register): Special handling for CPSR
1517 2000-03-11 Philip Blundell <philb@gnu.org>
1519 * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
1520 Patch from Allan Skillman <Allan.Skillman@arm.com>.
1522 Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
1524 * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
1526 2000-02-08 Nick Clifton <nickc@cygnus.com>
1528 * wrapper.c: Fix compile time warning messages.
1529 * armcopro.c: Fix compile time warning messages.
1530 * armdefs.h: Fix compile time warning messages.
1531 * armemu.c: Fix compile time warning messages.
1532 * armemu.h: Fix compile time warning messages.
1533 * armos.c: Fix compile time warning messages.
1534 * armsupp.c: Fix compile time warning messages.
1535 * armvirt.c: Fix compile time warning messages.
1536 * bag.c: Fix compile time warning messages.
1538 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
1540 * *.[ch]: Use indent to make readable.
1542 1999-11-22 Nick Clifton <nickc@cygnus.com>
1544 * armos.c (SWIread): Generate an error message if a huge read is
1546 (SWIwrite): Generate an error message if a huge write is
1549 1999-10-27 Nick Clifton <nickc@cygnus.com>
1551 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
1554 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
1556 * armos.c (SWIopen): Always pass third parameter with 0666 since
1557 otherwise uninitialized memory gets access if the O_CREAT bit is
1558 set and so we possibly cannot access the file afterwards.
1560 1999-09-29 Doug Evans <devans@casey.cygnus.com>
1562 * armos.c (SWIWrite0): Send output to stdout instead of stderr.
1563 (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
1565 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
1567 * configure: Regenerated to track ../common/aclocal.m4 changes.
1569 1999-05-08 Felix Lee <flee@cygnus.com>
1571 * configure: Regenerated to track ../common/aclocal.m4 changes.
1573 1999-04-06 Keith Seitz <keiths@cygnus.com>
1575 * wrapper.c (stop_simulator): New global.
1576 (sim_stop): Set sim state to STOP and set
1578 (sim_resume): Reset stop_simulator.
1579 (sim_stop_reason): If stop_simulator is set, tell gdb
1580 that the we took SIGINT.
1581 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
1582 stop_simulator is set.
1584 1999-04-02 Keith Seitz <keiths@cygnus.com>
1586 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
1587 whenever the counter expires.
1588 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
1590 1999-03-24 Nick Clifton <nickc@cygnus.com>
1592 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
1593 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
1595 Mon Sep 14 09:00:05 1998 Nick Clifton <nickc@cygnus.com>
1597 * wrapper.c (sim_open): Set endianness according to BFD or command
1600 * tconfig.in: Define SIM_HAVE_BIENDIAN.
1602 Thu Aug 27 11:00:05 1998 Nick Clifton <nickc@cygnus.com>
1604 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
1605 the same as either RdHi or RdLo.
1607 Thu Jul 2 10:24:35 1998 Nick Clifton <nickc@cygnus.com>
1609 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
1610 Set Reg[0] based on reason for for the exception.
1612 Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com)
1614 * armos.c (SWIwrite0): New function.
1615 (WriteCommandLineTo): New function.
1616 (SWIopen): New function.
1617 (SWIread): New function.
1618 (SWIwrite): New function.
1619 (SWIflen): New function.
1620 (ARMul_OSHandleSWI): Call new functions instead of handling
1622 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
1623 (*): Reformat spacing to be a bit more GNUly.
1624 Most code taken from a patch by Anthony Thompson
1625 (athompso@cambridge.arm.com)
1627 Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
1629 * armos.h: Add Angel SWI and its reason codes.
1630 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
1632 Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
1634 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
1635 of ":tt" to catch stdin in addition to stdout.
1636 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
1637 or success of lseek().
1639 Wed May 20 17:36:25 1998 Nick Clifton <nickc@cygnus.com>
1641 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
1644 Wed Apr 29 15:29:55 1998 Jeff Johnston <jjohnstn@cygnus.com>
1646 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
1647 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
1648 seek from offset 0 and not to use R2 for whence since it is
1649 not passed as part of the SWI call.
1651 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1653 * configure: Regenerated to track ../common/aclocal.m4 changes.
1655 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
1657 * configure: Regenerated to track ../common/aclocal.m4 changes.
1660 Sun Apr 26 15:20:26 1998 Tom Tromey <tromey@cygnus.com>
1662 * acconfig.h: New file.
1663 * configure.in: Reverted change of Apr 24; use sinclude again.
1665 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1667 * configure: Regenerated to track ../common/aclocal.m4 changes.
1670 Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
1672 * configure.in: Don't call sinclude.
1674 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1676 * configure: Regenerated to track ../common/aclocal.m4 changes.
1678 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1680 * configure: Regenerated to track ../common/aclocal.m4 changes.
1682 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1684 * configure: Regenerated to track ../common/aclocal.m4 changes.
1686 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1688 * configure: Regenerated to track ../common/aclocal.m4 changes.
1690 Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
1692 * armopts.h: Remove definition of LITTLEND - it is not used.
1694 Tue Feb 17 12:35:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
1696 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
1697 length parameter. Return -1.
1699 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1701 * configure: Regenerated to track ../common/aclocal.m4 changes.
1703 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1705 * configure: Regenerated to track ../common/aclocal.m4 changes.
1707 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1709 * configure: Regenerated to track ../common/aclocal.m4 changes.
1711 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1713 * configure: Regenerated to track ../common/aclocal.m4 changes.
1716 Tue Dec 9 11:30:48 1997 Nick Clifton <nickc@cygnus.com>
1718 * Makefile.in: Updated with changes from branch.
1720 * armemu.c: ditto these changes
1721 * armemu.h: ditto add support for
1722 * armos.c: ditto the Thumb instruction
1723 * armsupp.c: ditto set and the new v4
1724 * armvirt.c: ditto architecture.
1726 * thumbemu.c: New file from branch.
1729 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1731 * configure: Regenerated to track ../common/aclocal.m4 changes.
1733 Thu Oct 30 13:54:06 1997 Nick Clifton <nickc@cygnus.com>
1735 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
1736 from Tony Thompson at ARM: athompso@arm.com
1738 * wrapper.c (sim_create_inferior): Add code to create an execution
1739 environment. Patch from Tony Thompson at ARM: athompso@arm.com
1741 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1743 * wrapper.c (sim_load): Pass lma_p and sim_write args to
1746 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1748 * configure: Regenerated to track ../common/aclocal.m4 changes.
1750 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1752 * configure: Regenerated to track ../common/aclocal.m4 changes.
1754 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1756 * configure: Regenerated to track ../common/aclocal.m4 changes.
1758 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1760 * configure: Regenerated to track ../common/aclocal.m4 changes.
1762 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1764 * configure: Regenerated to track ../common/aclocal.m4 changes.
1766 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1768 * configure: Regenerated to track ../common/aclocal.m4 changes.
1770 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1772 * configure: Regenerated to track ../common/aclocal.m4 changes.
1774 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1776 * configure: Regenerated to track ../common/aclocal.m4 changes.
1779 Tue Aug 26 10:37:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
1781 * wrapper.c (sim_kill): Delete.
1782 (sim_create_inferior): Add ABFD argument.
1783 (sim_load): Move setting of PC from here.
1784 (sim_create_inferior): To here.
1786 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1788 * configure: Regenerated to track ../common/aclocal.m4 changes.
1791 Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
1793 * wrapper.c (sim_open): Add ABFD argument.
1795 Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
1797 * wrapper.c (sim_open): Add callback argument.
1798 (sim_set_callbacks): Drop SIM_DESC argument.
1800 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1802 * configure: Regenerated to track ../common/aclocal.m4 changes.
1804 Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
1806 * wrapper.c (sim_stop): Stub sim_stop function.
1808 Thu Apr 17 18:33:01 1997 Fred Fish <fnf@cygnus.com>
1810 * arminit.c (ARMul_NewState): Preinitialize the state to
1813 Thu Apr 17 02:39:02 1997 Doug Evans <dje@canuck.cygnus.com>
1815 * Makefile.in (SIM_OBJS): Add sim-load.o.
1816 * wrapper.c (sim_kind,myname): New static locals.
1817 (sim_open): Set sim_kind, myname.
1818 (sim_load): Call sim_load_file to do work. Set start address from bfd.
1819 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
1821 Thu Apr 17 11:48:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1823 * wrapper.c (sim_trace): Update so that it matches prototype.
1825 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1827 * configure: Regenerated to track ../common/aclocal.m4 changes.
1830 Mon Apr 7 12:01:17 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1832 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1834 (armemu26.o): Ditto.
1836 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1838 * wrapper.c (sim_open): New arg `kind'.
1840 * configure: Regenerated to track ../common/aclocal.m4 changes.
1842 Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
1844 * COPYING: Update FSF address.
1846 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1848 * configure: Regenerated to track ../common/aclocal.m4 changes.
1850 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1852 * configure: Regenerated to track ../common/aclocal.m4 changes.
1854 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1856 * configure: Re-generate.
1858 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1860 * configure: Regenerate to track ../common/aclocal.m4 changes.
1862 Thu Mar 13 12:38:56 1997 Doug Evans <dje@canuck.cygnus.com>
1864 * wrapper.c (sim_open): Has result now.
1865 (sim_*): New SIM_DESC argument.
1867 Tue Feb 4 13:22:21 1997 Doug Evans <dje@canuck.cygnus.com>
1869 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
1870 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1871 * configure.in: sinclude ../common/aclocal.m4.
1872 * configure: Regenerated.
1874 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1876 * configure configure.in Makefile.in: Update to new configure
1877 scheme which is more compatible with WinGDB builds.
1878 * configure.in: Improve comment on how to run autoconf.
1879 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1880 * Makefile.in: Use autoconf substitution to install common
1883 Wed Nov 20 01:05:10 1996 Doug Evans <dje@canuck.cygnus.com>
1885 * run.c: Deleted, use one in ../common now.
1886 * Makefile.in: Delete everything that's been moved to
1887 ../common/Make-common.in.
1889 * configure.in: Simplify using macros in ../common/aclocal.m4.
1890 * configure: Regenerated.
1891 * config.in: New file.
1892 * armos.c: #include config.h.
1893 * wrapper.c (mem_size): Value is in bytes now.
1894 (sim_callback): New global.
1895 (arm_sim_set_profile{,_size}): Delete.
1896 (arm_sim_set_mem_size): Rename to sim_size.
1897 (sim_do_command): Call printf_filtered via callback.
1898 (sim_set_callbacks): Record callback.
1900 Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1902 * Makefile.in (mostlyclean): Remove config.log.
1904 Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1906 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1907 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1909 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1910 (AC_PROG_INSTALL): Added.
1911 * configure: Rebuilt.
1913 Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
1915 * configure: Regenerate with autoconf 2.7.
1917 Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
1919 * run.c (main): Use new bfd_big_endian macro.
1921 Mon Nov 20 17:40:38 1995 Doug Evans <dje@canuck.cygnus.com>
1923 * run.c: Include "getopt.h".
1925 (usage): Make static.
1926 (main): Call arm_sim_set_verbosity.
1927 Only load sections marked SEC_LOAD.
1928 * wrapper.c (mem_size, verbosity): New static global.
1929 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
1930 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
1932 Fri Nov 17 19:35:11 1995 Doug Evans <dje@canuck.cygnus.com>
1934 * armdefs.h (ARMul_State): New member `verbose'.
1935 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
1936 * run.c (verbose): Make global.
1937 * wrapper.c (init): Set state->verbose.
1938 (ARMul_ConsolePrint): Don't print anything if !verbose.
1940 Fri Oct 13 15:30:30 1995 Doug Evans <dje@canuck.cygnus.com>
1942 * armos.c: #include dbg_rdi.h.
1943 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
1944 * armos.h (SWI_Breakpoint): Define.
1945 * wrapper.c: #include armemu.h, dbg_rdi.h.
1947 (sim_resume): Use state->EndCondition to record stop state.
1948 Call FLUSHPIPE before returning.
1949 (sim_stop_reason): Determine reason from state->EndCondition.
1951 Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
1953 * wrapper.c (sim_set_callbacks): New.
1955 Thu Sep 28 19:45:56 1995 Doug Evans <dje@deneb.cygnus.com>
1957 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
1958 number of bytes not read/written (or -1).
1960 Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
1962 * Makefile.in (maintainer-clean): New synonym for realclean.
1964 Fri Sep 8 14:27:20 1995 Ian Lance Taylor <ian@cygnus.com>
1966 * configure.in: Remove AC_PROG_INSTALL.
1967 * configure: Rebuild.
1968 * Makefile.in (INSTALL): Revert to using install.sh.
1969 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
1970 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
1971 (mostlyclean): Make the same as clean, not distclean.
1972 (clean): Remove config.log.
1973 (install): Don't install in $(tooldir).
1975 Thu Sep 7 12:00:17 1995 Doug Evans <dje@canuck.cygnus.com>
1977 (Try to) Update to new bfd autoconf scheme.
1978 * run.c: Don't include sysdep.h.
1979 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
1980 (CC, CFLAGS, AR, RANLIB): Likewise.
1981 (HDEFINES, TDEFINES): Define.
1982 (CC_FOR_BUILD): Delete.
1983 (host_makefile_frag): Delete.
1984 (Makefile): Don't depend on frags.
1985 * configure.in (sysdep.h): Don't create symlink.
1986 (host_makefile_frag, frags): Deleted.
1987 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
1988 * configure: Regenerated.
1990 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1992 * Update all FSF addresses except those in COPYING* files.
1994 Wed Jul 5 16:15:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1996 * Makefile.in (clean): Remove run, libsim.a.
1998 * Makefile.in, configure.in: converted to autoconf.
1999 * configure: New file, generated with autconf 2.4.
2003 Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
2005 * wrapper.c (sim_do_command): New function.
2007 Tue Jun 13 10:57:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
2009 * armos.c (ARMul_OSHandleSWI): New version to work with
2012 Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
2014 * run.c (main): Grab return value from right register.
2016 Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>