1 2021-02-06 Mike Frysinger <vapier@gentoo.org>
3 * configure: Regenerate.
5 2021-01-11 Mike Frysinger <vapier@gentoo.org>
7 * config.in, configure: Regenerate.
9 2021-01-09 Mike Frysinger <vapier@gentoo.org>
11 * configure: Regenerate.
13 2021-01-08 Mike Frysinger <vapier@gentoo.org>
15 * configure: Regenerate.
17 2021-01-04 Mike Frysinger <vapier@gentoo.org>
19 * wrapper.c: Include stdlib.h.
21 2021-01-04 Mike Frysinger <vapier@gentoo.org>
23 * iwmmxt.c: Include stdlib.h.
25 2021-01-04 Mike Frysinger <vapier@gentoo.org>
27 * configure: Regenerate.
29 2020-12-15 Nick Clifton <nickc@redhat.com>
31 * wrapper.c (sim_create_inferior): Accept some more ARM machine numbers.
33 2020-12-15 Jens Bauer <jens@plustv.dk>
35 * armemu.c (handle_v6_insn): Add support for SDIV and UDIV.
36 * thumbemu.c (handle_T2_insn): Likewise.
38 2020-10-20 Dr. David Alan Gilbert <dgilbert@redhat.com>
40 * armos.c (SWIread): Fix printf format.
42 2020-08-13 Luis Machado <luis.machado@linaro.org>
46 * wrapper.c (sim_target_parse_command_line): Free discarded argv
48 (sim_open): Use a duplicate of argv instead of the original argv.
50 2020-01-17 Christian Biesinger <cbiesinger@google.com>
52 * iwmmxt.c: Fix spelling error (seperate).
54 2019-12-06 Luis Machado <luis.machado@linaro.org>
56 * armemu.c (isize): Move this declaration ...
57 * arminit.c (isize): ... here.
58 * maverick.h: New file.
59 * wrapper.c: Include "maverick.h".
60 (<struct maverick_regs>, <union maverick_acc_regs>): Remove and update
62 (sim_create_inferior): Cast variables to proper type.
63 * maverick.c: Include "maverick.h".
64 (<struct maverick_regs>, <union maverick_acc_regs>): Move
65 declarations to maverick.h and update comment.
66 (DSPsc, DSPacc, DSPregs): Adjust comment.
68 2018-01-02 Nick Clifton <nickc@redhat.com>
71 * maverick.c (DSPCDP4): Add missing parameter to debug print
74 2017-09-21 Yao Qi <yao.qi@linaro.org>
76 * wrapper.c (print_insn): Use disassembler instead of
77 print_insn_little_arm.
79 2017-09-06 John Baldwin <jhb@FreeBSD.org>
81 * configure: Regenerate.
83 2017-02-13 Mike Frysinger <vapier@gentoo.org>
85 * armos.c: Include libiberty.h.
86 (SWIopen): Use ARRAY_SIZE.
87 * armsupp.c: Include libiberty.h.
88 (ModeToBank): Use ARRAY_SIZE.
89 * wrapper.c (sim_target_parse_command_line): Likewise.
91 2016-07-14 Nick Clifton <nickc@redhat.com>
93 * armemu.c (Multiply64): Only issue error messages about invalid
94 arguments if debugging is enabled.
95 * armos.c (ARMul_OSHandleSWI): Ignore invalid flags.
97 2016-01-10 Mike Frysinger <vapier@gentoo.org>
99 * config.in, configure: Regenerate.
101 2016-01-10 Mike Frysinger <vapier@gentoo.org>
103 * configure: Regenerate.
105 2016-01-10 Mike Frysinger <vapier@gentoo.org>
107 * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
108 * configure: Regenerate.
110 2016-01-10 Mike Frysinger <vapier@gentoo.org>
112 * configure: Regenerate.
114 2016-01-10 Mike Frysinger <vapier@gentoo.org>
116 * configure: Regenerate.
118 2016-01-10 Mike Frysinger <vapier@gentoo.org>
120 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
121 * configure: Regenerate.
123 2016-01-10 Mike Frysinger <vapier@gentoo.org>
125 * configure: Regenerate.
127 2016-01-10 Mike Frysinger <vapier@gentoo.org>
129 * configure: Regenerate.
131 2016-01-09 Mike Frysinger <vapier@gentoo.org>
133 * config.in, configure: Regenerate.
135 2016-01-06 Mike Frysinger <vapier@gentoo.org>
137 * wrapper.c (sim_create_inferior): Mark argv and env const.
138 (sim_open): Mark argv const.
140 2016-01-04 Mike Frysinger <vapier@gentoo.org>
142 * configure: Regenerate.
144 2016-01-03 Mike Frysinger <vapier@gentoo.org>
146 * wrapper.c (sim_open): Update sim_parse_args comment.
148 2016-01-03 Mike Frysinger <vapier@gentoo.org>
150 * wrapper.c (sim_target_parse_arg_array): Replace for loop with
153 2016-01-03 Mike Frysinger <vapier@gentoo.org>
155 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
156 * configure: Regenerate.
158 2016-01-02 Mike Frysinger <vapier@gentoo.org>
160 * configure: Regenerate.
161 * wrapper.c (init): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
163 2015-12-30 Mike Frysinger <vapier@gentoo.org>
165 * wrapper.c (sim_store_register): Rename to ...
166 (arm_reg_store): ... this.
167 (sim_fetch_register): Rename to ...
168 (arm_reg_fetch): ... this.
169 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
171 2015-12-27 Mike Frysinger <vapier@gentoo.org>
173 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
175 2015-12-26 Mike Frysinger <vapier@gentoo.org>
177 * config.in, configure: Regenerate.
179 2015-12-25 Mike Frysinger <vapier@gentoo.org>
181 * Makefile.in (SIM_OBJS): Delete bag.o.
182 * armdefs.h (struct ARMul_State): Delete ErrorCode.
183 (ResetPin, FIQPin, IRQPin, AbortPin, TransPin, BigEndPin, Prog32Pin,
184 Data32Pin, LateAbortPin, ARMul_OSExit, ARMul_OSLastErrorP,
185 ARMul_Debug, ARMul_OSException,rdi_log, SpinCursor, HOURGLASS,
186 HOURGLASS_RATE): Delete.
187 * armemu.c (ARMul_Emulate26): Delete ARMul_Debug call.
188 * arminit.c (ARMul_Reset): Do not set state->ErrorCode.
189 (ARMul_Abort): Delete ARMul_OSException call.
190 * armopts.h: Delete file.
191 * armos.c (isatty_, ARMul_OSExit, ARMul_OSException,
192 ARMul_OSLastErrorP, ARMul_Debug, BUFFERSIZE, UNIQUETEMPS, NOOP,
193 BINARY, READOP, WRITEOP, FIXCRLF): Delete.
194 (struct OSblock): Delete Time0, ErrorP, FileTable, FileFlags, and
196 (ARMul_OSInit): Do not set OSptr->ErrorP, OSptr->FileTable, or
198 * armrdi.c: Delete file.
199 * armvirt.c: Delete armopts.h include.
200 (ARMul_LoadInstrS): Delete HOURGLASS logic.
201 * bag.c, bag.h, communicate.c, communicate.h, dbg_conf.h, dbg_cp.h,
202 dbg_hif.h: Delete files.
203 * dbg_rdi.h (RDP_*, RDI*): Delete defines.
204 (PointHandle, ThreadHandle, Dbg_ConfigBlock, Dbg_HostosInterface,
205 Dbg_MCState, getbufferproc): Delete.
206 (rdi_*): Delete Functions.
207 (RDI_ConfigAspect, RDI_ConfigMatchType, RDI_NameList): Delete
208 (struct RDIProcVec): Delete.
209 * gdbhost.c, gdbhost.h, kid.c, main.c, parent.c: Delete files.
210 * wrapper.c (ARMul_Debug): Delete.
212 2015-12-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
214 * thumbemu.c (handle_T2_insn): Fix left shift of negative value.
215 * armemu.c (handle_v6_insn): Likewise.
217 2015-11-14 Mike Frysinger <vapier@gentoo.org>
219 * wrapper.c (sim_close): Delete.
221 2015-07-14 Nick Clifton <nickc@redhat.com>
223 * armcopro.c: Remove extraneous whitespace.
224 * armdefs.h: Likewise.
225 * armfpe.h: Likewise.
226 * arminit.c: Likewise.
227 * armopts.h: Likewise.
230 * armrdi.c: Likewise.
231 * armsupp.c: Likewise.
232 * armvirt.c: Likewise.
235 * communicate.c: Likewise.
236 * communicate.h: Likewise.
237 * dbg_conf.h: Likewise.
238 * dbg_cp.h: Likewise.
239 * dbg_hif.h: Likewise.
240 * dbg_rdi.h: Likewise.
241 * gdbhost.c: Likewise.
242 * gdbhost.h: Likewise.
243 * iwmmxt.c: Likewise.
244 * iwmmxt.h: Likewise.
247 * maverick.c: Likewise.
248 * parent.c: Likewise.
249 * thumbemu.c: Likewise.
250 * wrapper.c: Likewise.
252 2015-07-02 Nick Clifton <nickc@redhat.com>
254 * Makefile.in (SIM_EXTRA_CFLAGS): Revert previous delta.
255 (SIM_EXTRA_LIBS): Add -lm.
257 2015-06-28 Nick Clifton <nickc@redhat.com>
259 * Makefile.in (SIM_EXTRA_CFLAGS): Add -lm.
260 * armdefs.h (ARMdval, ARMfval): New types.
261 (ARM_VFP_reg): New union.
262 (struct ARMul_State): Add VFP_Reg and FPSCR fields.
263 (VFP_fval, VFP_uword, VFP_sword, VFP_dval, VFP_dword): Accessor
264 macros for the new VFP_Reg field.
265 * armemu.c (handle_v6_insn): Add code to handle MOVW, MOVT,
266 QADD16, QASX, QSAX, QSUB16, QADD8, QSUB8, UADD16, USUB16, UADD8,
267 USUB8, SEL, REV, REV16, RBIT, BFC, BFI, SBFX and UBFX
269 (handle_VFP_move): New function.
270 (ARMul_Emulate16): Add checks for newly supported v6
271 instructions. Add support for VMRS, VMOV and MRC instructions.
272 (Multiply64): Allow nRdHi == nRm and/or nRdLo == nRm when
273 operating in v6 mode.
274 * armemu.h (t_resolved): Define.
275 * armsupp.c: Include math.h.
276 (handle_VFP_xfer): New function. Handles VMOV, VSTM, VSTR, VPUSH,
277 VSTM, VLDM and VPOP instructions.
278 (ARMul_LDC): Test for co-processor 10 or 11 and pass call to the
279 new handle_VFP_xfer function.
280 (ARMul_STC): Likewise.
281 (handle_VFP_op): New function. Handles VMLA, VMLS, VNMLA, VNMLS,
282 VNMUL, VMUL, VADD, VSUB, VDIV, VMOV, VABS, VNEG, VSQRT, VCMP,
283 VCMPE and VCVT instructions.
284 (ARMul_CDP): Test for co-processor 10 or 11 and pass call to the
285 new handle_VFP_op function.
286 * thumbemu.c (tBIT, tBITS, ntBIT, ntBITS): New macros.
287 (test_cond): New function. Tests a condition and returns non-zero
288 if the condition has been met.
289 (handle_IT_block): New function.
290 (in_IT_block): New function.
291 (IT_block_allow): New function.
292 (ThumbExpandImm): New function.
293 (handle_T2_insn): New function. Handles T2 thumb instructions.
294 (handle_v6_thumb_insn): Add next_instr and pc parameters.
295 (ARMul_ThumbDecode): Add support for IT blocks. Add support for
297 * wrapper.c (sim_create_inferior): Detect a thumb address and call
300 2015-06-23 Mike Frysinger <vapier@gentoo.org>
302 * configure: Regenerate.
304 2015-06-23 Mike Frysinger <vapier@gentoo.org>
306 * armdefs.h: Always include stdint.h.
308 [!HAVE_STDINT_H]: Delete.
309 * dbg_hif.h [!__STDC__]: Delete.
311 2015-06-12 Mike Frysinger <vapier@gentoo.org>
313 * configure: Regenerate.
315 2015-06-12 Mike Frysinger <vapier@gentoo.org>
317 * configure: Regenerate.
319 2015-04-18 Mike Frysinger <vapier@gentoo.org>
321 * sim-main.h (SIM_CPU): Delete.
323 2015-04-18 Mike Frysinger <vapier@gentoo.org>
325 * sim-main.h (sim_cia): Delete.
327 2015-04-17 Mike Frysinger <vapier@gentoo.org>
329 * sim-main.h (CIA_GET, CIA_SET): Delete.
331 2015-04-17 Mike Frysinger <vapier@gentoo.org>
333 * wrapper.c (arm_pc_get, arm_pc_set): New functions.
334 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
335 CPU_PC_STORE for all cpus.
337 2015-04-15 Mike Frysinger <vapier@gentoo.org>
339 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
340 * sim-main.h (STATE_CPU): Delete.
342 2015-04-13 Mike Frysinger <vapier@gentoo.org>
344 * configure: Regenerate.
346 2015-04-12 Mike Frysinger <vapier@gentoo.org>
348 * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list.
350 2015-04-06 Mike Frysinger <vapier@gentoo.org>
352 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
354 2015-04-01 Mike Frysinger <vapier@gentoo.org>
356 * Makefile.in (armos.o, armcopro.o, maverick.o, iwmmxt.o, arminit.o,
357 armrdi.o, armsupp.o, thumbemu.o, bag.o, wrapper.o): Delete rules.
358 * tconfig.h: Delete file.
360 2015-03-31 Mike Frysinger <vapier@gentoo.org>
362 * config.in, configure: Regenerate.
364 2015-03-30 Mike Frysinger <vapier@gentoo.org>
366 * Makefile.in (SIM_RUN_OBJS): Delete.
367 (SIM_EXTRA_CFLAGS): Delete -DSIM_TARGET_SWITCHES and
368 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
369 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
370 * sim-main.h: New file.
371 * wrapper.c: Delete armdefs.h, sim-utils.h, and run-sim.h includes.
372 Add sim-main.h and sim-options.h includes.
373 (sim_callback, mem_size, trace): Add TODO comments.
374 (state): Delete static and add TODO comment.
375 (sim_kind, myname, big_endian): Delete.
376 (init): Change big_endian to CURRENT_TARGET_BYTE_ORDER check.
377 (sim_size, sim_trace, sim_info, sim_target_display_usage, sim_load,
378 sim_do_command, sim_set_callbacks, sim_complete_command): Delete.
379 (sim_target_parse_command_line): Mark static.
380 (free_state): New function.
381 (sim_open): Rewrite to use new common logic.
382 (sim_close): Delete body.
384 2015-03-30 Mike Frysinger <vapier@gentoo.org>
386 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
387 * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
388 ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
389 (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
391 2015-03-30 Mike Frysinger <vapier@gentoo.org>
393 * armemu.c [MODE32] (handle_v6_insn): Move definition.
394 (ARMul_Emulate26): Initialize do_int after label target.
395 * armemu.h (UNDEF_Test, UNDEF_Shift, UNDEF_MSRPC, UNDEF_MRSPC,
396 UNDEF_MULPCDest, UNDEF_MULDestEQOp1, UNDEF_LSRBPC,
397 UNDEF_LSRBaseEQOffWb, UNDEF_LSRBaseEQDestWb, UNDEF_LSRPCBaseWb,
398 UNDEF_LSRPCOffWb, UNDEF_LSMNoRegs, UNDEF_LSMPCBase,
399 UNDEF_LSMUserBankWb, UNDEF_LSMBaseInListWb, UNDEF_SWPPC,
400 UNDEF_CoProHS, UNDEF_MCRPC, UNDEF_LSCPCBaseWb,
401 UNDEF_UndefNotBounced, UNDEF_ShortInt, UNDEF_IllegalMode,
402 UNDEF_Prog32SigChange, UNDEF_Data32SigChange): Define to while(0).
403 * armsupp.c (ARMul_Align): Convert old style prototype.
404 * bag.c (addtolist, killwholelist): Mark static.
405 (BAG_newbag): Convert old style prototype.
406 * maverick.c (mv_compute_host_endianness): Delete.
407 * wrapper.c (verbosity, sim_set_verbose): Delete.
408 (init): Set state->verbose to 0.
410 2015-03-30 Mike Frysinger <vapier@gentoo.org>
412 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
413 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
414 SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
415 * config.in, configure: Regenerate.
417 2015-03-30 Mike Frysinger <vapier@gentoo.org>
419 * Makefile.in (COPRO): Delete.
420 (SIM_OBJS): Expand COPRO.
421 * configure.ac: Deletd stdint.h check.
423 * configure: Regenerate.
425 2015-03-16 Mike Frysinger <vapier@gentoo.org>
427 * config.in, configure: Regenerate.
428 * tconfig.in: Rename file ...
429 * tconfig.h: ... here.
431 2015-03-14 Mike Frysinger <vapier@gentoo.org>
433 * Makefile.in (SIM_EXTRA_CFLAGS): Add
434 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
435 (SIM_RUN_OBJS): Set to run.o.
437 2015-03-14 Mike Frysinger <vapier@gentoo.org>
439 * configure.ac (AC_CHECK_HEADERS): Delete unistd.h.
440 * aclocal.m4, configure: Regenerate.
442 2014-08-19 Alan Modra <amodra@gmail.com>
444 * configure: Regenerate.
446 2014-08-15 Roland McGrath <mcgrathr@google.com>
448 * configure: Regenerate.
449 * config.in: Regenerate.
451 2014-03-18 Nick Clifton <nickc@redhat.com>
453 * wrapper.c: Convert function declarations to ISO C format.
454 (sim_open): Delete code for handling t,d and z command line
457 2014-03-14 Nick Clifton <nickc@redhat.com>
459 * wrapper.c (op_print): New function.
460 (sim_dis_read): New function.
461 (print_insn): New function - disassembles the given instruction.
462 (sim_trace): Note that tracing is now allowed.
463 (sim_create_inferior): Default to emulating v6.
464 Initialise the disassembler machinery.
465 (sim_target_parse_command_line): Add support for -t -d and -z
467 (sim_target_display_usage): Note existence of -d and -z options.
468 (sim_open): Parse -t -d and -z options.
469 * armemu.h: Add exports of trace, disas and trace_funcs.
470 Add prototype for print_insn.
471 * armemu.c (ARMul_Emulate26): Add tracing code.
472 Delete unused variables.
473 * thumbemu (handle_v6_thumb_insn): Delete unused variable Rd.
474 Move Rm variable into switch cases.
477 * armcopro.c (XScale_cp15_init): Add a return value.
478 (XScale_cp13_init): Likewise.
479 (XScale_cp14_init): Likewise.
480 (XScale_cp15_LDC): Delete unused function.
481 (XScale_cp15_STC): Likewise.
482 * maverick.c: Delete comment inside comment.
483 (DSPInit): Delete unused function.
484 (DSPMCR4): Fix compile time warning about missing parenthesis.
486 (DSPCDP6): Delete unused variable opcode2.
488 2014-03-14 David McQuillan <dmcq@tao-group.com>
491 * armemu.c (WriteR15Load): New function. Determines if the state
492 can be changed upon a write to R15.
493 (LoadMult): Use WriteR15Load.
494 * armemu.h (WRITEDESTB): Use WriteR15Load.
496 2014-03-10 Mike Frysinger <vapier@gentoo.org>
498 * wrapper.c (sim_do_command): Add const to cmd.
500 2014-03-05 Mike Frysinger <vapier@gentoo.org>
502 * wrapper.c (sim_load): Add const to prog.
504 2013-09-23 Alan Modra <amodra@gmail.com>
506 * configure: Regenerate.
508 2013-06-03 Mike Frysinger <vapier@gentoo.org>
510 * aclocal.m4, configure: Regenerate.
512 2013-05-07 Jayant Sonar <jayant.sonar@kpitcummins.com>
513 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
515 * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT.
517 2012-12-19 Joel Brobecker <brobecker@adacore.com>
519 * COPYING: Update to GPL version 3.
521 2012-09-03 Nick Clifton <nickc@redhat.com>
524 * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction
527 2012-08-01 Kevin Buettner <kevinb@redhat.com>
529 * wrapper.c (libiberty.h): Include.
530 (sim_store_register, sim_fetch_register): On success, return
531 length, instead of -1.
533 2012-06-15 Joel Brobecker <brobecker@adacore.com>
535 * config.in, configure: Regenerate.
537 2012-06-13 Nick Clifton <nickc@redhat.com>
539 * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
542 2012-05-24 Pedro Alves <palves@redhat.com>
546 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
548 2012-05-18 Nick Clifton <nickc@redhat.com>
551 * wrapper.c: Include config.h before system header files.
553 2012-03-24 Mike Frysinger <vapier@gentoo.org>
555 * aclocal.m4, config.in, configure: Regenerate.
557 2011-12-03 Mike Frysinger <vapier@gentoo.org>
559 * aclocal.m4: New file.
560 * configure: Regenerate.
562 2011-10-17 Mike Frysinger <vapier@gentoo.org>
564 * configure.ac: Change include to common/acinclude.m4.
566 2011-10-17 Mike Frysinger <vapier@gentoo.org>
568 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
569 call. Replace common.m4 include with SIM_AC_COMMON.
570 * configure: Regenerate.
572 2011-07-01 Nick Clifton <nickc@redhat.com>
575 * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a
577 (WMAC): Extend computed result before adding to result register.
578 (WRSA): Sign extend 32-bit values before shifting.
580 2011-04-16 Mike Frysinger <vapier@gentoo.org>
582 * wrapper.c (sim_complete_command): New stub function.
584 2010-05-26 Ozkan Sezer <sezeroz@gmail.com>
586 * communicate.c (MYread_char): Check error return from accept() call
587 by its equality to -1 not by it being negative.
588 (MYread_charwait): Likewise.
589 * main.c (main): Likewise for both socket() and accept() calls.
591 2010-04-14 Mike Frysinger <vapier@gentoo.org>
593 * wrapper.c (sim_write): Add const to buffer arg.
595 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
597 * configure: Regenerate.
599 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
601 * config.in: Regenerate.
602 * configure: Likewise.
604 * configure: Regenerate.
606 2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
608 * arminit.c, iwmmxt.c: Include <string.h> to
610 2008-07-11 Hans-Peter Nilsson <hp@axis.com>
612 * configure: Regenerate to track ../common/common.m4 changes.
615 2008-06-06 Vladimir Prus <vladimir@codesourcery.com>
616 Daniel Jacobowitz <dan@codesourcery.com>
617 Joseph Myers <joseph@codesourcery.com>
619 * configure: Regenerate.
620 * wrapper.c (sim_target_display_usage): Add help parameter.
622 2007-02-27 Mark Mitchell <mark@codesourcery.com>
624 * armos.c (SWIflen): Do not treate file descriptor zero as
627 2007-02-15 Nick Clifton <nickc@redhat.com>
629 * armemu.c (handle_v6_insn): Fix typo in sign extension test of
630 the sext and sxtah instructions.
632 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
634 Reported by timeless@gmail.com:
635 * wrapper.c (sim_target_parse_arg_array): Do not return void value.
637 2006-12-21 Hans-Peter Nilsson <hp@axis.com>
639 * acconfig.h: Remove.
640 * config.in: Regenerate.
642 2006-06-13 Richard Earnshaw <rearnsha@arm.com>
644 * configure: Regenerated.
646 2006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
648 * configure: Regenerated.
650 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
652 * configure: Regenerated.
654 2006-03-07 Paul Brook <paul@codesourcery.com>
656 * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
658 2006-02-01 Shaun Jackman <sjackman@gmail.com>
660 * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
661 call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
663 2005-11-23 Mark Mitchell <mark@codesourcery.com>
665 * wrapper.c (gdb/signals.h): Include it.
666 (SIGTRAP): Don't define.
668 (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
670 2005-11-16 Shaun Jackman <sjackman@gmail.com>
672 * armos.c: Include limits.h
673 (unlink): Remove this macro. It is unused in this file and
674 conflicts with sim_callback->unlink.
675 (PATH_MAX): Define as 1024 if not already defined.
676 (ReadFileName): New function.
677 (SWIopen): Fix a potential buffer overflow.
678 (SWIremove): New function.
680 (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
681 SWI_Remove, and SWI_Rename, as well as the RDI calls
682 AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
683 AngelSWI_Reason_Rename.
685 2005-09-19 Paul Brook <paul@codesourcery.com>
687 * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
689 * armemu.c: Use them.
690 * armvirt.c (ARMul_MemoryInit): Use correct type for size.
691 * configure.ac: Check for stdint.h.
692 * config.in: Regenerate.
693 * configure: Regenerate.
695 2005-05-24 Nick Clifton <nickc@redhat.com>
697 * thumbemu.c (handle_v6_thumb_insn): New function.
698 (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
699 instruction binary is encountered.
701 2005-05-12 Nick Clifton <nickc@redhat.com>
703 * Update the address and phone number of the FSF organization in
704 the GPL notices in the following files:
705 COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
706 armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
707 armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
708 communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
709 gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
710 maverick.c, parent.c, thumbemu.c, wrapper.c
712 2005-04-20 Nick Clifton <nickc@redhat.com>
714 * armemu.c (handle_v6_insn): New function - emulate a few of the
715 v6 instructions - the ones now generated by GCC.
716 (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
718 * armdefs.h (struct ARMul_State): Add new field: is_v6.
719 (ARM_v6_Prop): Define.
720 * arminit.c (ARMul_NewState): Initialise the v6 flag.
721 (ARMul_SelectProcessor): Determine if the v6 flag should be
723 * wrapper.c (sim_create_inferior): For unknown architectures,
724 default to allowing the v6 instructions.
726 2005-04-18 Nick Clifton <nickc@redhat.com>
728 * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
730 (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
731 indicate an unsigned long long constant.
733 2005-03-23 Mark Kettenis <kettenis@gnu.org>
735 * configure: Regenerate.
737 2005-01-14 Andrew Cagney <cagney@gnu.org>
739 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
740 explicit call to AC_CONFIG_HEADER.
741 * configure: Regenerate.
743 2005-01-12 Andrew Cagney <cagney@gnu.org>
745 * configure.ac: Update to use ../common/common.m4.
746 * configure: Re-generate.
748 2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
750 * configure: Regenerated to track ../common/aclocal.m4 changes.
752 2005-01-07 Andrew Cagney <cagney@gnu.org>
754 * configure.ac: Rename configure.in, require autoconf 2.59.
755 * configure: Re-generate.
757 2004-12-08 Hans-Peter Nilsson <hp@axis.com>
759 * configure: Regenerate for ../common/aclocal.m4 update.
761 2004-06-28 Andrew Cagney <cagney@gnu.org>
763 * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
765 2003-12-29 Mark Mitchell <mark@codesourcery.com>
767 * armos.c (fcntl.h): Do not include it.
768 (O_RDONLY): Do not define.
769 (O_WRONLY): Likewise.
771 (targ-vals.h): Include it.
772 (translate_open_mode): Use TARGET_O_* instead of O_*.
774 * Makefile.in (armos.o): Depend on targ-vals.h.
776 2003-04-13 Nick Clifton <nickc@redhat.com>
778 * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
782 2003-03-30 Nick Clifton <nickc@redhat.com>
784 * configure.in (CON_FLAGS): Remove.
785 (COPRO): Unconditionally include iwmmxt.o.
786 * configure: Regenerate.
787 * Makefile.in (CON_FLAGS): Remove.
788 * armcopro.c: Remove use of __IWMMXT__ flag.
789 * wrapper.c: Likewise.
790 * armemu.c: Likewise.
791 Add explanatory comment for suppressed code.
793 2003-03-27 Nick Clifton <nickc@redhat.com>
795 * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
797 2003-03-27 Nick Clifton <nickc@redhat.com>
799 * configure.in: (CON_FLAGS): Define and intialise.
800 (COPRO): Add iwmmxt.o if configuring for XScale.
801 * configure: Regenerate.
802 * Makefile.in (iwmmxt.o): Add rule to build.
804 (ALL_FLAGS): Add CON_FLAGS.
805 * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
806 * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
807 (ARM_iWMMXt_Prop): Define.
808 * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
810 * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
811 (ARMul_Abort): Catch branches through uninitialised vectors.
812 * armos.c (softevtorcode): Update comment.
813 (ARMul_OsInit): Use ARMUndefinedInstrV.
814 * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
815 (sim_store_register): Handle iWMMXt registers.
816 (sim_fetch_register): Handle iWMMXt registers.
817 * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
819 * iwmmxt.c: New file: iWMMXt emulator.
821 2003-03-20 Nick Clifton <nickc@redhat.com>
823 * Contribute support for Cirrus Maverick ARM co-processor,
824 written by Aldy Hernandez <aldyh@redhat.com> and
825 Andrew Cagney <cagney@redhat.com>:
827 * maverick.c: New file: Support for Maverick floating point
829 * Makefile.in: Add maverick.o target.
830 * configure.in (COPRO): Add maverick.o.
831 * configure: Regenerate.
832 * armcopro.c (ARMul_CoProInit): Only initialise co-processors
833 available on target processor. Add code to initialse Maverick
834 co-processor support code.
835 * armdefs.h (ARMul_state): Add is_ep9312 field.
836 (ARM_ep9312_Prop): Define.
837 * armemu.h: Add prototypes for Maverick co-processor
839 * arminit.c (ARMul_SelectProcessor): Initialise the
840 co-processor support once the chip has been selected.
841 * wrapper.c: Add support for Maverick co-processor.
842 (init): Do not call ARMul_CoProInit. Delays this until the
843 chip has been selected.
845 2003-03-02 Nick Clifton <nickc@redhat.com>
847 * armos.c (SWIWrite0): Catch big-endian bug when printing
850 2003-02-27 Andrew Cagney <cagney@redhat.com>
852 * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
854 2003-01-10 Ben Elliston <bje@redhat.com>
856 * README.Cygnus: Rename from this ..
857 * README: .. to this.
859 2002-09-27 Andrew Cagney <ac131313@redhat.com>
861 * wrapper.c (sim_open): Add support for -m<mem-size>.
862 (mem_size): Reduce to 2MB.
865 2002-08-15 Nick Clifton <nickc@redhat.com>
867 * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
868 can be caused by an interrupted system call being resumed by GDB.
870 2002-07-05 Nick Clifton <nickc@cambridge.redhat.com>
872 * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
873 and MIAxy instructions.
875 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
877 * armos.h (ADP_Stopped_RunTimeError): Set correct value.
879 2002-06-16 Andrew Cagney <ac131313@redhat.com>
881 * configure: Regenerated to track ../common/aclocal.m4 changes.
883 2002-06-12 Andrew Cagney <ac131313@redhat.com>
885 * Makefile.in: Update copyright.
886 (wrapper.o): Specify dependencies.
887 * wrapper.c: Include "gdb/sim-arm.h".
888 (sim_store_register, sim_fetch_register): Rewrite using `enum
889 arm_sim_regs' and a switch.
891 2002-06-09 Andrew Cagney <cagney@redhat.com>
893 * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
894 * armos.c: Include "gdb/callback.h".
896 2002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
898 * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
899 if a Data Abort is detected.
901 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
903 * armvirt.c (GetWord): Only perform access checks if 'check'
906 * wrapper.c (sim_create_inferior): Report unknown machine
908 * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
909 2, it has already been advanced.
911 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
913 * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
914 instruction do not add in the second bit of the base address -
915 this has already been accounted for.
917 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
919 * armcopro.c (check_cp13_access): Allow access to register 1 when
921 (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
923 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
925 * Makefile.in (SIM_TARGET_SWITCHES): Define.
926 * armos.c (swi_mask): Define. Initialise to supporting all
928 (ARMul_OSInit): For XScale targets, only support the ANGEL
929 SWI interface. (This is at the request if Intel).
930 (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
931 SWI call should be emulated.
932 Do not fall through from AngelSWI_Reason_WriteC.
933 Propagate exit code from RedBoot Exit SWI.
934 * rdi-dgb.h (swi_mask): Prototype.
935 (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
936 * wrapper.c (sim_target_parse_command_line): New function.
937 Look for and handle --swi-support switch.
938 (sim_target_parse_arg_array): New function. Process an argv
939 array for parsing by sim_target_parse_command_line.
940 (sim_target_display_usage): New function. Describe syntax of
941 --swi-suppoort switch.
942 (sim_open): Add call to sim_target_parse_arg_array).
944 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
946 * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
947 mode and some of its system calls.
949 2002-03-17 Anthony Green <green@redhat.com>
951 * wrapper.c (mem_size): Increase the default target memory to 8MB.
953 2002-02-21 Keith Seitz <keiths@redhat.com>
955 * armos.c (SWIWrite0): Use generic host_callback mechanism
956 for supported OS functions "open", "close", "write", etc.
959 (SWIwrite): Likewise.
961 (ARMul_OSHandleSWI): Likewise.
963 2002-02-05 Nick Clifton <nickc@cambridge.redhat.com>
965 * wrapper.c (sim_create_inferior): Modify previous patch so that
966 it is only triggered for COFF format executables.
968 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
970 * wrapper.c (sin_create_inferior): If a v5 architecture is
971 detected, assume it might be an XScale binary, since there is no
972 way to distinguish between the two in the COFF file format.
974 2002-01-10 Nick Clifton <nickc@cambridge.redhat.com>
976 * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
977 * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
979 Fix formatting. Improve layout.
980 * armemu.h: Fix formatting. Improve layout.
982 2002-01-09 Nick Clifton <nickc@cambridge.redhat.com>
984 * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
985 return zeroes in the other words.
986 General formatting tidy ups.
988 2001-11-16 Ben Harris <bjh21@netbsd.org>
990 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
994 2001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
996 * armemu.h (CP_ACCESS_ALLOWED): New macro.
998 * armcopro.c (read_cp14_reg): Make static.
999 (write_cp14_reg): Make static.
1000 (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
1002 * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
1003 (ARMul_STC): Check CP_ACCESS_ALLOWED.
1004 (ARMul_MCR): Check CP_ACCESS_ALLOWED.
1005 (ARMul_MRC): Check CP_ACCESS_ALLOWED.
1006 (ARMul_CDP): Check CP_ACCESS_ALLOWED.
1008 * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not
1010 (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15.
1013 2001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
1015 * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
1016 instructions with post indexed addressing modes.
1018 2001-05-08 Jens-Christian Lache <lache@tu-harburg.de>
1020 * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
1021 determine rocesor mode.
1023 2001-04-18 matthew green <mrg@redhat.com>
1025 * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
1026 (read_cp15_reg): Make non-static.
1027 (XScale_cp15_LDC): Update for write_cp15_reg() change.
1028 (XScale_cp15_MCR): Likewise.
1029 (XScale_cp15_write_reg): Likewise.
1030 (XScale_check_memacc): New function. Check for breakpoints being
1031 activated by memory accesses. Does not support the Branch Target
1033 (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
1034 (XScale_debug_moe): New function. Set the debug Method Of Entry,
1036 (write_cp14_reg): Reset count counter if requested.
1037 * armdefs.h (struct ARMul_State): New members `LastTime' and
1038 `CP14R0_CCD' used for the timer/counters.
1039 (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
1040 ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
1041 ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
1042 ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
1043 ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
1044 ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
1045 ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
1046 ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
1047 defines for XScale registers.
1048 (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
1049 (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
1050 (ARMul_Emulate32): Handle the clock counter and hardware instruction
1051 breakpoints. Call XScale_set_fsr_far() for software breakpoints and
1052 software interrupts.
1053 (LoadMult): Call XScale_set_fsr_far() for data aborts.
1054 (LoadSMult): Likewise.
1055 (StoreMult): Likewise.
1056 (StoreSMult): Likewise.
1057 * armemu.h (write_cp15_reg): Update prototype.
1058 * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
1059 (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
1061 * armvirt.c (GetWord): Call XScale_check_memacc().
1062 (PutWord): Likewise.
1064 2001-03-20 Nick Clifton <nickc@redhat.com>
1066 * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
1067 when loading unaligned thumb instructions.
1069 2001-03-06 Nick Clifton <nickc@redhat.com>
1071 * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
1072 Compute destination address of BLX(1) instruction by
1073 taking bit 1 from PC and not from bit 0 of the offset.
1075 2001-02-27 Nick Clifton <nickc@redhat.com>
1077 * armvirt.c (GetWord): Add new parameter - check - to enable or
1078 disable the alignment checking.
1079 (PutWord): Add new parameter - check - to enable or disable the
1081 (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
1082 (ARMul_ReadWord): Pass extra parameter to GetWord.
1083 (ARMul_WriteWord): Pass extra parameter to PutWord.
1084 (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
1085 (ARMul_WriteByte): Pass extra parameter to GetWord.
1086 (ARMul_SwapWord): Pass extra parameter to PutWord.
1087 (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
1088 (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
1090 * armdefs.h: Add prototypes for ARMul_SafeReadByte and
1091 ARMul_SafeWriteByte.
1093 * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
1094 (sim_read): Use ARMul_SafeReadByte.
1096 * armos.c (in_SWI_handler): Remove.
1097 (SWIWrite0): Use ARMul_SafeReadByte.
1098 (WriteCommandLineTo): Use ARMul_SafeWriteByte.
1099 (SWIopen): Use ARMul_SafeReadByte.
1100 (SWIread): Use ARMul_SafeWriteByte.
1101 (SWIwrite): Use ARMul_SafeReadByte.
1102 (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
1103 (ARMul_OSException): Remove use of is_SWI_handler.
1105 2001-02-16 Nick Clifton <nickc@redhat.com>
1107 * armemu.c: Remove Prefetch abort for breakpoints. Instead set
1108 the state to RESUME.
1110 2001-02-14 Nick Clifton <nickc@redhat.com>
1112 * armemu.c: Add code to preserve processor mode when a prefetch
1113 abort is signalled after processing a breakpoint.
1115 * wrapper.c (sim_create_inferior): Reset processor into ARM mode
1116 for any machine type except the early ARMs.
1118 2001-02-13 Nick Clifton <nickc@redhat.com>
1120 * armos.c (in_SWI_handler): New static variable.
1121 (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
1122 (ARMul_OSException): Ignore exceptions generated whilst emulating
1125 2001-02-12 Nick Clifton <nickc@redhat.com>
1127 * armemu.h (NEGBRANCH): Fix defintion.
1129 2001-02-01 Nick Clifton <nickc@redhat.com>
1131 * armemu.c (LoadSMult): Update base address register after
1132 restoring register bank.
1133 (StoreMult): Update base address register after restoring register
1136 2001-01-31 Nick Clifton <nickc@redhat.com>
1138 * armvirt.c (PutWord): Detect installation of SWI vector.
1139 (SWI_vector_installed): Define.
1140 * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
1141 * armos.h (SWI_vector_installed): Declare.
1142 * wrapper.c (SWI_vector_installed): Remove definition.
1143 (sim_write): Remove check of SWI vector installation
1145 2000-12-18 Nick Clifton <nickc@redhat.com>
1147 * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
1150 2000-12-10 Nick Clifton <nickc@redhat.com>
1152 * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
1154 2000-12-07 Nick Clifton <nickc@redhat.com>
1156 * armemu.c (ARMul_Emulate26): Detect double word load and
1157 store instructions and call emulation routines.
1158 (Handle_Load_Double): Emulate a double word load instruction.
1159 (Handle_Store_Double): Emulate a double word store
1162 2000-12-03 Nick Clifton <nickc@redhat.com>
1164 * armos.c: Fix formatting.
1165 (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
1168 2000-11-29 Nick Clifton <nickc@redhat.com>
1170 * armdefs.h (State): Add 'v5e' and 'xscale' fields.
1171 (ARM_v5e_Prop): Define.
1172 (ARM_XScale_Prop): Define.
1174 * wrapper.c (sim_create_inferior): Select processor based on
1176 (SWI_vector_installed): New boolean. Set to true if the SWI
1177 vector address is written to by the executable.
1179 * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
1180 (ARMul_SelectProcessor): Initialise v5e and xscale signals.
1181 (ARMul_Abort): Fix calculation of LR address.
1183 * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
1184 and a SWI is not handled by the simulator, pass the SWI off to the
1185 vector, otherwise issue a warning message and continue.
1187 * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
1189 * thumbemu.c: Add v5 instruction simulation.
1190 * armemu.c: Add v5, XScale and El Segundo instruction simulation.
1192 * armcopro.c: Add XScale co-processor emulation.
1193 * armemu.h: Add exported XScale co-processor functions.
1195 2000-09-15 Nick Clifton <nickc@redhat.com>
1197 * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
1198 property. Delete unnecessary processor names.
1199 (ARM_Strong_Prop): Delete.
1200 (STRONGARM): Delete.
1203 (State): Delete is_StrongARM boolean. Add is_v4 and is_v5
1206 * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
1207 (BUSUSEDINCPCN): Use is_v4 boolean.
1209 * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
1210 (ARMul_SelectProcessor): Change second parameter from 'processor'
1211 to 'properties'. Set is_v4 and is_v5 booleans in State.
1213 * armrdi.c: Remove use of ARM processor names. Replace with ARM
1214 processor properties.
1216 * wrapper.c (sim_create_inferior): Choose properties passed to
1217 ARMul_SelectProcessor based on machine number.
1219 2000-08-14 Nick Clifton <nickc@redhat.com>
1221 * armemu.c (LHPOSTDOWN): Compute write back value before
1222 performing load in case the offset register is overwritten.
1225 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
1227 * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
1229 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
1231 * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
1234 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
1236 * armvirt.c (ABORTS): Do not define.
1238 * armdefs.h (struct ARMul_State): Add is_StrongARM.
1239 (ARM_Strong_Prop, STRONGARM): Define.
1240 * arminit.c (ARMul_NewState): Reset is_StrongARM.
1241 (ARMul_SelectProcessor): Set is_StrongARM.
1242 * wrapper.c (sim_create_inferior): Use bfd machine type to
1243 determine processor type to emulate.
1244 * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
1245 when emulating StrongARM.
1247 * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
1249 * armemu.h (INSN_SIZE): New macro.
1250 (SET_ABORT): Save CPSR in SPSR and set LR.
1251 * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
1252 (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
1253 * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
1255 * armemu.c (LoadSMult): Use WriteR15() to discard the least
1256 significant bits of PC.
1258 * armemu.h (WRITEDESTB): New macro.
1259 * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
1260 modify PC. Moved the existing logic...
1261 (WriteR15Branch): ... here. New function.
1262 (WriteR15, WriteSR15): Drop the two least significant bits.
1263 (LoadSMult): Use WriteR15Branch() to modify PC.
1264 (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
1266 * armemu.h (GETSPSR): Call ARMul_GetSPSR().
1267 * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
1268 extracted from state->Cpsr, but preserve the unused bits.
1269 (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
1270 (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
1271 get the full CPSR word.
1273 * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
1274 (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
1275 (SETPSR, SET_INTMODE, SETCC): Removed.
1276 * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
1277 mask. Use SETPSR_* to modify PSR.
1278 (ARMul_SetCPSR): Load all bits from value.
1279 * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
1281 * armemu.c (ARMul_Emulate): Compute writeback value before
1282 loading, since the offset register may be the destination
1285 * armdefs.h (SYSTEMBANK): Define as USERBANK.
1286 * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
1288 2000-06-22 Alexandre Oliva <aoliva@cygnus.com>
1290 * armemu.c (Multiply64): Fix computation of flag N.
1292 * armemu.c (MultiplyAdd64): Fix computation of flag N.
1294 2000-06-20 Alexandre Oliva <aoliva@cygnus.com>
1296 * armemu.h (NEGBRANCH): Do not overwrite the two most significant
1299 2000-05-25 Nick Clifton <nickc@cygnus.com>
1301 * armcopro.c (MMUMCR): Only indicate mode change if a singal has
1303 (MMUWrite): Only indicate mode change if a singal has really
1306 * armdefs.h (SYSTEMMODE): Define.
1307 (BANK_CAN_ACEESS_SPSR): Define.
1309 * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
1310 to advance before stopping the emulation.
1312 * arminit.c (ARMul_Reset): Ensure Mode field of State is set
1315 * armos.c (ARMul_OSInit): Create a initial stack pointer for
1318 * armsupp.c (ModeToBank): Remove unused first parameter.
1319 Add support for System Mode.
1320 (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1321 (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1322 (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1323 (ARMulSwitchMode): Add support for System Mode.
1325 Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
1327 * configure: Regenerated to track ../common/aclocal.m4 changes.
1329 2000-05-23 Nick Clifton <nickc@cygnus.com>
1331 * wrapper.c (sim_store_register): Special handling for CPSR
1334 2000-03-11 Philip Blundell <philb@gnu.org>
1336 * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
1337 Patch from Allan Skillman <Allan.Skillman@arm.com>.
1339 Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
1341 * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
1343 2000-02-08 Nick Clifton <nickc@cygnus.com>
1345 * wrapper.c: Fix compile time warning messages.
1346 * armcopro.c: Fix compile time warning messages.
1347 * armdefs.h: Fix compile time warning messages.
1348 * armemu.c: Fix compile time warning messages.
1349 * armemu.h: Fix compile time warning messages.
1350 * armos.c: Fix compile time warning messages.
1351 * armsupp.c: Fix compile time warning messages.
1352 * armvirt.c: Fix compile time warning messages.
1353 * bag.c: Fix compile time warning messages.
1355 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
1357 * *.[ch]: Use indent to make readable.
1359 1999-11-22 Nick Clifton <nickc@cygnus.com>
1361 * armos.c (SWIread): Generate an error message if a huge read is
1363 (SWIwrite): Generate an error message if a huge write is
1366 1999-10-27 Nick Clifton <nickc@cygnus.com>
1368 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
1371 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
1373 * armos.c (SWIopen): Always pass third parameter with 0666 since
1374 otherwise uninitialized memory gets access if the O_CREAT bit is
1375 set and so we possibly cannot access the file afterwards.
1377 1999-09-29 Doug Evans <devans@casey.cygnus.com>
1379 * armos.c (SWIWrite0): Send output to stdout instead of stderr.
1380 (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
1382 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
1384 * configure: Regenerated to track ../common/aclocal.m4 changes.
1386 1999-05-08 Felix Lee <flee@cygnus.com>
1388 * configure: Regenerated to track ../common/aclocal.m4 changes.
1390 1999-04-06 Keith Seitz <keiths@cygnus.com>
1392 * wrapper.c (stop_simulator): New global.
1393 (sim_stop): Set sim state to STOP and set
1395 (sim_resume): Reset stop_simulator.
1396 (sim_stop_reason): If stop_simulator is set, tell gdb
1397 that the we took SIGINT.
1398 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
1399 stop_simulator is set.
1401 1999-04-02 Keith Seitz <keiths@cygnus.com>
1403 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
1404 whenever the counter expires.
1405 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
1407 1999-03-24 Nick Clifton <nickc@cygnus.com>
1409 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
1410 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
1412 Mon Sep 14 09:00:05 1998 Nick Clifton <nickc@cygnus.com>
1414 * wrapper.c (sim_open): Set endianness according to BFD or command
1417 * tconfig.in: Define SIM_HAVE_BIENDIAN.
1419 Thu Aug 27 11:00:05 1998 Nick Clifton <nickc@cygnus.com>
1421 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
1422 the same as either RdHi or RdLo.
1424 Thu Jul 2 10:24:35 1998 Nick Clifton <nickc@cygnus.com>
1426 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
1427 Set Reg[0] based on reason for for the exception.
1429 Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com)
1431 * armos.c (SWIwrite0): New function.
1432 (WriteCommandLineTo): New function.
1433 (SWIopen): New function.
1434 (SWIread): New function.
1435 (SWIwrite): New function.
1436 (SWIflen): New function.
1437 (ARMul_OSHandleSWI): Call new functions instead of handling
1439 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
1440 (*): Reformat spacing to be a bit more GNUly.
1441 Most code taken from a patch by Anthony Thompson
1442 (athompso@cambridge.arm.com)
1444 Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
1446 * armos.h: Add Angel SWI and its reason codes.
1447 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
1449 Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
1451 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
1452 of ":tt" to catch stdin in addition to stdout.
1453 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
1454 or success of lseek().
1456 Wed May 20 17:36:25 1998 Nick Clifton <nickc@cygnus.com>
1458 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
1461 Wed Apr 29 15:29:55 1998 Jeff Johnston <jjohnstn@cygnus.com>
1463 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
1464 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
1465 seek from offset 0 and not to use R2 for whence since it is
1466 not passed as part of the SWI call.
1468 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1470 * configure: Regenerated to track ../common/aclocal.m4 changes.
1472 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
1474 * configure: Regenerated to track ../common/aclocal.m4 changes.
1477 Sun Apr 26 15:20:26 1998 Tom Tromey <tromey@cygnus.com>
1479 * acconfig.h: New file.
1480 * configure.in: Reverted change of Apr 24; use sinclude again.
1482 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1484 * configure: Regenerated to track ../common/aclocal.m4 changes.
1487 Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
1489 * configure.in: Don't call sinclude.
1491 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1493 * configure: Regenerated to track ../common/aclocal.m4 changes.
1495 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1497 * configure: Regenerated to track ../common/aclocal.m4 changes.
1499 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1501 * configure: Regenerated to track ../common/aclocal.m4 changes.
1503 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1505 * configure: Regenerated to track ../common/aclocal.m4 changes.
1507 Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
1509 * armopts.h: Remove definition of LITTLEND - it is not used.
1511 Tue Feb 17 12:35:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
1513 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
1514 length parameter. Return -1.
1516 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1518 * configure: Regenerated to track ../common/aclocal.m4 changes.
1520 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1522 * configure: Regenerated to track ../common/aclocal.m4 changes.
1524 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1526 * configure: Regenerated to track ../common/aclocal.m4 changes.
1528 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1530 * configure: Regenerated to track ../common/aclocal.m4 changes.
1533 Tue Dec 9 11:30:48 1997 Nick Clifton <nickc@cygnus.com>
1535 * Makefile.in: Updated with changes from branch.
1537 * armemu.c: ditto these changes
1538 * armemu.h: ditto add support for
1539 * armos.c: ditto the Thumb instruction
1540 * armsupp.c: ditto set and the new v4
1541 * armvirt.c: ditto architecture.
1543 * thumbemu.c: New file from branch.
1546 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1548 * configure: Regenerated to track ../common/aclocal.m4 changes.
1550 Thu Oct 30 13:54:06 1997 Nick Clifton <nickc@cygnus.com>
1552 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
1553 from Tony Thompson at ARM: athompso@arm.com
1555 * wrapper.c (sim_create_inferior): Add code to create an execution
1556 environment. Patch from Tony Thompson at ARM: athompso@arm.com
1558 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1560 * wrapper.c (sim_load): Pass lma_p and sim_write args to
1563 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1565 * configure: Regenerated to track ../common/aclocal.m4 changes.
1567 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1569 * configure: Regenerated to track ../common/aclocal.m4 changes.
1571 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1573 * configure: Regenerated to track ../common/aclocal.m4 changes.
1575 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1577 * configure: Regenerated to track ../common/aclocal.m4 changes.
1579 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1581 * configure: Regenerated to track ../common/aclocal.m4 changes.
1583 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1585 * configure: Regenerated to track ../common/aclocal.m4 changes.
1587 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1589 * configure: Regenerated to track ../common/aclocal.m4 changes.
1591 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1593 * configure: Regenerated to track ../common/aclocal.m4 changes.
1596 Tue Aug 26 10:37:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
1598 * wrapper.c (sim_kill): Delete.
1599 (sim_create_inferior): Add ABFD argument.
1600 (sim_load): Move setting of PC from here.
1601 (sim_create_inferior): To here.
1603 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1605 * configure: Regenerated to track ../common/aclocal.m4 changes.
1608 Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
1610 * wrapper.c (sim_open): Add ABFD argument.
1612 Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
1614 * wrapper.c (sim_open): Add callback argument.
1615 (sim_set_callbacks): Drop SIM_DESC argument.
1617 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1619 * configure: Regenerated to track ../common/aclocal.m4 changes.
1621 Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
1623 * wrapper.c (sim_stop): Stub sim_stop function.
1625 Thu Apr 17 18:33:01 1997 Fred Fish <fnf@cygnus.com>
1627 * arminit.c (ARMul_NewState): Preinitialize the state to
1630 Thu Apr 17 02:39:02 1997 Doug Evans <dje@canuck.cygnus.com>
1632 * Makefile.in (SIM_OBJS): Add sim-load.o.
1633 * wrapper.c (sim_kind,myname): New static locals.
1634 (sim_open): Set sim_kind, myname.
1635 (sim_load): Call sim_load_file to do work. Set start address from bfd.
1636 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
1638 Thu Apr 17 11:48:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1640 * wrapper.c (sim_trace): Update so that it matches prototype.
1642 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1644 * configure: Regenerated to track ../common/aclocal.m4 changes.
1647 Mon Apr 7 12:01:17 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1649 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1651 (armemu26.o): Ditto.
1653 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1655 * wrapper.c (sim_open): New arg `kind'.
1657 * configure: Regenerated to track ../common/aclocal.m4 changes.
1659 Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
1661 * COPYING: Update FSF address.
1663 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1665 * configure: Regenerated to track ../common/aclocal.m4 changes.
1667 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1669 * configure: Regenerated to track ../common/aclocal.m4 changes.
1671 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1673 * configure: Re-generate.
1675 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1677 * configure: Regenerate to track ../common/aclocal.m4 changes.
1679 Thu Mar 13 12:38:56 1997 Doug Evans <dje@canuck.cygnus.com>
1681 * wrapper.c (sim_open): Has result now.
1682 (sim_*): New SIM_DESC argument.
1684 Tue Feb 4 13:22:21 1997 Doug Evans <dje@canuck.cygnus.com>
1686 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
1687 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1688 * configure.in: sinclude ../common/aclocal.m4.
1689 * configure: Regenerated.
1691 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1693 * configure configure.in Makefile.in: Update to new configure
1694 scheme which is more compatible with WinGDB builds.
1695 * configure.in: Improve comment on how to run autoconf.
1696 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1697 * Makefile.in: Use autoconf substitution to install common
1700 Wed Nov 20 01:05:10 1996 Doug Evans <dje@canuck.cygnus.com>
1702 * run.c: Deleted, use one in ../common now.
1703 * Makefile.in: Delete everything that's been moved to
1704 ../common/Make-common.in.
1706 * configure.in: Simplify using macros in ../common/aclocal.m4.
1707 * configure: Regenerated.
1708 * config.in: New file.
1709 * armos.c: #include config.h.
1710 * wrapper.c (mem_size): Value is in bytes now.
1711 (sim_callback): New global.
1712 (arm_sim_set_profile{,_size}): Delete.
1713 (arm_sim_set_mem_size): Rename to sim_size.
1714 (sim_do_command): Call printf_filtered via callback.
1715 (sim_set_callbacks): Record callback.
1717 Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1719 * Makefile.in (mostlyclean): Remove config.log.
1721 Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1723 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1724 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1726 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1727 (AC_PROG_INSTALL): Added.
1728 * configure: Rebuilt.
1730 Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
1732 * configure: Regenerate with autoconf 2.7.
1734 Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
1736 * run.c (main): Use new bfd_big_endian macro.
1738 Mon Nov 20 17:40:38 1995 Doug Evans <dje@canuck.cygnus.com>
1740 * run.c: Include "getopt.h".
1742 (usage): Make static.
1743 (main): Call arm_sim_set_verbosity.
1744 Only load sections marked SEC_LOAD.
1745 * wrapper.c (mem_size, verbosity): New static global.
1746 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
1747 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
1749 Fri Nov 17 19:35:11 1995 Doug Evans <dje@canuck.cygnus.com>
1751 * armdefs.h (ARMul_State): New member `verbose'.
1752 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
1753 * run.c (verbose): Make global.
1754 * wrapper.c (init): Set state->verbose.
1755 (ARMul_ConsolePrint): Don't print anything if !verbose.
1757 Fri Oct 13 15:30:30 1995 Doug Evans <dje@canuck.cygnus.com>
1759 * armos.c: #include dbg_rdi.h.
1760 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
1761 * armos.h (SWI_Breakpoint): Define.
1762 * wrapper.c: #include armemu.h, dbg_rdi.h.
1764 (sim_resume): Use state->EndCondition to record stop state.
1765 Call FLUSHPIPE before returning.
1766 (sim_stop_reason): Determine reason from state->EndCondition.
1768 Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
1770 * wrapper.c (sim_set_callbacks): New.
1772 Thu Sep 28 19:45:56 1995 Doug Evans <dje@deneb.cygnus.com>
1774 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
1775 number of bytes not read/written (or -1).
1777 Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
1779 * Makefile.in (maintainer-clean): New synonym for realclean.
1781 Fri Sep 8 14:27:20 1995 Ian Lance Taylor <ian@cygnus.com>
1783 * configure.in: Remove AC_PROG_INSTALL.
1784 * configure: Rebuild.
1785 * Makefile.in (INSTALL): Revert to using install.sh.
1786 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
1787 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
1788 (mostlyclean): Make the same as clean, not distclean.
1789 (clean): Remove config.log.
1790 (install): Don't install in $(tooldir).
1792 Thu Sep 7 12:00:17 1995 Doug Evans <dje@canuck.cygnus.com>
1794 (Try to) Update to new bfd autoconf scheme.
1795 * run.c: Don't include sysdep.h.
1796 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
1797 (CC, CFLAGS, AR, RANLIB): Likewise.
1798 (HDEFINES, TDEFINES): Define.
1799 (CC_FOR_BUILD): Delete.
1800 (host_makefile_frag): Delete.
1801 (Makefile): Don't depend on frags.
1802 * configure.in (sysdep.h): Don't create symlink.
1803 (host_makefile_frag, frags): Deleted.
1804 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
1805 * configure: Regenerated.
1807 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1809 * Update all FSF addresses except those in COPYING* files.
1811 Wed Jul 5 16:15:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1813 * Makefile.in (clean): Remove run, libsim.a.
1815 * Makefile.in, configure.in: converted to autoconf.
1816 * configure: New file, generated with autconf 2.4.
1820 Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
1822 * wrapper.c (sim_do_command): New function.
1824 Tue Jun 13 10:57:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
1826 * armos.c (ARMul_OSHandleSWI): New version to work with
1829 Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
1831 * run.c (main): Grab return value from right register.
1833 Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>