1 2021-06-21 Mike Frysinger <vapier@gentoo.org>
3 * aclocal.m4: Regenerate.
4 * configure: Regenerate.
6 2021-06-21 Mike Frysinger <vapier@gentoo.org>
8 * configure: Regenerate.
10 2021-06-20 Mike Frysinger <vapier@gentoo.org>
12 * configure.ac (SIM_AC_COMMON): Delete.
13 * aclocal.m4, configure: Regenerate.
15 2021-06-20 Mike Frysinger <vapier@gentoo.org>
17 * aclocal.m4: Regenerate.
18 * configure: Regenerate.
20 2021-06-19 Mike Frysinger <vapier@gentoo.org>
22 * aclocal.m4: Regenerate.
23 * configure: Regenerate.
25 2021-06-19 Mike Frysinger <vapier@gentoo.org>
27 * configure: Regenerate.
29 2021-06-18 Mike Frysinger <vapier@gentoo.org>
31 * aclocal.m4, configure: Regenerate.
33 2021-06-18 Mike Frysinger <vapier@gentoo.org>
35 * configure: Regenerate.
37 2021-06-17 Mike Frysinger <vapier@gentoo.org>
39 * configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
40 * aclocal.m4, configure: Regenerate.
42 2021-06-16 Mike Frysinger <vapier@gentoo.org>
44 * configure: Regenerate.
46 2021-06-16 Mike Frysinger <vapier@gentoo.org>
48 * configure: Regenerate.
51 2021-06-15 Mike Frysinger <vapier@gentoo.org>
53 * config.in, configure: Regenerate.
55 2021-06-14 Mike Frysinger <vapier@gentoo.org>
57 * configure.ac: Delete call to SIM_AC_OPTION_WARNINGS.
58 * configure: Regenerate.
60 2021-06-12 Mike Frysinger <vapier@gentoo.org>
62 * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT.
63 * wrapper.c (sim_open): Set current_alignment.
65 2021-06-12 Mike Frysinger <vapier@gentoo.org>
67 * aclocal.m4, config.in, configure: Regenerate.
69 2021-06-12 Mike Frysinger <vapier@gentoo.org>
71 * config.in, configure: Regenerate.
73 2021-05-17 Mike Frysinger <vapier@gentoo.org>
75 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Delete.
77 2021-05-17 Mike Frysinger <vapier@gentoo.org>
79 * sim-main.h (SIM_HAVE_COMMON_SIM_STATE): Define.
80 (struct sim_state): Delete.
82 2021-05-16 Mike Frysinger <vapier@gentoo.org>
84 * armcopro.c, armemu.c, arminit.c, armsupp.c, armvirt.c, iwmmxt.c,
85 maverick.c, thumbemu.c: Include defs.h.
86 * armos.c, wrapper.c: Replace config.h include with defs.h.
87 * armdefs.h: Delete config.h include.
89 2021-05-16 Mike Frysinger <vapier@gentoo.org>
91 * config.in, configure: Regenerate.
93 2021-05-14 Mike Frysinger <vapier@gentoo.org>
95 * armos.c (ARMul_OSHandleSWI): Delete 2nd arg to time callback.
97 2021-05-14 Mike Frysinger <vapier@gentoo.org>
99 * armos.c: Update include path.
100 * wrapper.c: Likewise.
102 2021-05-04 Mike Frysinger <vapier@gentoo.org>
104 * configure: Regenerate.
106 2021-05-03 Simon Marchi <simon.marchi@polymtl.ca>
108 * armdefs.h (ARMul_ConsolePrint): Use format attribute.
109 * wrapper.c (op_printf): Likewise.
111 2021-05-01 Mike Frysinger <vapier@gentoo.org>
113 * config.in, configure: Regenerate.
115 2021-05-01 Mike Frysinger <vapier@gentoo.org>
117 * Makefile.in (SIM_OBJS): Change armemu26.o to armemu.o.
118 (armemu26.o, armemu32.o): Delete targets.
119 * armemu32.c: New file.
121 2021-04-26 Mike Frysinger <vapier@gentoo.org>
123 * aclocal.m4, config.in, configure: Regenerate.
125 2021-04-26 Nick Clifton <nickc@redhat.com>
128 * armemu.c (Handle_Store_Double): Allow 4 byte alignment when
131 2021-04-22 Tom Tromey <tom@tromey.com>
133 * configure, config.in: Rebuild.
135 2021-04-22 Tom Tromey <tom@tromey.com>
137 * Makefile.in (armemu26.o, armemu32.o): Use COMPILE and
140 2021-04-22 Tom Tromey <tom@tromey.com>
142 * configure: Rebuild.
144 2021-04-21 Mike Frysinger <vapier@gentoo.org>
146 * aclocal.m4: Regenerate.
148 2021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
150 * configure: Regenerate.
152 2021-04-18 Mike Frysinger <vapier@gentoo.org>
154 * configure: Regenerate.
156 2021-04-12 Mike Frysinger <vapier@gentoo.org>
158 * wrapper.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
160 2021-04-02 Mike Frysinger <vapier@gentoo.org>
162 * aclocal.m4, configure: Regenerate.
164 2021-02-28 Mike Frysinger <vapier@gentoo.org>
166 * configure: Regenerate.
168 2021-02-21 Mike Frysinger <vapier@gentoo.org>
170 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
171 * aclocal.m4, configure: Regenerate.
173 2021-02-13 Mike Frysinger <vapier@gentoo.org>
175 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
176 * aclocal.m4, configure: Regenerate.
178 2021-02-06 Mike Frysinger <vapier@gentoo.org>
180 * configure: Regenerate.
182 2021-01-11 Mike Frysinger <vapier@gentoo.org>
184 * config.in, configure: Regenerate.
186 2021-01-09 Mike Frysinger <vapier@gentoo.org>
188 * configure: Regenerate.
190 2021-01-08 Mike Frysinger <vapier@gentoo.org>
192 * configure: Regenerate.
194 2021-01-04 Mike Frysinger <vapier@gentoo.org>
196 * wrapper.c: Include stdlib.h.
198 2021-01-04 Mike Frysinger <vapier@gentoo.org>
200 * iwmmxt.c: Include stdlib.h.
202 2021-01-04 Mike Frysinger <vapier@gentoo.org>
204 * configure: Regenerate.
206 2020-12-15 Nick Clifton <nickc@redhat.com>
208 * wrapper.c (sim_create_inferior): Accept some more ARM machine numbers.
210 2020-12-15 Jens Bauer <jens@plustv.dk>
212 * armemu.c (handle_v6_insn): Add support for SDIV and UDIV.
213 * thumbemu.c (handle_T2_insn): Likewise.
215 2020-10-20 Dr. David Alan Gilbert <dgilbert@redhat.com>
217 * armos.c (SWIread): Fix printf format.
219 2020-08-13 Luis Machado <luis.machado@linaro.org>
223 * wrapper.c (sim_target_parse_command_line): Free discarded argv
225 (sim_open): Use a duplicate of argv instead of the original argv.
227 2020-01-17 Christian Biesinger <cbiesinger@google.com>
229 * iwmmxt.c: Fix spelling error (seperate).
231 2019-12-06 Luis Machado <luis.machado@linaro.org>
233 * armemu.c (isize): Move this declaration ...
234 * arminit.c (isize): ... here.
235 * maverick.h: New file.
236 * wrapper.c: Include "maverick.h".
237 (<struct maverick_regs>, <union maverick_acc_regs>): Remove and update
239 (sim_create_inferior): Cast variables to proper type.
240 * maverick.c: Include "maverick.h".
241 (<struct maverick_regs>, <union maverick_acc_regs>): Move
242 declarations to maverick.h and update comment.
243 (DSPsc, DSPacc, DSPregs): Adjust comment.
245 2018-01-02 Nick Clifton <nickc@redhat.com>
248 * maverick.c (DSPCDP4): Add missing parameter to debug print
251 2017-09-21 Yao Qi <yao.qi@linaro.org>
253 * wrapper.c (print_insn): Use disassembler instead of
254 print_insn_little_arm.
256 2017-09-06 John Baldwin <jhb@FreeBSD.org>
258 * configure: Regenerate.
260 2017-02-13 Mike Frysinger <vapier@gentoo.org>
262 * armos.c: Include libiberty.h.
263 (SWIopen): Use ARRAY_SIZE.
264 * armsupp.c: Include libiberty.h.
265 (ModeToBank): Use ARRAY_SIZE.
266 * wrapper.c (sim_target_parse_command_line): Likewise.
268 2016-07-14 Nick Clifton <nickc@redhat.com>
270 * armemu.c (Multiply64): Only issue error messages about invalid
271 arguments if debugging is enabled.
272 * armos.c (ARMul_OSHandleSWI): Ignore invalid flags.
274 2016-01-10 Mike Frysinger <vapier@gentoo.org>
276 * config.in, configure: Regenerate.
278 2016-01-10 Mike Frysinger <vapier@gentoo.org>
280 * configure: Regenerate.
282 2016-01-10 Mike Frysinger <vapier@gentoo.org>
284 * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
285 * configure: Regenerate.
287 2016-01-10 Mike Frysinger <vapier@gentoo.org>
289 * configure: Regenerate.
291 2016-01-10 Mike Frysinger <vapier@gentoo.org>
293 * configure: Regenerate.
295 2016-01-10 Mike Frysinger <vapier@gentoo.org>
297 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
298 * configure: Regenerate.
300 2016-01-10 Mike Frysinger <vapier@gentoo.org>
302 * configure: Regenerate.
304 2016-01-10 Mike Frysinger <vapier@gentoo.org>
306 * configure: Regenerate.
308 2016-01-09 Mike Frysinger <vapier@gentoo.org>
310 * config.in, configure: Regenerate.
312 2016-01-06 Mike Frysinger <vapier@gentoo.org>
314 * wrapper.c (sim_create_inferior): Mark argv and env const.
315 (sim_open): Mark argv const.
317 2016-01-04 Mike Frysinger <vapier@gentoo.org>
319 * configure: Regenerate.
321 2016-01-03 Mike Frysinger <vapier@gentoo.org>
323 * wrapper.c (sim_open): Update sim_parse_args comment.
325 2016-01-03 Mike Frysinger <vapier@gentoo.org>
327 * wrapper.c (sim_target_parse_arg_array): Replace for loop with
330 2016-01-03 Mike Frysinger <vapier@gentoo.org>
332 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
333 * configure: Regenerate.
335 2016-01-02 Mike Frysinger <vapier@gentoo.org>
337 * configure: Regenerate.
338 * wrapper.c (init): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
340 2015-12-30 Mike Frysinger <vapier@gentoo.org>
342 * wrapper.c (sim_store_register): Rename to ...
343 (arm_reg_store): ... this.
344 (sim_fetch_register): Rename to ...
345 (arm_reg_fetch): ... this.
346 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
348 2015-12-27 Mike Frysinger <vapier@gentoo.org>
350 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
352 2015-12-26 Mike Frysinger <vapier@gentoo.org>
354 * config.in, configure: Regenerate.
356 2015-12-25 Mike Frysinger <vapier@gentoo.org>
358 * Makefile.in (SIM_OBJS): Delete bag.o.
359 * armdefs.h (struct ARMul_State): Delete ErrorCode.
360 (ResetPin, FIQPin, IRQPin, AbortPin, TransPin, BigEndPin, Prog32Pin,
361 Data32Pin, LateAbortPin, ARMul_OSExit, ARMul_OSLastErrorP,
362 ARMul_Debug, ARMul_OSException,rdi_log, SpinCursor, HOURGLASS,
363 HOURGLASS_RATE): Delete.
364 * armemu.c (ARMul_Emulate26): Delete ARMul_Debug call.
365 * arminit.c (ARMul_Reset): Do not set state->ErrorCode.
366 (ARMul_Abort): Delete ARMul_OSException call.
367 * armopts.h: Delete file.
368 * armos.c (isatty_, ARMul_OSExit, ARMul_OSException,
369 ARMul_OSLastErrorP, ARMul_Debug, BUFFERSIZE, UNIQUETEMPS, NOOP,
370 BINARY, READOP, WRITEOP, FIXCRLF): Delete.
371 (struct OSblock): Delete Time0, ErrorP, FileTable, FileFlags, and
373 (ARMul_OSInit): Do not set OSptr->ErrorP, OSptr->FileTable, or
375 * armrdi.c: Delete file.
376 * armvirt.c: Delete armopts.h include.
377 (ARMul_LoadInstrS): Delete HOURGLASS logic.
378 * bag.c, bag.h, communicate.c, communicate.h, dbg_conf.h, dbg_cp.h,
379 dbg_hif.h: Delete files.
380 * dbg_rdi.h (RDP_*, RDI*): Delete defines.
381 (PointHandle, ThreadHandle, Dbg_ConfigBlock, Dbg_HostosInterface,
382 Dbg_MCState, getbufferproc): Delete.
383 (rdi_*): Delete Functions.
384 (RDI_ConfigAspect, RDI_ConfigMatchType, RDI_NameList): Delete
385 (struct RDIProcVec): Delete.
386 * gdbhost.c, gdbhost.h, kid.c, main.c, parent.c: Delete files.
387 * wrapper.c (ARMul_Debug): Delete.
389 2015-12-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
391 * thumbemu.c (handle_T2_insn): Fix left shift of negative value.
392 * armemu.c (handle_v6_insn): Likewise.
394 2015-11-14 Mike Frysinger <vapier@gentoo.org>
396 * wrapper.c (sim_close): Delete.
398 2015-07-14 Nick Clifton <nickc@redhat.com>
400 * armcopro.c: Remove extraneous whitespace.
401 * armdefs.h: Likewise.
402 * armfpe.h: Likewise.
403 * arminit.c: Likewise.
404 * armopts.h: Likewise.
407 * armrdi.c: Likewise.
408 * armsupp.c: Likewise.
409 * armvirt.c: Likewise.
412 * communicate.c: Likewise.
413 * communicate.h: Likewise.
414 * dbg_conf.h: Likewise.
415 * dbg_cp.h: Likewise.
416 * dbg_hif.h: Likewise.
417 * dbg_rdi.h: Likewise.
418 * gdbhost.c: Likewise.
419 * gdbhost.h: Likewise.
420 * iwmmxt.c: Likewise.
421 * iwmmxt.h: Likewise.
424 * maverick.c: Likewise.
425 * parent.c: Likewise.
426 * thumbemu.c: Likewise.
427 * wrapper.c: Likewise.
429 2015-07-02 Nick Clifton <nickc@redhat.com>
431 * Makefile.in (SIM_EXTRA_CFLAGS): Revert previous delta.
432 (SIM_EXTRA_LIBS): Add -lm.
434 2015-06-28 Nick Clifton <nickc@redhat.com>
436 * Makefile.in (SIM_EXTRA_CFLAGS): Add -lm.
437 * armdefs.h (ARMdval, ARMfval): New types.
438 (ARM_VFP_reg): New union.
439 (struct ARMul_State): Add VFP_Reg and FPSCR fields.
440 (VFP_fval, VFP_uword, VFP_sword, VFP_dval, VFP_dword): Accessor
441 macros for the new VFP_Reg field.
442 * armemu.c (handle_v6_insn): Add code to handle MOVW, MOVT,
443 QADD16, QASX, QSAX, QSUB16, QADD8, QSUB8, UADD16, USUB16, UADD8,
444 USUB8, SEL, REV, REV16, RBIT, BFC, BFI, SBFX and UBFX
446 (handle_VFP_move): New function.
447 (ARMul_Emulate16): Add checks for newly supported v6
448 instructions. Add support for VMRS, VMOV and MRC instructions.
449 (Multiply64): Allow nRdHi == nRm and/or nRdLo == nRm when
450 operating in v6 mode.
451 * armemu.h (t_resolved): Define.
452 * armsupp.c: Include math.h.
453 (handle_VFP_xfer): New function. Handles VMOV, VSTM, VSTR, VPUSH,
454 VSTM, VLDM and VPOP instructions.
455 (ARMul_LDC): Test for co-processor 10 or 11 and pass call to the
456 new handle_VFP_xfer function.
457 (ARMul_STC): Likewise.
458 (handle_VFP_op): New function. Handles VMLA, VMLS, VNMLA, VNMLS,
459 VNMUL, VMUL, VADD, VSUB, VDIV, VMOV, VABS, VNEG, VSQRT, VCMP,
460 VCMPE and VCVT instructions.
461 (ARMul_CDP): Test for co-processor 10 or 11 and pass call to the
462 new handle_VFP_op function.
463 * thumbemu.c (tBIT, tBITS, ntBIT, ntBITS): New macros.
464 (test_cond): New function. Tests a condition and returns non-zero
465 if the condition has been met.
466 (handle_IT_block): New function.
467 (in_IT_block): New function.
468 (IT_block_allow): New function.
469 (ThumbExpandImm): New function.
470 (handle_T2_insn): New function. Handles T2 thumb instructions.
471 (handle_v6_thumb_insn): Add next_instr and pc parameters.
472 (ARMul_ThumbDecode): Add support for IT blocks. Add support for
474 * wrapper.c (sim_create_inferior): Detect a thumb address and call
477 2015-06-23 Mike Frysinger <vapier@gentoo.org>
479 * configure: Regenerate.
481 2015-06-23 Mike Frysinger <vapier@gentoo.org>
483 * armdefs.h: Always include stdint.h.
485 [!HAVE_STDINT_H]: Delete.
486 * dbg_hif.h [!__STDC__]: Delete.
488 2015-06-12 Mike Frysinger <vapier@gentoo.org>
490 * configure: Regenerate.
492 2015-06-12 Mike Frysinger <vapier@gentoo.org>
494 * configure: Regenerate.
496 2015-04-18 Mike Frysinger <vapier@gentoo.org>
498 * sim-main.h (SIM_CPU): Delete.
500 2015-04-18 Mike Frysinger <vapier@gentoo.org>
502 * sim-main.h (sim_cia): Delete.
504 2015-04-17 Mike Frysinger <vapier@gentoo.org>
506 * sim-main.h (CIA_GET, CIA_SET): Delete.
508 2015-04-17 Mike Frysinger <vapier@gentoo.org>
510 * wrapper.c (arm_pc_get, arm_pc_set): New functions.
511 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
512 CPU_PC_STORE for all cpus.
514 2015-04-15 Mike Frysinger <vapier@gentoo.org>
516 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
517 * sim-main.h (STATE_CPU): Delete.
519 2015-04-13 Mike Frysinger <vapier@gentoo.org>
521 * configure: Regenerate.
523 2015-04-12 Mike Frysinger <vapier@gentoo.org>
525 * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list.
527 2015-04-06 Mike Frysinger <vapier@gentoo.org>
529 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
531 2015-04-01 Mike Frysinger <vapier@gentoo.org>
533 * Makefile.in (armos.o, armcopro.o, maverick.o, iwmmxt.o, arminit.o,
534 armrdi.o, armsupp.o, thumbemu.o, bag.o, wrapper.o): Delete rules.
535 * tconfig.h: Delete file.
537 2015-03-31 Mike Frysinger <vapier@gentoo.org>
539 * config.in, configure: Regenerate.
541 2015-03-30 Mike Frysinger <vapier@gentoo.org>
543 * Makefile.in (SIM_RUN_OBJS): Delete.
544 (SIM_EXTRA_CFLAGS): Delete -DSIM_TARGET_SWITCHES and
545 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
546 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
547 * sim-main.h: New file.
548 * wrapper.c: Delete armdefs.h, sim-utils.h, and run-sim.h includes.
549 Add sim-main.h and sim-options.h includes.
550 (sim_callback, mem_size, trace): Add TODO comments.
551 (state): Delete static and add TODO comment.
552 (sim_kind, myname, big_endian): Delete.
553 (init): Change big_endian to CURRENT_TARGET_BYTE_ORDER check.
554 (sim_size, sim_trace, sim_info, sim_target_display_usage, sim_load,
555 sim_do_command, sim_set_callbacks, sim_complete_command): Delete.
556 (sim_target_parse_command_line): Mark static.
557 (free_state): New function.
558 (sim_open): Rewrite to use new common logic.
559 (sim_close): Delete body.
561 2015-03-30 Mike Frysinger <vapier@gentoo.org>
563 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
564 * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
565 ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
566 (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
568 2015-03-30 Mike Frysinger <vapier@gentoo.org>
570 * armemu.c [MODE32] (handle_v6_insn): Move definition.
571 (ARMul_Emulate26): Initialize do_int after label target.
572 * armemu.h (UNDEF_Test, UNDEF_Shift, UNDEF_MSRPC, UNDEF_MRSPC,
573 UNDEF_MULPCDest, UNDEF_MULDestEQOp1, UNDEF_LSRBPC,
574 UNDEF_LSRBaseEQOffWb, UNDEF_LSRBaseEQDestWb, UNDEF_LSRPCBaseWb,
575 UNDEF_LSRPCOffWb, UNDEF_LSMNoRegs, UNDEF_LSMPCBase,
576 UNDEF_LSMUserBankWb, UNDEF_LSMBaseInListWb, UNDEF_SWPPC,
577 UNDEF_CoProHS, UNDEF_MCRPC, UNDEF_LSCPCBaseWb,
578 UNDEF_UndefNotBounced, UNDEF_ShortInt, UNDEF_IllegalMode,
579 UNDEF_Prog32SigChange, UNDEF_Data32SigChange): Define to while(0).
580 * armsupp.c (ARMul_Align): Convert old style prototype.
581 * bag.c (addtolist, killwholelist): Mark static.
582 (BAG_newbag): Convert old style prototype.
583 * maverick.c (mv_compute_host_endianness): Delete.
584 * wrapper.c (verbosity, sim_set_verbose): Delete.
585 (init): Set state->verbose to 0.
587 2015-03-30 Mike Frysinger <vapier@gentoo.org>
589 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
590 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
591 SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
592 * config.in, configure: Regenerate.
594 2015-03-30 Mike Frysinger <vapier@gentoo.org>
596 * Makefile.in (COPRO): Delete.
597 (SIM_OBJS): Expand COPRO.
598 * configure.ac: Deletd stdint.h check.
600 * configure: Regenerate.
602 2015-03-16 Mike Frysinger <vapier@gentoo.org>
604 * config.in, configure: Regenerate.
605 * tconfig.in: Rename file ...
606 * tconfig.h: ... here.
608 2015-03-14 Mike Frysinger <vapier@gentoo.org>
610 * Makefile.in (SIM_EXTRA_CFLAGS): Add
611 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
612 (SIM_RUN_OBJS): Set to run.o.
614 2015-03-14 Mike Frysinger <vapier@gentoo.org>
616 * configure.ac (AC_CHECK_HEADERS): Delete unistd.h.
617 * aclocal.m4, configure: Regenerate.
619 2014-08-19 Alan Modra <amodra@gmail.com>
621 * configure: Regenerate.
623 2014-08-15 Roland McGrath <mcgrathr@google.com>
625 * configure: Regenerate.
626 * config.in: Regenerate.
628 2014-03-18 Nick Clifton <nickc@redhat.com>
630 * wrapper.c: Convert function declarations to ISO C format.
631 (sim_open): Delete code for handling t,d and z command line
634 2014-03-14 Nick Clifton <nickc@redhat.com>
636 * wrapper.c (op_print): New function.
637 (sim_dis_read): New function.
638 (print_insn): New function - disassembles the given instruction.
639 (sim_trace): Note that tracing is now allowed.
640 (sim_create_inferior): Default to emulating v6.
641 Initialise the disassembler machinery.
642 (sim_target_parse_command_line): Add support for -t -d and -z
644 (sim_target_display_usage): Note existence of -d and -z options.
645 (sim_open): Parse -t -d and -z options.
646 * armemu.h: Add exports of trace, disas and trace_funcs.
647 Add prototype for print_insn.
648 * armemu.c (ARMul_Emulate26): Add tracing code.
649 Delete unused variables.
650 * thumbemu (handle_v6_thumb_insn): Delete unused variable Rd.
651 Move Rm variable into switch cases.
654 * armcopro.c (XScale_cp15_init): Add a return value.
655 (XScale_cp13_init): Likewise.
656 (XScale_cp14_init): Likewise.
657 (XScale_cp15_LDC): Delete unused function.
658 (XScale_cp15_STC): Likewise.
659 * maverick.c: Delete comment inside comment.
660 (DSPInit): Delete unused function.
661 (DSPMCR4): Fix compile time warning about missing parenthesis.
663 (DSPCDP6): Delete unused variable opcode2.
665 2014-03-14 David McQuillan <dmcq@tao-group.com>
668 * armemu.c (WriteR15Load): New function. Determines if the state
669 can be changed upon a write to R15.
670 (LoadMult): Use WriteR15Load.
671 * armemu.h (WRITEDESTB): Use WriteR15Load.
673 2014-03-10 Mike Frysinger <vapier@gentoo.org>
675 * wrapper.c (sim_do_command): Add const to cmd.
677 2014-03-05 Mike Frysinger <vapier@gentoo.org>
679 * wrapper.c (sim_load): Add const to prog.
681 2013-09-23 Alan Modra <amodra@gmail.com>
683 * configure: Regenerate.
685 2013-06-03 Mike Frysinger <vapier@gentoo.org>
687 * aclocal.m4, configure: Regenerate.
689 2013-05-07 Jayant Sonar <jayant.sonar@kpitcummins.com>
690 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
692 * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT.
694 2012-12-19 Joel Brobecker <brobecker@adacore.com>
696 * COPYING: Update to GPL version 3.
698 2012-09-03 Nick Clifton <nickc@redhat.com>
701 * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction
704 2012-08-01 Kevin Buettner <kevinb@redhat.com>
706 * wrapper.c (libiberty.h): Include.
707 (sim_store_register, sim_fetch_register): On success, return
708 length, instead of -1.
710 2012-06-15 Joel Brobecker <brobecker@adacore.com>
712 * config.in, configure: Regenerate.
714 2012-06-13 Nick Clifton <nickc@redhat.com>
716 * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
719 2012-05-24 Pedro Alves <palves@redhat.com>
723 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
725 2012-05-18 Nick Clifton <nickc@redhat.com>
728 * wrapper.c: Include config.h before system header files.
730 2012-03-24 Mike Frysinger <vapier@gentoo.org>
732 * aclocal.m4, config.in, configure: Regenerate.
734 2011-12-03 Mike Frysinger <vapier@gentoo.org>
736 * aclocal.m4: New file.
737 * configure: Regenerate.
739 2011-10-17 Mike Frysinger <vapier@gentoo.org>
741 * configure.ac: Change include to common/acinclude.m4.
743 2011-10-17 Mike Frysinger <vapier@gentoo.org>
745 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
746 call. Replace common.m4 include with SIM_AC_COMMON.
747 * configure: Regenerate.
749 2011-07-01 Nick Clifton <nickc@redhat.com>
752 * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a
754 (WMAC): Extend computed result before adding to result register.
755 (WRSA): Sign extend 32-bit values before shifting.
757 2011-04-16 Mike Frysinger <vapier@gentoo.org>
759 * wrapper.c (sim_complete_command): New stub function.
761 2010-05-26 Ozkan Sezer <sezeroz@gmail.com>
763 * communicate.c (MYread_char): Check error return from accept() call
764 by its equality to -1 not by it being negative.
765 (MYread_charwait): Likewise.
766 * main.c (main): Likewise for both socket() and accept() calls.
768 2010-04-14 Mike Frysinger <vapier@gentoo.org>
770 * wrapper.c (sim_write): Add const to buffer arg.
772 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
774 * configure: Regenerate.
776 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
778 * config.in: Regenerate.
779 * configure: Likewise.
781 * configure: Regenerate.
783 2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
785 * arminit.c, iwmmxt.c: Include <string.h> to
787 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
789 * configure: Regenerate to track ../common/common.m4 changes.
792 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
793 Daniel Jacobowitz <dan@codesourcery.com>
794 Joseph Myers <joseph@codesourcery.com>
796 * configure: Regenerate.
797 * wrapper.c (sim_target_display_usage): Add help parameter.
799 2007-02-27 Mark Mitchell <mark@codesourcery.com>
801 * armos.c (SWIflen): Do not treate file descriptor zero as
804 2007-02-15 Nick Clifton <nickc@redhat.com>
806 * armemu.c (handle_v6_insn): Fix typo in sign extension test of
807 the sext and sxtah instructions.
809 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
811 Reported by timeless@gmail.com:
812 * wrapper.c (sim_target_parse_arg_array): Do not return void value.
814 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
816 * acconfig.h: Remove.
817 * config.in: Regenerate.
819 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
821 * configure: Regenerated.
823 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
825 * configure: Regenerated.
827 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
829 * configure: Regenerated.
831 2006-03-07 Paul Brook <paul@codesourcery.com>
833 * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
835 2006-02-01 Shaun Jackman <sjackman@gmail.com>
837 * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
838 call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
840 2005-11-23 Mark Mitchell <mark@codesourcery.com>
842 * wrapper.c (gdb/signals.h): Include it.
843 (SIGTRAP): Don't define.
845 (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
847 2005-11-16 Shaun Jackman <sjackman@gmail.com>
849 * armos.c: Include limits.h
850 (unlink): Remove this macro. It is unused in this file and
851 conflicts with sim_callback->unlink.
852 (PATH_MAX): Define as 1024 if not already defined.
853 (ReadFileName): New function.
854 (SWIopen): Fix a potential buffer overflow.
855 (SWIremove): New function.
857 (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
858 SWI_Remove, and SWI_Rename, as well as the RDI calls
859 AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
860 AngelSWI_Reason_Rename.
862 2005-09-19 Paul Brook <paul@codesourcery.com>
864 * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
866 * armemu.c: Use them.
867 * armvirt.c (ARMul_MemoryInit): Use correct type for size.
868 * configure.ac: Check for stdint.h.
869 * config.in: Regenerate.
870 * configure: Regenerate.
872 2005-05-24 Nick Clifton <nickc@redhat.com>
874 * thumbemu.c (handle_v6_thumb_insn): New function.
875 (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
876 instruction binary is encountered.
878 2005-05-12 Nick Clifton <nickc@redhat.com>
880 * Update the address and phone number of the FSF organization in
881 the GPL notices in the following files:
882 COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
883 armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
884 armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
885 communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
886 gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
887 maverick.c, parent.c, thumbemu.c, wrapper.c
889 2005-04-20 Nick Clifton <nickc@redhat.com>
891 * armemu.c (handle_v6_insn): New function - emulate a few of the
892 v6 instructions - the ones now generated by GCC.
893 (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
895 * armdefs.h (struct ARMul_State): Add new field: is_v6.
896 (ARM_v6_Prop): Define.
897 * arminit.c (ARMul_NewState): Initialise the v6 flag.
898 (ARMul_SelectProcessor): Determine if the v6 flag should be
900 * wrapper.c (sim_create_inferior): For unknown architectures,
901 default to allowing the v6 instructions.
903 2005-04-18 Nick Clifton <nickc@redhat.com>
905 * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
907 (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
908 indicate an unsigned long long constant.
910 2005-03-23 Mark Kettenis <kettenis@gnu.org>
912 * configure: Regenerate.
914 2005-01-14 Andrew Cagney <cagney@gnu.org>
916 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
917 explicit call to AC_CONFIG_HEADER.
918 * configure: Regenerate.
920 2005-01-12 Andrew Cagney <cagney@gnu.org>
922 * configure.ac: Update to use ../common/common.m4.
923 * configure: Re-generate.
925 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
927 * configure: Regenerated to track ../common/aclocal.m4 changes.
929 2005-01-07 Andrew Cagney <cagney@gnu.org>
931 * configure.ac: Rename configure.in, require autoconf 2.59.
932 * configure: Re-generate.
934 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
936 * configure: Regenerate for ../common/aclocal.m4 update.
938 2004-06-28 Andrew Cagney <cagney@gnu.org>
940 * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
942 2003-12-29 Mark Mitchell <mark@codesourcery.com>
944 * armos.c (fcntl.h): Do not include it.
945 (O_RDONLY): Do not define.
946 (O_WRONLY): Likewise.
948 (targ-vals.h): Include it.
949 (translate_open_mode): Use TARGET_O_* instead of O_*.
951 * Makefile.in (armos.o): Depend on targ-vals.h.
953 2003-04-13 Nick Clifton <nickc@redhat.com>
955 * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
959 2003-03-30 Nick Clifton <nickc@redhat.com>
961 * configure.in (CON_FLAGS): Remove.
962 (COPRO): Unconditionally include iwmmxt.o.
963 * configure: Regenerate.
964 * Makefile.in (CON_FLAGS): Remove.
965 * armcopro.c: Remove use of __IWMMXT__ flag.
966 * wrapper.c: Likewise.
967 * armemu.c: Likewise.
968 Add explanatory comment for suppressed code.
970 2003-03-27 Nick Clifton <nickc@redhat.com>
972 * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
974 2003-03-27 Nick Clifton <nickc@redhat.com>
976 * configure.in: (CON_FLAGS): Define and intialise.
977 (COPRO): Add iwmmxt.o if configuring for XScale.
978 * configure: Regenerate.
979 * Makefile.in (iwmmxt.o): Add rule to build.
981 (ALL_FLAGS): Add CON_FLAGS.
982 * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
983 * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
984 (ARM_iWMMXt_Prop): Define.
985 * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
987 * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
988 (ARMul_Abort): Catch branches through uninitialised vectors.
989 * armos.c (softevtorcode): Update comment.
990 (ARMul_OsInit): Use ARMUndefinedInstrV.
991 * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
992 (sim_store_register): Handle iWMMXt registers.
993 (sim_fetch_register): Handle iWMMXt registers.
994 * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
996 * iwmmxt.c: New file: iWMMXt emulator.
998 2003-03-20 Nick Clifton <nickc@redhat.com>
1000 * Contribute support for Cirrus Maverick ARM co-processor,
1001 written by Aldy Hernandez <aldyh@redhat.com> and
1002 Andrew Cagney <cagney@redhat.com>:
1004 * maverick.c: New file: Support for Maverick floating point
1006 * Makefile.in: Add maverick.o target.
1007 * configure.in (COPRO): Add maverick.o.
1008 * configure: Regenerate.
1009 * armcopro.c (ARMul_CoProInit): Only initialise co-processors
1010 available on target processor. Add code to initialse Maverick
1011 co-processor support code.
1012 * armdefs.h (ARMul_state): Add is_ep9312 field.
1013 (ARM_ep9312_Prop): Define.
1014 * armemu.h: Add prototypes for Maverick co-processor
1016 * arminit.c (ARMul_SelectProcessor): Initialise the
1017 co-processor support once the chip has been selected.
1018 * wrapper.c: Add support for Maverick co-processor.
1019 (init): Do not call ARMul_CoProInit. Delays this until the
1020 chip has been selected.
1022 2003-03-02 Nick Clifton <nickc@redhat.com>
1024 * armos.c (SWIWrite0): Catch big-endian bug when printing
1027 2003-02-27 Andrew Cagney <cagney@redhat.com>
1029 * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
1031 2003-01-10 Ben Elliston <bje@redhat.com>
1033 * README.Cygnus: Rename from this ..
1034 * README: .. to this.
1036 2002-09-27 Andrew Cagney <ac131313@redhat.com>
1038 * wrapper.c (sim_open): Add support for -m<mem-size>.
1039 (mem_size): Reduce to 2MB.
1042 2002-08-15 Nick Clifton <nickc@redhat.com>
1044 * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
1045 can be caused by an interrupted system call being resumed by GDB.
1047 2002-07-05 Nick Clifton <nickc@cambridge.redhat.com>
1049 * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
1050 and MIAxy instructions.
1052 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
1054 * armos.h (ADP_Stopped_RunTimeError): Set correct value.
1056 2002-06-16 Andrew Cagney <ac131313@redhat.com>
1058 * configure: Regenerated to track ../common/aclocal.m4 changes.
1060 2002-06-12 Andrew Cagney <ac131313@redhat.com>
1062 * Makefile.in: Update copyright.
1063 (wrapper.o): Specify dependencies.
1064 * wrapper.c: Include "gdb/sim-arm.h".
1065 (sim_store_register, sim_fetch_register): Rewrite using `enum
1066 arm_sim_regs' and a switch.
1068 2002-06-09 Andrew Cagney <cagney@redhat.com>
1070 * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
1071 * armos.c: Include "gdb/callback.h".
1073 2002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
1075 * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
1076 if a Data Abort is detected.
1078 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
1080 * armvirt.c (GetWord): Only perform access checks if 'check'
1082 (PutWord): Likewise.
1083 * wrapper.c (sim_create_inferior): Report unknown machine
1085 * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
1086 2, it has already been advanced.
1088 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
1090 * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
1091 instruction do not add in the second bit of the base address -
1092 this has already been accounted for.
1094 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
1096 * armcopro.c (check_cp13_access): Allow access to register 1 when
1098 (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
1100 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
1102 * Makefile.in (SIM_TARGET_SWITCHES): Define.
1103 * armos.c (swi_mask): Define. Initialise to supporting all
1105 (ARMul_OSInit): For XScale targets, only support the ANGEL
1106 SWI interface. (This is at the request if Intel).
1107 (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
1108 SWI call should be emulated.
1109 Do not fall through from AngelSWI_Reason_WriteC.
1110 Propagate exit code from RedBoot Exit SWI.
1111 * rdi-dgb.h (swi_mask): Prototype.
1112 (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
1113 * wrapper.c (sim_target_parse_command_line): New function.
1114 Look for and handle --swi-support switch.
1115 (sim_target_parse_arg_array): New function. Process an argv
1116 array for parsing by sim_target_parse_command_line.
1117 (sim_target_display_usage): New function. Describe syntax of
1118 --swi-suppoort switch.
1119 (sim_open): Add call to sim_target_parse_arg_array).
1121 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1123 * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
1124 mode and some of its system calls.
1126 2002-03-17 Anthony Green <green@redhat.com>
1128 * wrapper.c (mem_size): Increase the default target memory to 8MB.
1130 2002-02-21 Keith Seitz <keiths@redhat.com>
1132 * armos.c (SWIWrite0): Use generic host_callback mechanism
1133 for supported OS functions "open", "close", "write", etc.
1134 (SWIopen): Likewise.
1135 (SWIread): Likewise.
1136 (SWIwrite): Likewise.
1137 (SWIflen): Likewise.
1138 (ARMul_OSHandleSWI): Likewise.
1140 2002-02-05 Nick Clifton <nickc@cambridge.redhat.com>
1142 * wrapper.c (sim_create_inferior): Modify previous patch so that
1143 it is only triggered for COFF format executables.
1145 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
1147 * wrapper.c (sin_create_inferior): If a v5 architecture is
1148 detected, assume it might be an XScale binary, since there is no
1149 way to distinguish between the two in the COFF file format.
1151 2002-01-10 Nick Clifton <nickc@cambridge.redhat.com>
1153 * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
1154 * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
1156 Fix formatting. Improve layout.
1157 * armemu.h: Fix formatting. Improve layout.
1159 2002-01-09 Nick Clifton <nickc@cambridge.redhat.com>
1161 * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
1162 return zeroes in the other words.
1163 General formatting tidy ups.
1165 2001-11-16 Ben Harris <bjh21@netbsd.org>
1167 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1169 (armemu26.o): Ditto.
1171 2001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
1173 * armemu.h (CP_ACCESS_ALLOWED): New macro.
1175 * armcopro.c (read_cp14_reg): Make static.
1176 (write_cp14_reg): Make static.
1177 (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
1179 * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
1180 (ARMul_STC): Check CP_ACCESS_ALLOWED.
1181 (ARMul_MCR): Check CP_ACCESS_ALLOWED.
1182 (ARMul_MRC): Check CP_ACCESS_ALLOWED.
1183 (ARMul_CDP): Check CP_ACCESS_ALLOWED.
1185 * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not
1187 (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15.
1190 2001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
1192 * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
1193 instructions with post indexed addressing modes.
1195 2001-05-08 Jens-Christian Lache <lache@tu-harburg.de>
1197 * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
1198 determine rocesor mode.
1200 2001-04-18 matthew green <mrg@redhat.com>
1202 * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
1203 (read_cp15_reg): Make non-static.
1204 (XScale_cp15_LDC): Update for write_cp15_reg() change.
1205 (XScale_cp15_MCR): Likewise.
1206 (XScale_cp15_write_reg): Likewise.
1207 (XScale_check_memacc): New function. Check for breakpoints being
1208 activated by memory accesses. Does not support the Branch Target
1210 (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
1211 (XScale_debug_moe): New function. Set the debug Method Of Entry,
1213 (write_cp14_reg): Reset count counter if requested.
1214 * armdefs.h (struct ARMul_State): New members `LastTime' and
1215 `CP14R0_CCD' used for the timer/counters.
1216 (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
1217 ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
1218 ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
1219 ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
1220 ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
1221 ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
1222 ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
1223 ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
1224 defines for XScale registers.
1225 (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
1226 (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
1227 (ARMul_Emulate32): Handle the clock counter and hardware instruction
1228 breakpoints. Call XScale_set_fsr_far() for software breakpoints and
1229 software interrupts.
1230 (LoadMult): Call XScale_set_fsr_far() for data aborts.
1231 (LoadSMult): Likewise.
1232 (StoreMult): Likewise.
1233 (StoreSMult): Likewise.
1234 * armemu.h (write_cp15_reg): Update prototype.
1235 * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
1236 (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
1238 * armvirt.c (GetWord): Call XScale_check_memacc().
1239 (PutWord): Likewise.
1241 2001-03-20 Nick Clifton <nickc@redhat.com>
1243 * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
1244 when loading unaligned thumb instructions.
1246 2001-03-06 Nick Clifton <nickc@redhat.com>
1248 * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
1249 Compute destination address of BLX(1) instruction by
1250 taking bit 1 from PC and not from bit 0 of the offset.
1252 2001-02-27 Nick Clifton <nickc@redhat.com>
1254 * armvirt.c (GetWord): Add new parameter - check - to enable or
1255 disable the alignment checking.
1256 (PutWord): Add new parameter - check - to enable or disable the
1258 (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
1259 (ARMul_ReadWord): Pass extra parameter to GetWord.
1260 (ARMul_WriteWord): Pass extra parameter to PutWord.
1261 (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
1262 (ARMul_WriteByte): Pass extra parameter to GetWord.
1263 (ARMul_SwapWord): Pass extra parameter to PutWord.
1264 (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
1265 (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
1267 * armdefs.h: Add prototypes for ARMul_SafeReadByte and
1268 ARMul_SafeWriteByte.
1270 * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
1271 (sim_read): Use ARMul_SafeReadByte.
1273 * armos.c (in_SWI_handler): Remove.
1274 (SWIWrite0): Use ARMul_SafeReadByte.
1275 (WriteCommandLineTo): Use ARMul_SafeWriteByte.
1276 (SWIopen): Use ARMul_SafeReadByte.
1277 (SWIread): Use ARMul_SafeWriteByte.
1278 (SWIwrite): Use ARMul_SafeReadByte.
1279 (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
1280 (ARMul_OSException): Remove use of is_SWI_handler.
1282 2001-02-16 Nick Clifton <nickc@redhat.com>
1284 * armemu.c: Remove Prefetch abort for breakpoints. Instead set
1285 the state to RESUME.
1287 2001-02-14 Nick Clifton <nickc@redhat.com>
1289 * armemu.c: Add code to preserve processor mode when a prefetch
1290 abort is signalled after processing a breakpoint.
1292 * wrapper.c (sim_create_inferior): Reset processor into ARM mode
1293 for any machine type except the early ARMs.
1295 2001-02-13 Nick Clifton <nickc@redhat.com>
1297 * armos.c (in_SWI_handler): New static variable.
1298 (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
1299 (ARMul_OSException): Ignore exceptions generated whilst emulating
1302 2001-02-12 Nick Clifton <nickc@redhat.com>
1304 * armemu.h (NEGBRANCH): Fix defintion.
1306 2001-02-01 Nick Clifton <nickc@redhat.com>
1308 * armemu.c (LoadSMult): Update base address register after
1309 restoring register bank.
1310 (StoreMult): Update base address register after restoring register
1313 2001-01-31 Nick Clifton <nickc@redhat.com>
1315 * armvirt.c (PutWord): Detect installation of SWI vector.
1316 (SWI_vector_installed): Define.
1317 * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
1318 * armos.h (SWI_vector_installed): Declare.
1319 * wrapper.c (SWI_vector_installed): Remove definition.
1320 (sim_write): Remove check of SWI vector installation
1322 2000-12-18 Nick Clifton <nickc@redhat.com>
1324 * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
1327 2000-12-10 Nick Clifton <nickc@redhat.com>
1329 * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
1331 2000-12-07 Nick Clifton <nickc@redhat.com>
1333 * armemu.c (ARMul_Emulate26): Detect double word load and
1334 store instructions and call emulation routines.
1335 (Handle_Load_Double): Emulate a double word load instruction.
1336 (Handle_Store_Double): Emulate a double word store
1339 2000-12-03 Nick Clifton <nickc@redhat.com>
1341 * armos.c: Fix formatting.
1342 (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
1345 2000-11-29 Nick Clifton <nickc@redhat.com>
1347 * armdefs.h (State): Add 'v5e' and 'xscale' fields.
1348 (ARM_v5e_Prop): Define.
1349 (ARM_XScale_Prop): Define.
1351 * wrapper.c (sim_create_inferior): Select processor based on
1353 (SWI_vector_installed): New boolean. Set to true if the SWI
1354 vector address is written to by the executable.
1356 * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
1357 (ARMul_SelectProcessor): Initialise v5e and xscale signals.
1358 (ARMul_Abort): Fix calculation of LR address.
1360 * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
1361 and a SWI is not handled by the simulator, pass the SWI off to the
1362 vector, otherwise issue a warning message and continue.
1364 * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
1366 * thumbemu.c: Add v5 instruction simulation.
1367 * armemu.c: Add v5, XScale and El Segundo instruction simulation.
1369 * armcopro.c: Add XScale co-processor emulation.
1370 * armemu.h: Add exported XScale co-processor functions.
1372 2000-09-15 Nick Clifton <nickc@redhat.com>
1374 * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
1375 property. Delete unnecessary processor names.
1376 (ARM_Strong_Prop): Delete.
1377 (STRONGARM): Delete.
1380 (State): Delete is_StrongARM boolean. Add is_v4 and is_v5
1383 * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
1384 (BUSUSEDINCPCN): Use is_v4 boolean.
1386 * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
1387 (ARMul_SelectProcessor): Change second parameter from 'processor'
1388 to 'properties'. Set is_v4 and is_v5 booleans in State.
1390 * armrdi.c: Remove use of ARM processor names. Replace with ARM
1391 processor properties.
1393 * wrapper.c (sim_create_inferior): Choose properties passed to
1394 ARMul_SelectProcessor based on machine number.
1396 2000-08-14 Nick Clifton <nickc@redhat.com>
1398 * armemu.c (LHPOSTDOWN): Compute write back value before
1399 performing load in case the offset register is overwritten.
1402 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
1404 * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
1406 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
1408 * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
1411 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
1413 * armvirt.c (ABORTS): Do not define.
1415 * armdefs.h (struct ARMul_State): Add is_StrongARM.
1416 (ARM_Strong_Prop, STRONGARM): Define.
1417 * arminit.c (ARMul_NewState): Reset is_StrongARM.
1418 (ARMul_SelectProcessor): Set is_StrongARM.
1419 * wrapper.c (sim_create_inferior): Use bfd machine type to
1420 determine processor type to emulate.
1421 * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
1422 when emulating StrongARM.
1424 * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
1426 * armemu.h (INSN_SIZE): New macro.
1427 (SET_ABORT): Save CPSR in SPSR and set LR.
1428 * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
1429 (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
1430 * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
1432 * armemu.c (LoadSMult): Use WriteR15() to discard the least
1433 significant bits of PC.
1435 * armemu.h (WRITEDESTB): New macro.
1436 * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
1437 modify PC. Moved the existing logic...
1438 (WriteR15Branch): ... here. New function.
1439 (WriteR15, WriteSR15): Drop the two least significant bits.
1440 (LoadSMult): Use WriteR15Branch() to modify PC.
1441 (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
1443 * armemu.h (GETSPSR): Call ARMul_GetSPSR().
1444 * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
1445 extracted from state->Cpsr, but preserve the unused bits.
1446 (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
1447 (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
1448 get the full CPSR word.
1450 * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
1451 (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
1452 (SETPSR, SET_INTMODE, SETCC): Removed.
1453 * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
1454 mask. Use SETPSR_* to modify PSR.
1455 (ARMul_SetCPSR): Load all bits from value.
1456 * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
1458 * armemu.c (ARMul_Emulate): Compute writeback value before
1459 loading, since the offset register may be the destination
1462 * armdefs.h (SYSTEMBANK): Define as USERBANK.
1463 * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
1465 2000-06-22 Alexandre Oliva <aoliva@cygnus.com>
1467 * armemu.c (Multiply64): Fix computation of flag N.
1469 * armemu.c (MultiplyAdd64): Fix computation of flag N.
1471 2000-06-20 Alexandre Oliva <aoliva@cygnus.com>
1473 * armemu.h (NEGBRANCH): Do not overwrite the two most significant
1476 2000-05-25 Nick Clifton <nickc@cygnus.com>
1478 * armcopro.c (MMUMCR): Only indicate mode change if a singal has
1480 (MMUWrite): Only indicate mode change if a singal has really
1483 * armdefs.h (SYSTEMMODE): Define.
1484 (BANK_CAN_ACEESS_SPSR): Define.
1486 * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
1487 to advance before stopping the emulation.
1489 * arminit.c (ARMul_Reset): Ensure Mode field of State is set
1492 * armos.c (ARMul_OSInit): Create a initial stack pointer for
1495 * armsupp.c (ModeToBank): Remove unused first parameter.
1496 Add support for System Mode.
1497 (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1498 (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1499 (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1500 (ARMulSwitchMode): Add support for System Mode.
1502 Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
1504 * configure: Regenerated to track ../common/aclocal.m4 changes.
1506 2000-05-23 Nick Clifton <nickc@cygnus.com>
1508 * wrapper.c (sim_store_register): Special handling for CPSR
1511 2000-03-11 Philip Blundell <philb@gnu.org>
1513 * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
1514 Patch from Allan Skillman <Allan.Skillman@arm.com>.
1516 Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
1518 * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
1520 2000-02-08 Nick Clifton <nickc@cygnus.com>
1522 * wrapper.c: Fix compile time warning messages.
1523 * armcopro.c: Fix compile time warning messages.
1524 * armdefs.h: Fix compile time warning messages.
1525 * armemu.c: Fix compile time warning messages.
1526 * armemu.h: Fix compile time warning messages.
1527 * armos.c: Fix compile time warning messages.
1528 * armsupp.c: Fix compile time warning messages.
1529 * armvirt.c: Fix compile time warning messages.
1530 * bag.c: Fix compile time warning messages.
1532 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
1534 * *.[ch]: Use indent to make readable.
1536 1999-11-22 Nick Clifton <nickc@cygnus.com>
1538 * armos.c (SWIread): Generate an error message if a huge read is
1540 (SWIwrite): Generate an error message if a huge write is
1543 1999-10-27 Nick Clifton <nickc@cygnus.com>
1545 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
1548 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
1550 * armos.c (SWIopen): Always pass third parameter with 0666 since
1551 otherwise uninitialized memory gets access if the O_CREAT bit is
1552 set and so we possibly cannot access the file afterwards.
1554 1999-09-29 Doug Evans <devans@casey.cygnus.com>
1556 * armos.c (SWIWrite0): Send output to stdout instead of stderr.
1557 (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
1559 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
1561 * configure: Regenerated to track ../common/aclocal.m4 changes.
1563 1999-05-08 Felix Lee <flee@cygnus.com>
1565 * configure: Regenerated to track ../common/aclocal.m4 changes.
1567 1999-04-06 Keith Seitz <keiths@cygnus.com>
1569 * wrapper.c (stop_simulator): New global.
1570 (sim_stop): Set sim state to STOP and set
1572 (sim_resume): Reset stop_simulator.
1573 (sim_stop_reason): If stop_simulator is set, tell gdb
1574 that the we took SIGINT.
1575 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
1576 stop_simulator is set.
1578 1999-04-02 Keith Seitz <keiths@cygnus.com>
1580 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
1581 whenever the counter expires.
1582 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
1584 1999-03-24 Nick Clifton <nickc@cygnus.com>
1586 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
1587 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
1589 Mon Sep 14 09:00:05 1998 Nick Clifton <nickc@cygnus.com>
1591 * wrapper.c (sim_open): Set endianness according to BFD or command
1594 * tconfig.in: Define SIM_HAVE_BIENDIAN.
1596 Thu Aug 27 11:00:05 1998 Nick Clifton <nickc@cygnus.com>
1598 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
1599 the same as either RdHi or RdLo.
1601 Thu Jul 2 10:24:35 1998 Nick Clifton <nickc@cygnus.com>
1603 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
1604 Set Reg[0] based on reason for for the exception.
1606 Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com)
1608 * armos.c (SWIwrite0): New function.
1609 (WriteCommandLineTo): New function.
1610 (SWIopen): New function.
1611 (SWIread): New function.
1612 (SWIwrite): New function.
1613 (SWIflen): New function.
1614 (ARMul_OSHandleSWI): Call new functions instead of handling
1616 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
1617 (*): Reformat spacing to be a bit more GNUly.
1618 Most code taken from a patch by Anthony Thompson
1619 (athompso@cambridge.arm.com)
1621 Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
1623 * armos.h: Add Angel SWI and its reason codes.
1624 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
1626 Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
1628 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
1629 of ":tt" to catch stdin in addition to stdout.
1630 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
1631 or success of lseek().
1633 Wed May 20 17:36:25 1998 Nick Clifton <nickc@cygnus.com>
1635 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
1638 Wed Apr 29 15:29:55 1998 Jeff Johnston <jjohnstn@cygnus.com>
1640 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
1641 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
1642 seek from offset 0 and not to use R2 for whence since it is
1643 not passed as part of the SWI call.
1645 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1647 * configure: Regenerated to track ../common/aclocal.m4 changes.
1649 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
1651 * configure: Regenerated to track ../common/aclocal.m4 changes.
1654 Sun Apr 26 15:20:26 1998 Tom Tromey <tromey@cygnus.com>
1656 * acconfig.h: New file.
1657 * configure.in: Reverted change of Apr 24; use sinclude again.
1659 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1661 * configure: Regenerated to track ../common/aclocal.m4 changes.
1664 Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
1666 * configure.in: Don't call sinclude.
1668 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1670 * configure: Regenerated to track ../common/aclocal.m4 changes.
1672 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1674 * configure: Regenerated to track ../common/aclocal.m4 changes.
1676 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1678 * configure: Regenerated to track ../common/aclocal.m4 changes.
1680 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1682 * configure: Regenerated to track ../common/aclocal.m4 changes.
1684 Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
1686 * armopts.h: Remove definition of LITTLEND - it is not used.
1688 Tue Feb 17 12:35:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
1690 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
1691 length parameter. Return -1.
1693 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1695 * configure: Regenerated to track ../common/aclocal.m4 changes.
1697 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1699 * configure: Regenerated to track ../common/aclocal.m4 changes.
1701 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1703 * configure: Regenerated to track ../common/aclocal.m4 changes.
1705 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1707 * configure: Regenerated to track ../common/aclocal.m4 changes.
1710 Tue Dec 9 11:30:48 1997 Nick Clifton <nickc@cygnus.com>
1712 * Makefile.in: Updated with changes from branch.
1714 * armemu.c: ditto these changes
1715 * armemu.h: ditto add support for
1716 * armos.c: ditto the Thumb instruction
1717 * armsupp.c: ditto set and the new v4
1718 * armvirt.c: ditto architecture.
1720 * thumbemu.c: New file from branch.
1723 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1725 * configure: Regenerated to track ../common/aclocal.m4 changes.
1727 Thu Oct 30 13:54:06 1997 Nick Clifton <nickc@cygnus.com>
1729 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
1730 from Tony Thompson at ARM: athompso@arm.com
1732 * wrapper.c (sim_create_inferior): Add code to create an execution
1733 environment. Patch from Tony Thompson at ARM: athompso@arm.com
1735 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1737 * wrapper.c (sim_load): Pass lma_p and sim_write args to
1740 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1742 * configure: Regenerated to track ../common/aclocal.m4 changes.
1744 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1746 * configure: Regenerated to track ../common/aclocal.m4 changes.
1748 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1750 * configure: Regenerated to track ../common/aclocal.m4 changes.
1752 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1754 * configure: Regenerated to track ../common/aclocal.m4 changes.
1756 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1758 * configure: Regenerated to track ../common/aclocal.m4 changes.
1760 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1762 * configure: Regenerated to track ../common/aclocal.m4 changes.
1764 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1766 * configure: Regenerated to track ../common/aclocal.m4 changes.
1768 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1770 * configure: Regenerated to track ../common/aclocal.m4 changes.
1773 Tue Aug 26 10:37:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
1775 * wrapper.c (sim_kill): Delete.
1776 (sim_create_inferior): Add ABFD argument.
1777 (sim_load): Move setting of PC from here.
1778 (sim_create_inferior): To here.
1780 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1782 * configure: Regenerated to track ../common/aclocal.m4 changes.
1785 Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
1787 * wrapper.c (sim_open): Add ABFD argument.
1789 Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
1791 * wrapper.c (sim_open): Add callback argument.
1792 (sim_set_callbacks): Drop SIM_DESC argument.
1794 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1796 * configure: Regenerated to track ../common/aclocal.m4 changes.
1798 Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
1800 * wrapper.c (sim_stop): Stub sim_stop function.
1802 Thu Apr 17 18:33:01 1997 Fred Fish <fnf@cygnus.com>
1804 * arminit.c (ARMul_NewState): Preinitialize the state to
1807 Thu Apr 17 02:39:02 1997 Doug Evans <dje@canuck.cygnus.com>
1809 * Makefile.in (SIM_OBJS): Add sim-load.o.
1810 * wrapper.c (sim_kind,myname): New static locals.
1811 (sim_open): Set sim_kind, myname.
1812 (sim_load): Call sim_load_file to do work. Set start address from bfd.
1813 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
1815 Thu Apr 17 11:48:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1817 * wrapper.c (sim_trace): Update so that it matches prototype.
1819 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1821 * configure: Regenerated to track ../common/aclocal.m4 changes.
1824 Mon Apr 7 12:01:17 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1826 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1828 (armemu26.o): Ditto.
1830 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1832 * wrapper.c (sim_open): New arg `kind'.
1834 * configure: Regenerated to track ../common/aclocal.m4 changes.
1836 Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
1838 * COPYING: Update FSF address.
1840 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1842 * configure: Regenerated to track ../common/aclocal.m4 changes.
1844 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1846 * configure: Regenerated to track ../common/aclocal.m4 changes.
1848 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1850 * configure: Re-generate.
1852 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1854 * configure: Regenerate to track ../common/aclocal.m4 changes.
1856 Thu Mar 13 12:38:56 1997 Doug Evans <dje@canuck.cygnus.com>
1858 * wrapper.c (sim_open): Has result now.
1859 (sim_*): New SIM_DESC argument.
1861 Tue Feb 4 13:22:21 1997 Doug Evans <dje@canuck.cygnus.com>
1863 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
1864 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1865 * configure.in: sinclude ../common/aclocal.m4.
1866 * configure: Regenerated.
1868 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1870 * configure configure.in Makefile.in: Update to new configure
1871 scheme which is more compatible with WinGDB builds.
1872 * configure.in: Improve comment on how to run autoconf.
1873 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1874 * Makefile.in: Use autoconf substitution to install common
1877 Wed Nov 20 01:05:10 1996 Doug Evans <dje@canuck.cygnus.com>
1879 * run.c: Deleted, use one in ../common now.
1880 * Makefile.in: Delete everything that's been moved to
1881 ../common/Make-common.in.
1883 * configure.in: Simplify using macros in ../common/aclocal.m4.
1884 * configure: Regenerated.
1885 * config.in: New file.
1886 * armos.c: #include config.h.
1887 * wrapper.c (mem_size): Value is in bytes now.
1888 (sim_callback): New global.
1889 (arm_sim_set_profile{,_size}): Delete.
1890 (arm_sim_set_mem_size): Rename to sim_size.
1891 (sim_do_command): Call printf_filtered via callback.
1892 (sim_set_callbacks): Record callback.
1894 Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1896 * Makefile.in (mostlyclean): Remove config.log.
1898 Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1900 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1901 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1903 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1904 (AC_PROG_INSTALL): Added.
1905 * configure: Rebuilt.
1907 Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
1909 * configure: Regenerate with autoconf 2.7.
1911 Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
1913 * run.c (main): Use new bfd_big_endian macro.
1915 Mon Nov 20 17:40:38 1995 Doug Evans <dje@canuck.cygnus.com>
1917 * run.c: Include "getopt.h".
1919 (usage): Make static.
1920 (main): Call arm_sim_set_verbosity.
1921 Only load sections marked SEC_LOAD.
1922 * wrapper.c (mem_size, verbosity): New static global.
1923 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
1924 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
1926 Fri Nov 17 19:35:11 1995 Doug Evans <dje@canuck.cygnus.com>
1928 * armdefs.h (ARMul_State): New member `verbose'.
1929 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
1930 * run.c (verbose): Make global.
1931 * wrapper.c (init): Set state->verbose.
1932 (ARMul_ConsolePrint): Don't print anything if !verbose.
1934 Fri Oct 13 15:30:30 1995 Doug Evans <dje@canuck.cygnus.com>
1936 * armos.c: #include dbg_rdi.h.
1937 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
1938 * armos.h (SWI_Breakpoint): Define.
1939 * wrapper.c: #include armemu.h, dbg_rdi.h.
1941 (sim_resume): Use state->EndCondition to record stop state.
1942 Call FLUSHPIPE before returning.
1943 (sim_stop_reason): Determine reason from state->EndCondition.
1945 Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
1947 * wrapper.c (sim_set_callbacks): New.
1949 Thu Sep 28 19:45:56 1995 Doug Evans <dje@deneb.cygnus.com>
1951 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
1952 number of bytes not read/written (or -1).
1954 Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
1956 * Makefile.in (maintainer-clean): New synonym for realclean.
1958 Fri Sep 8 14:27:20 1995 Ian Lance Taylor <ian@cygnus.com>
1960 * configure.in: Remove AC_PROG_INSTALL.
1961 * configure: Rebuild.
1962 * Makefile.in (INSTALL): Revert to using install.sh.
1963 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
1964 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
1965 (mostlyclean): Make the same as clean, not distclean.
1966 (clean): Remove config.log.
1967 (install): Don't install in $(tooldir).
1969 Thu Sep 7 12:00:17 1995 Doug Evans <dje@canuck.cygnus.com>
1971 (Try to) Update to new bfd autoconf scheme.
1972 * run.c: Don't include sysdep.h.
1973 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
1974 (CC, CFLAGS, AR, RANLIB): Likewise.
1975 (HDEFINES, TDEFINES): Define.
1976 (CC_FOR_BUILD): Delete.
1977 (host_makefile_frag): Delete.
1978 (Makefile): Don't depend on frags.
1979 * configure.in (sysdep.h): Don't create symlink.
1980 (host_makefile_frag, frags): Deleted.
1981 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
1982 * configure: Regenerated.
1984 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1986 * Update all FSF addresses except those in COPYING* files.
1988 Wed Jul 5 16:15:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1990 * Makefile.in (clean): Remove run, libsim.a.
1992 * Makefile.in, configure.in: converted to autoconf.
1993 * configure: New file, generated with autconf 2.4.
1997 Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
1999 * wrapper.c (sim_do_command): New function.
2001 Tue Jun 13 10:57:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
2003 * armos.c (ARMul_OSHandleSWI): New version to work with
2006 Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
2008 * run.c (main): Grab return value from right register.
2010 Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>