3 * README.Cygnus: Rename from this ..
8 * wrapper.c (sim_open): Add support for -m<mem-size>.
9 (mem_size): Reduce to 2MB.
14 * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
15 can be caused by an interrupted system call being resumed by GDB.
19 * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
20 and MIAxy instructions.
24 * armos.h (ADP_Stopped_RunTimeError): Set correct value.
28 * configure: Regenerated to track ../common/aclocal.m4 changes.
32 * Makefile.in: Update copyright.
33 (wrapper.o): Specify dependencies.
34 * wrapper.c: Include "gdb/sim-arm.h".
35 (sim_store_register, sim_fetch_register): Rewrite using `enum
36 arm_sim_regs' and a switch.
40 * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
41 * armos.c: Include "gdb/callback.h".
45 * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
46 if a Data Abort is detected.
50 * armvirt.c (GetWord): Only perform access checks if 'check'
53 * wrapper.c (sim_create_inferior): Report unknown machine
55 * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
56 2, it has already been advanced.
60 * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
61 instruction do not add in the second bit of the base address -
62 this has already been accounted for.
66 * armcopro.c (check_cp13_access): Allow access to register 1 when
68 (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
72 * Makefile.in (SIM_TARGET_SWITCHES): Define.
73 * armos.c (swi_mask): Define. Initialise to supporting all
75 (ARMul_OSInit): For XScale targets, only support the ANGEL
76 SWI interface. (This is at the request if Intel).
77 (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
78 SWI call should be emulated.
79 Do not fall through from AngelSWI_Reason_WriteC.
80 Propagate exit code from RedBoot Exit SWI.
81 * rdi-dgb.h (swi_mask): Prototype.
82 (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
83 * wrapper.c (sim_target_parse_command_line): New function.
84 Look for and handle --swi-support switch.
85 (sim_target_parse_arg_array): New function. Process an argv
86 array for parsing by sim_target_parse_command_line.
87 (sim_target_display_usage): New function. Describe syntax of
88 --swi-suppoort switch.
89 (sim_open): Add call to sim_target_parse_arg_array).
93 * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
94 mode and some of its system calls.
98 * wrapper.c (mem_size): Increase the default target memory to 8MB.
102 * armos.c (SWIWrite0): Use generic host_callback mechanism
103 for supported OS functions "open", "close", "write", etc.
106 (SWIwrite): Likewise.
108 (ARMul_OSHandleSWI): Likewise.
112 * wrapper.c (sim_create_inferior): Modify previous patch so that
113 it is only triggered for COFF format executables.
117 * wrapper.c (sin_create_inferior): If a v5 architecture is
118 detected, assume it might be an XScale binary, since there is no
119 way to distinguish between the two in the COFF file format.
123 * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
124 * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
126 Fix formatting. Improve layout.
127 * armemu.h: Fix formatting. Improve layout.
131 * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
132 return zeroes in the other words.
133 General formatting tidy ups.
137 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
143 * armemu.h (CP_ACCESS_ALLOWED): New macro.
145 * armcopro.c (read_cp14_reg): Make static.
146 (write_cp14_reg): Make static.
147 (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
149 * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
150 (ARMul_STC): Check CP_ACCESS_ALLOWED.
151 (ARMul_MCR): Check CP_ACCESS_ALLOWED.
152 (ARMul_MRC): Check CP_ACCESS_ALLOWED.
153 (ARMul_CDP): Check CP_ACCESS_ALLOWED.
155 * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not
157 (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15.
162 * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
163 instructions with post indexed addressing modes.
167 * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
168 determine rocesor mode.
172 * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
173 (read_cp15_reg): Make non-static.
174 (XScale_cp15_LDC): Update for write_cp15_reg() change.
175 (XScale_cp15_MCR): Likewise.
176 (XScale_cp15_write_reg): Likewise.
177 (XScale_check_memacc): New function. Check for breakpoints being
178 activated by memory accesses. Does not support the Branch Target
180 (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
181 (XScale_debug_moe): New function. Set the debug Method Of Entry,
183 (write_cp14_reg): Reset count counter if requested.
184 * armdefs.h (struct ARMul_State): New members `LastTime' and
185 `CP14R0_CCD' used for the timer/counters.
186 (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
187 ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
188 ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
189 ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
190 ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
191 ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
192 ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
193 ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
194 defines for XScale registers.
195 (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
196 (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
197 (ARMul_Emulate32): Handle the clock counter and hardware instruction
198 breakpoints. Call XScale_set_fsr_far() for software breakpoints and
200 (LoadMult): Call XScale_set_fsr_far() for data aborts.
201 (LoadSMult): Likewise.
202 (StoreMult): Likewise.
203 (StoreSMult): Likewise.
204 * armemu.h (write_cp15_reg): Update prototype.
205 * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
206 (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
208 * armvirt.c (GetWord): Call XScale_check_memacc().
213 * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
214 when loading unaligned thumb instructions.
218 * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
219 Compute destination address of BLX(1) instruction by
220 taking bit 1 from PC and not from bit 0 of the offset.
224 * armvirt.c (GetWord): Add new parameter - check - to enable or
225 disable the alignment checking.
226 (PutWord): Add new parameter - check - to enable or disable the
228 (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
229 (ARMul_ReadWord): Pass extra parameter to GetWord.
230 (ARMul_WriteWord): Pass extra parameter to PutWord.
231 (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
232 (ARMul_WriteByte): Pass extra parameter to GetWord.
233 (ARMul_SwapWord): Pass extra parameter to PutWord.
234 (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
235 (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
237 * armdefs.h: Add prototypes for ARMul_SafeReadByte and
240 * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
241 (sim_read): Use ARMul_SafeReadByte.
243 * armos.c (in_SWI_handler): Remove.
244 (SWIWrite0): Use ARMul_SafeReadByte.
245 (WriteCommandLineTo): Use ARMul_SafeWriteByte.
246 (SWIopen): Use ARMul_SafeReadByte.
247 (SWIread): Use ARMul_SafeWriteByte.
248 (SWIwrite): Use ARMul_SafeReadByte.
249 (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
250 (ARMul_OSException): Remove use of is_SWI_handler.
254 * armemu.c: Remove Prefetch abort for breakpoints. Instead set
259 * armemu.c: Add code to preserve processor mode when a prefetch
260 abort is signalled after processing a breakpoint.
262 * wrapper.c (sim_create_inferior): Reset processor into ARM mode
263 for any machine type except the early ARMs.
267 * armos.c (in_SWI_handler): New static variable.
268 (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
269 (ARMul_OSException): Ignore exceptions generated whilst emulating
274 * armemu.h (NEGBRANCH): Fix defintion.
278 * armemu.c (LoadSMult): Update base address register after
279 restoring register bank.
280 (StoreMult): Update base address register after restoring register
285 * armvirt.c (PutWord): Detect installation of SWI vector.
286 (SWI_vector_installed): Define.
287 * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
288 * armos.h (SWI_vector_installed): Declare.
289 * wrapper.c (SWI_vector_installed): Remove definition.
290 (sim_write): Remove check of SWI vector installation
294 * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
299 * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
303 * armemu.c (ARMul_Emulate26): Detect double word load and
304 store instructions and call emulation routines.
305 (Handle_Load_Double): Emulate a double word load instruction.
306 (Handle_Store_Double): Emulate a double word store
311 * armos.c: Fix formatting.
312 (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
317 * armdefs.h (State): Add 'v5e' and 'xscale' fields.
318 (ARM_v5e_Prop): Define.
319 (ARM_XScale_Prop): Define.
321 * wrapper.c (sim_create_inferior): Select processor based on
323 (SWI_vector_installed): New boolean. Set to true if the SWI
324 vector address is written to by the executable.
326 * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
327 (ARMul_SelectProcessor): Initialise v5e and xscale signals.
328 (ARMul_Abort): Fix calculation of LR address.
330 * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
331 and a SWI is not handled by the simulator, pass the SWI off to the
332 vector, otherwise issue a warning message and continue.
334 * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
336 * thumbemu.c: Add v5 instruction simulation.
337 * armemu.c: Add v5, XScale and El Segundo instruction simulation.
339 * armcopro.c: Add XScale co-processor emulation.
340 * armemu.h: Add exported XScale co-processor functions.
344 * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
345 property. Delete unnecessary processor names.
346 (ARM_Strong_Prop): Delete.
350 (State): Delete is_StrongARM boolean. Add is_v4 and is_v5
353 * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
354 (BUSUSEDINCPCN): Use is_v4 boolean.
356 * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
357 (ARMul_SelectProcessor): Change second parameter from 'processor'
358 to 'properties'. Set is_v4 and is_v5 booleans in State.
360 * armrdi.c: Remove use of ARM processor names. Replace with ARM
361 processor properties.
363 * wrapper.c (sim_create_inferior): Choose properties passed to
364 ARMul_SelectProcessor based on machine number.
368 * armemu.c (LHPOSTDOWN): Compute write back value before
369 performing load in case the offset register is overwritten.
374 * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
378 * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
383 * armvirt.c (ABORTS): Do not define.
385 * armdefs.h (struct ARMul_State): Add is_StrongARM.
386 (ARM_Strong_Prop, STRONGARM): Define.
387 * arminit.c (ARMul_NewState): Reset is_StrongARM.
388 (ARMul_SelectProcessor): Set is_StrongARM.
389 * wrapper.c (sim_create_inferior): Use bfd machine type to
390 determine processor type to emulate.
391 * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
392 when emulating StrongARM.
394 * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
396 * armemu.h (INSN_SIZE): New macro.
397 (SET_ABORT): Save CPSR in SPSR and set LR.
398 * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
399 (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
400 * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
402 * armemu.c (LoadSMult): Use WriteR15() to discard the least
403 significant bits of PC.
405 * armemu.h (WRITEDESTB): New macro.
406 * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
407 modify PC. Moved the existing logic...
408 (WriteR15Branch): ... here. New function.
409 (WriteR15, WriteSR15): Drop the two least significant bits.
410 (LoadSMult): Use WriteR15Branch() to modify PC.
411 (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
413 * armemu.h (GETSPSR): Call ARMul_GetSPSR().
414 * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
415 extracted from state->Cpsr, but preserve the unused bits.
416 (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
417 (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
418 get the full CPSR word.
420 * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
421 (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
422 (SETPSR, SET_INTMODE, SETCC): Removed.
423 * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
424 mask. Use SETPSR_* to modify PSR.
425 (ARMul_SetCPSR): Load all bits from value.
426 * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
428 * armemu.c (ARMul_Emulate): Compute writeback value before
429 loading, since the offset register may be the destination
432 * armdefs.h (SYSTEMBANK): Define as USERBANK.
433 * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
437 * armemu.c (Multiply64): Fix computation of flag N.
439 * armemu.c (MultiplyAdd64): Fix computation of flag N.
443 * armemu.h (NEGBRANCH): Do not overwrite the two most significant
448 * armcopro.c (MMUMCR): Only indicate mode change if a singal has
450 (MMUWrite): Only indicate mode change if a singal has really
453 * armdefs.h (SYSTEMMODE): Define.
454 (BANK_CAN_ACEESS_SPSR): Define.
456 * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
457 to advance before stopping the emulation.
459 * arminit.c (ARMul_Reset): Ensure Mode field of State is set
462 * armos.c (ARMul_OSInit): Create a initial stack pointer for
465 * armsupp.c (ModeToBank): Remove unused first parameter.
466 Add support for System Mode.
467 (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
468 (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
469 (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
470 (ARMulSwitchMode): Add support for System Mode.
474 * configure: Regenerated to track ../common/aclocal.m4 changes.
478 * wrapper.c (sim_store_register): Special handling for CPSR
483 * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
488 * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
492 * wrapper.c: Fix compile time warning messages.
493 * armcopro.c: Fix compile time warning messages.
494 * armdefs.h: Fix compile time warning messages.
495 * armemu.c: Fix compile time warning messages.
496 * armemu.h: Fix compile time warning messages.
497 * armos.c: Fix compile time warning messages.
498 * armsupp.c: Fix compile time warning messages.
499 * armvirt.c: Fix compile time warning messages.
500 * bag.c: Fix compile time warning messages.
504 * *.[ch]: Use indent to make readable.
508 * armos.c (SWIread): Generate an error message if a huge read is
510 (SWIwrite): Generate an error message if a huge write is
515 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
520 * armos.c (SWIopen): Always pass third parameter with 0666 since
521 otherwise uninitialized memory gets access if the O_CREAT bit is
522 set and so we possibly cannot access the file afterwards.
526 * armos.c (SWIWrite0): Send output to stdout instead of stderr.
527 (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
531 * configure: Regenerated to track ../common/aclocal.m4 changes.
535 * configure: Regenerated to track ../common/aclocal.m4 changes.
539 * wrapper.c (stop_simulator): New global.
540 (sim_stop): Set sim state to STOP and set
542 (sim_resume): Reset stop_simulator.
543 (sim_stop_reason): If stop_simulator is set, tell gdb
544 that the we took SIGINT.
545 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
546 stop_simulator is set.
550 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
551 whenever the counter expires.
552 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
556 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
557 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
561 * wrapper.c (sim_open): Set endianness according to BFD or command
564 * tconfig.in: Define SIM_HAVE_BIENDIAN.
568 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
569 the same as either RdHi or RdLo.
573 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
574 Set Reg[0] based on reason for for the exception.
578 * armos.c (SWIwrite0): New function.
579 (WriteCommandLineTo): New function.
580 (SWIopen): New function.
581 (SWIread): New function.
582 (SWIwrite): New function.
583 (SWIflen): New function.
584 (ARMul_OSHandleSWI): Call new functions instead of handling
586 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
587 (*): Reformat spacing to be a bit more GNUly.
588 Most code taken from a patch by Anthony Thompson
593 * armos.h: Add Angel SWI and its reason codes.
594 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
598 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
599 of ":tt" to catch stdin in addition to stdout.
600 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
601 or success of lseek().
605 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
610 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
611 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
612 seek from offset 0 and not to use R2 for whence since it is
613 not passed as part of the SWI call.
617 * configure: Regenerated to track ../common/aclocal.m4 changes.
619 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
621 * configure: Regenerated to track ../common/aclocal.m4 changes.
626 * acconfig.h: New file.
627 * configure.in: Reverted change of Apr 24; use sinclude again.
629 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
631 * configure: Regenerated to track ../common/aclocal.m4 changes.
636 * configure.in: Don't call sinclude.
640 * configure: Regenerated to track ../common/aclocal.m4 changes.
644 * configure: Regenerated to track ../common/aclocal.m4 changes.
648 * configure: Regenerated to track ../common/aclocal.m4 changes.
652 * configure: Regenerated to track ../common/aclocal.m4 changes.
656 * armopts.h: Remove definition of LITTLEND - it is not used.
660 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
661 length parameter. Return -1.
665 * configure: Regenerated to track ../common/aclocal.m4 changes.
669 * configure: Regenerated to track ../common/aclocal.m4 changes.
671 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
673 * configure: Regenerated to track ../common/aclocal.m4 changes.
677 * configure: Regenerated to track ../common/aclocal.m4 changes.
682 * Makefile.in: Updated with changes from branch.
684 * armemu.c: ditto these changes
685 * armemu.h: ditto add support for
686 * armos.c: ditto the Thumb instruction
687 * armsupp.c: ditto set and the new v4
688 * armvirt.c: ditto architecture.
690 * thumbemu.c: New file from branch.
695 * configure: Regenerated to track ../common/aclocal.m4 changes.
699 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
702 * wrapper.c (sim_create_inferior): Add code to create an execution
707 * wrapper.c (sim_load): Pass lma_p and sim_write args to
712 * configure: Regenerated to track ../common/aclocal.m4 changes.
716 * configure: Regenerated to track ../common/aclocal.m4 changes.
720 * configure: Regenerated to track ../common/aclocal.m4 changes.
724 * configure: Regenerated to track ../common/aclocal.m4 changes.
728 * configure: Regenerated to track ../common/aclocal.m4 changes.
732 * configure: Regenerated to track ../common/aclocal.m4 changes.
734 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
736 * configure: Regenerated to track ../common/aclocal.m4 changes.
740 * configure: Regenerated to track ../common/aclocal.m4 changes.
745 * wrapper.c (sim_kill): Delete.
746 (sim_create_inferior): Add ABFD argument.
747 (sim_load): Move setting of PC from here.
748 (sim_create_inferior): To here.
752 * configure: Regenerated to track ../common/aclocal.m4 changes.
757 * wrapper.c (sim_open): Add ABFD argument.
761 * wrapper.c (sim_open): Add callback argument.
762 (sim_set_callbacks): Drop SIM_DESC argument.
766 * configure: Regenerated to track ../common/aclocal.m4 changes.
770 * wrapper.c (sim_stop): Stub sim_stop function.
774 * arminit.c (ARMul_NewState): Preinitialize the state to
779 * Makefile.in (SIM_OBJS): Add sim-load.o.
780 * wrapper.c (sim_kind,myname): New static locals.
781 (sim_open): Set sim_kind, myname.
782 (sim_load): Call sim_load_file to do work. Set start address from bfd.
783 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
787 * wrapper.c (sim_trace): Update so that it matches prototype.
791 * configure: Regenerated to track ../common/aclocal.m4 changes.
796 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
802 * wrapper.c (sim_open): New arg `kind'.
804 * configure: Regenerated to track ../common/aclocal.m4 changes.
808 * COPYING: Update FSF address.
812 * configure: Regenerated to track ../common/aclocal.m4 changes.
816 * configure: Regenerated to track ../common/aclocal.m4 changes.
820 * configure: Re-generate.
824 * configure: Regenerate to track ../common/aclocal.m4 changes.
828 * wrapper.c (sim_open): Has result now.
829 (sim_*): New SIM_DESC argument.
833 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
834 COMMON_{PRE,POST}_CONFIG_FRAG instead.
835 * configure.in: sinclude ../common/aclocal.m4.
836 * configure: Regenerated.
840 * configure configure.in Makefile.in: Update to new configure
841 scheme which is more compatible with WinGDB builds.
842 * configure.in: Improve comment on how to run autoconf.
843 * configure: Re-run autoconf to get new ../common/aclocal.m4.
844 * Makefile.in: Use autoconf substitution to install common
849 * run.c: Deleted, use one in ../common now.
850 * Makefile.in: Delete everything that's been moved to
851 ../common/Make-common.in.
853 * configure.in: Simplify using macros in ../common/aclocal.m4.
854 * configure: Regenerated.
855 * config.in: New file.
856 * armos.c: #include config.h.
857 * wrapper.c (mem_size): Value is in bytes now.
858 (sim_callback): New global.
859 (arm_sim_set_profile{,_size}): Delete.
860 (arm_sim_set_mem_size): Rename to sim_size.
861 (sim_do_command): Call printf_filtered via callback.
862 (sim_set_callbacks): Record callback.
866 * Makefile.in (mostlyclean): Remove config.log.
870 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
871 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
873 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
874 (AC_PROG_INSTALL): Added.
875 * configure: Rebuilt.
879 * configure: Regenerate with autoconf 2.7.
883 * run.c (main): Use new bfd_big_endian macro.
887 * run.c: Include "getopt.h".
889 (usage): Make static.
890 (main): Call arm_sim_set_verbosity.
891 Only load sections marked SEC_LOAD.
892 * wrapper.c (mem_size, verbosity): New static global.
893 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
894 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
898 * armdefs.h (ARMul_State): New member `verbose'.
899 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
900 * run.c (verbose): Make global.
901 * wrapper.c (init): Set state->verbose.
902 (ARMul_ConsolePrint): Don't print anything if !verbose.
906 * armos.c: #include dbg_rdi.h.
907 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
908 * armos.h (SWI_Breakpoint): Define.
909 * wrapper.c: #include armemu.h, dbg_rdi.h.
911 (sim_resume): Use state->EndCondition to record stop state.
912 Call FLUSHPIPE before returning.
913 (sim_stop_reason): Determine reason from state->EndCondition.
917 * wrapper.c (sim_set_callbacks): New.
921 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
922 number of bytes not read/written (or -1).
926 * Makefile.in (maintainer-clean): New synonym for realclean.
930 * configure.in: Remove AC_PROG_INSTALL.
931 * configure: Rebuild.
932 * Makefile.in (INSTALL): Revert to using install.sh.
933 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
934 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
935 (mostlyclean): Make the same as clean, not distclean.
936 (clean): Remove config.log.
937 (install): Don't install in $(tooldir).
941 (Try to) Update to new bfd autoconf scheme.
942 * run.c: Don't include sysdep.h.
943 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
944 (CC, CFLAGS, AR, RANLIB): Likewise.
945 (HDEFINES, TDEFINES): Define.
946 (CC_FOR_BUILD): Delete.
947 (host_makefile_frag): Delete.
948 (Makefile): Don't depend on frags.
949 * configure.in (sysdep.h): Don't create symlink.
950 (host_makefile_frag, frags): Deleted.
951 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
952 * configure: Regenerated.
956 * Update all FSF addresses except those in COPYING* files.
960 * Makefile.in (clean): Remove run, libsim.a.
962 * Makefile.in, configure.in: converted to autoconf.
963 * configure: New file, generated with autconf 2.4.
969 * wrapper.c (sim_do_command): New function.
973 * armos.c (ARMul_OSHandleSWI): New version to work with
978 * run.c (main): Grab return value from right register.