Thumb BL instruction: Do not set LR to pc + 2, it has already been advanced.
[deliverable/binutils-gdb.git] / sim / arm / ChangeLog
1 2002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
2
3 * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
4 2, it has already been advanced.
5
6 2002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
7
8 * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
9 instruction do not add in the second bit of the base address -
10 this has already been accounted for.
11
12 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
13
14 * armcopro.c (check_cp13_access): Allow access to register 1 when
15 CRm is 1.
16 (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
17
18 2002-05-20 Nick Clifton <nickc@cambridge.redhat.com>
19
20 * Makefile.in (SWI_TARGET_SWITCHES): Define.
21 * armos.c (swi_mask): Define. Initialise to supporting all
22 SWI emulations.
23 (ARMul_OSInit): For XScale targets, only support the ANGEL
24 SWI interface. (This is at the request if Intel).
25 (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
26 SWI call should be emulated.
27 Do not fall through from AngelSWI_Reason_WriteC.
28 Propagate exit code from RedBoot Exit SWI.
29 * rdi-dgb.h (swi_mask): Prototype.
30 (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
31 * wrapper.c: Include run-sim.h.
32 (sim_target_parse_command_line): New function. Look for and
33 handle --swi-support switch.
34 (sim_target_parse_arg_array): New function. Process an argv
35 array for parsing by sim_target_parse_command_line.
36 (sim_target_display_usage): New function. Describe syntax of
37 --swi-suppoort switch.
38 (sim_open): Add call to sim_target_parse_arg_array).
39
40 2002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
41
42 * Makefile.in (SWI_TARGET_SWITCHES): Define.
43 * armos.c (swi_mask): Define. Initialise to supporting all
44 SWI emulations.
45 (ARMul_OSInit): For XScale targets, only support the ANGEL
46 SWI interface. (This is at the request if Intel).
47 (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
48 SWI call should be emulated.
49 Do not fall through from AngelSWI_Reason_WriteC.
50 Propagate exit code from RedBoot Exit SWI.
51 * rdi-dgb.h (swi_mask): Prototype.
52 (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
53 * wrapper.c (sim_target_parse_command_line): New function.
54 Look for and handle --swi-support switch.
55 (sim_target_parse_arg_array): New function. Process an argv
56 array for parsing by sim_target_parse_command_line.
57 (sim_target_display_usage): New function. Describe syntax of
58 --swi-suppoort switch.
59 (sim_open): Add call to sim_target_parse_arg_array).
60
61 2002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
62
63 * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
64 mode and some of its system calls.
65
66 2002-03-17 Anthony Green <green@redhat.com>
67
68 * wrapper.c (mem_size): Increase the default target memory to 8MB.
69
70 2002-02-21 Keith Seitz <keiths@redhat.com>
71
72 * armos.c (SWIWrite0): Use generic host_callback mechanism
73 for supported OS functions "open", "close", "write", etc.
74 (SWIopen): Likewise.
75 (SWIread): Likewise.
76 (SWIwrite): Likewise.
77 (SWIflen): Likewise.
78 (ARMul_OSHandleSWI): Likewise.
79
80 2002-02-05 Nick Clifton <nickc@cambridge.redhat.com>
81
82 * wrapper.c (sim_create_inferior): Modify previous patch so that
83 it is only triggered for COFF format executables.
84
85 2002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
86
87 * wrapper.c (sin_create_inferior): If a v5 architecture is
88 detected, assume it might be an XScale binary, since there is no
89 way to distinguish between the two in the COFF file format.
90
91 2002-01-10 Nick Clifton <nickc@cambridge.redhat.com>
92
93 * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
94 * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
95 and CPRead[14].
96 Fix formatting. Improve layout.
97 * armemu.h: Fix formatting. Improve layout.
98
99 2002-01-09 Nick Clifton <nickc@cambridge.redhat.com>
100
101 * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
102 return zeroes in the other words.
103 General formatting tidy ups.
104
105 2001-11-16 Ben Harris <bjh21@netbsd.org>
106
107 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
108 $(srcdir)/....
109 (armemu26.o): Ditto.
110
111 2001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
112
113 * armemu.h (CP_ACCESS_ALLOWED): New macro.
114 Fix formatting.
115 * armcopro.c (read_cp14_reg): Make static.
116 (write_cp14_reg): Make static.
117 (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
118 Fix formatting.
119 * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
120 (ARMul_STC): Check CP_ACCESS_ALLOWED.
121 (ARMul_MCR): Check CP_ACCESS_ALLOWED.
122 (ARMul_MRC): Check CP_ACCESS_ALLOWED.
123 (ARMul_CDP): Check CP_ACCESS_ALLOWED.
124 Fix formatting.
125 * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not
126 equal to 15.
127 (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15.
128 Fix formatting.
129
130 2001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
131
132 * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
133 instructions with post indexed addressing modes.
134
135 2001-05-08 Jens-Christian Lache <lache@tu-harburg.de>
136
137 * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
138 determine rocesor mode.
139
140 2001-04-18 matthew green <mrg@redhat.com>
141
142 * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
143 (read_cp15_reg): Make non-static.
144 (XScale_cp15_LDC): Update for write_cp15_reg() change.
145 (XScale_cp15_MCR): Likewise.
146 (XScale_cp15_write_reg): Likewise.
147 (XScale_check_memacc): New function. Check for breakpoints being
148 activated by memory accesses. Does not support the Branch Target
149 Buffer.
150 (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
151 (XScale_debug_moe): New function. Set the debug Method Of Entry,
152 if configured.
153 (write_cp14_reg): Reset count counter if requested.
154 * armdefs.h (struct ARMul_State): New members `LastTime' and
155 `CP14R0_CCD' used for the timer/counters.
156 (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
157 ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
158 ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
159 ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
160 ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
161 ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
162 ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
163 ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
164 defines for XScale registers.
165 (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
166 (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
167 (ARMul_Emulate32): Handle the clock counter and hardware instruction
168 breakpoints. Call XScale_set_fsr_far() for software breakpoints and
169 software interrupts.
170 (LoadMult): Call XScale_set_fsr_far() for data aborts.
171 (LoadSMult): Likewise.
172 (StoreMult): Likewise.
173 (StoreSMult): Likewise.
174 * armemu.h (write_cp15_reg): Update prototype.
175 * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
176 (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
177 register 0.
178 * armvirt.c (GetWord): Call XScale_check_memacc().
179 (PutWord): Likewise.
180
181 2001-03-20 Nick Clifton <nickc@redhat.com>
182
183 * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
184 when loading unaligned thumb instructions.
185
186 2001-03-06 Nick Clifton <nickc@redhat.com>
187
188 * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
189 Compute destination address of BLX(1) instruction by
190 taking bit 1 from PC and not from bit 0 of the offset.
191
192 2001-02-27 Nick Clifton <nickc@redhat.com>
193
194 * armvirt.c (GetWord): Add new parameter - check - to enable or
195 disable the alignment checking.
196 (PutWord): Add new parameter - check - to enable or disable the
197 alignment checking.
198 (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
199 (ARMul_ReadWord): Pass extra parameter to GetWord.
200 (ARMul_WriteWord): Pass extra parameter to PutWord.
201 (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
202 (ARMul_WriteByte): Pass extra parameter to GetWord.
203 (ARMul_SwapWord): Pass extra parameter to PutWord.
204 (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
205 (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
206
207 * armdefs.h: Add prototypes for ARMul_SafeReadByte and
208 ARMul_SafeWriteByte.
209
210 * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
211 (sim_read): Use ARMul_SafeReadByte.
212
213 * armos.c (in_SWI_handler): Remove.
214 (SWIWrite0): Use ARMul_SafeReadByte.
215 (WriteCommandLineTo): Use ARMul_SafeWriteByte.
216 (SWIopen): Use ARMul_SafeReadByte.
217 (SWIread): Use ARMul_SafeWriteByte.
218 (SWIwrite): Use ARMul_SafeReadByte.
219 (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
220 (ARMul_OSException): Remove use of is_SWI_handler.
221
222 2001-02-16 Nick Clifton <nickc@redhat.com>
223
224 * armemu.c: Remove Prefetch abort for breakpoints. Instead set
225 the state to RESUME.
226
227 2001-02-14 Nick Clifton <nickc@redhat.com>
228
229 * armemu.c: Add code to preserve processor mode when a prefetch
230 abort is signalled after processing a breakpoint.
231
232 * wrapper.c (sim_create_inferior): Reset processor into ARM mode
233 for any machine type except the early ARMs.
234
235 2001-02-13 Nick Clifton <nickc@redhat.com>
236
237 * armos.c (in_SWI_handler): New static variable.
238 (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
239 (ARMul_OSException): Ignore exceptions generated whilst emulating
240 a SWI.
241
242 2001-02-12 Nick Clifton <nickc@redhat.com>
243
244 * armemu.h (NEGBRANCH): Fix defintion.
245
246 2001-02-01 Nick Clifton <nickc@redhat.com>
247
248 * armemu.c (LoadSMult): Update base address register after
249 restoring register bank.
250 (StoreMult): Update base address register after restoring register
251 bank.
252
253 2001-01-31 Nick Clifton <nickc@redhat.com>
254
255 * armvirt.c (PutWord): Detect installation of SWI vector.
256 (SWI_vector_installed): Define.
257 * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
258 * armos.h (SWI_vector_installed): Declare.
259 * wrapper.c (SWI_vector_installed): Remove definition.
260 (sim_write): Remove check of SWI vector installation
261
262 2000-12-18 Nick Clifton <nickc@redhat.com>
263
264 * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
265 instruction.
266
267 2000-12-10 Nick Clifton <nickc@redhat.com>
268
269 * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
270
271 2000-12-07 Nick Clifton <nickc@redhat.com>
272
273 * armemu.c (ARMul_Emulate26): Detect double word load and
274 store instructions and call emulation routines.
275 (Handle_Load_Double): Emulate a double word load instruction.
276 (Handle_Store_Double): Emulate a double word store
277 instruction.
278
279 2000-12-03 Nick Clifton <nickc@redhat.com>
280
281 * armos.c: Fix formatting.
282 (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
283 mode.
284
285 2000-11-29 Nick Clifton <nickc@redhat.com>
286
287 * armdefs.h (State): Add 'v5e' and 'xscale' fields.
288 (ARM_v5e_Prop): Define.
289 (ARM_XScale_Prop): Define.
290
291 * wrapper.c (sim_create_inferior): Select processor based on
292 machine number.
293 (SWI_vector_installed): New boolean. Set to true if the SWI
294 vector address is written to by the executable.
295
296 * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
297 (ARMul_SelectProcessor): Initialise v5e and xscale signals.
298 (ARMul_Abort): Fix calculation of LR address.
299
300 * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
301 and a SWI is not handled by the simulator, pass the SWI off to the
302 vector, otherwise issue a warning message and continue.
303
304 * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
305
306 * thumbemu.c: Add v5 instruction simulation.
307 * armemu.c: Add v5, XScale and El Segundo instruction simulation.
308
309 * armcopro.c: Add XScale co-processor emulation.
310 * armemu.h: Add exported XScale co-processor functions.
311
312 2000-09-15 Nick Clifton <nickc@redhat.com>
313
314 * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
315 property. Delete unnecessary processor names.
316 (ARM_Strong_Prop): Delete.
317 (STRONGARM): Delete.
318 (ARM_v4_Prop): Add.
319 (ARM_v5_Prop): Add
320 (State): Delete is_StrongARM boolean. Add is_v4 and is_v5
321 booleans.
322
323 * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
324 (BUSUSEDINCPCN): Use is_v4 boolean.
325
326 * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
327 (ARMul_SelectProcessor): Change second parameter from 'processor'
328 to 'properties'. Set is_v4 and is_v5 booleans in State.
329
330 * armrdi.c: Remove use of ARM processor names. Replace with ARM
331 processor properties.
332
333 * wrapper.c (sim_create_inferior): Choose properties passed to
334 ARMul_SelectProcessor based on machine number.
335
336 2000-08-14 Nick Clifton <nickc@redhat.com>
337
338 * armemu.c (LHPOSTDOWN): Compute write back value before
339 performing load in case the offset register is overwritten.
340 (LHPOSTUP): Ditto.
341
342 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
343
344 * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
345
346 2000-07-14 Fernando Nasser <fnasser@cygnus.com>
347
348 * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
349 new inferior.
350
351 2000-07-04 Alexandre Oliva <aoliva@redhat.com>
352
353 * armvirt.c (ABORTS): Do not define.
354
355 * armdefs.h (struct ARMul_State): Add is_StrongARM.
356 (ARM_Strong_Prop, STRONGARM): Define.
357 * arminit.c (ARMul_NewState): Reset is_StrongARM.
358 (ARMul_SelectProcessor): Set is_StrongARM.
359 * wrapper.c (sim_create_inferior): Use bfd machine type to
360 determine processor type to emulate.
361 * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
362 when emulating StrongARM.
363
364 * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
365
366 * armemu.h (INSN_SIZE): New macro.
367 (SET_ABORT): Save CPSR in SPSR and set LR.
368 * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
369 (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
370 * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
371
372 * armemu.c (LoadSMult): Use WriteR15() to discard the least
373 significant bits of PC.
374
375 * armemu.h (WRITEDESTB): New macro.
376 * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
377 modify PC. Moved the existing logic...
378 (WriteR15Branch): ... here. New function.
379 (WriteR15, WriteSR15): Drop the two least significant bits.
380 (LoadSMult): Use WriteR15Branch() to modify PC.
381 (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
382
383 * armemu.h (GETSPSR): Call ARMul_GetSPSR().
384 * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
385 extracted from state->Cpsr, but preserve the unused bits.
386 (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
387 (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
388 get the full CPSR word.
389
390 * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
391 (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
392 (SETPSR, SET_INTMODE, SETCC): Removed.
393 * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
394 mask. Use SETPSR_* to modify PSR.
395 (ARMul_SetCPSR): Load all bits from value.
396 * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
397
398 * armemu.c (ARMul_Emulate): Compute writeback value before
399 loading, since the offset register may be the destination
400 register.
401
402 * armdefs.h (SYSTEMBANK): Define as USERBANK.
403 * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
404
405 2000-06-22 Alexandre Oliva <aoliva@cygnus.com>
406
407 * armemu.c (Multiply64): Fix computation of flag N.
408
409 * armemu.c (MultiplyAdd64): Fix computation of flag N.
410
411 2000-06-20 Alexandre Oliva <aoliva@cygnus.com>
412
413 * armemu.h (NEGBRANCH): Do not overwrite the two most significant
414 bits of the offset.
415
416 2000-05-25 Nick Clifton <nickc@cygnus.com>
417
418 * armcopro.c (MMUMCR): Only indicate mode change if a singal has
419 really changed.
420 (MMUWrite): Only indicate mode change if a singal has really
421 changed.
422
423 * armdefs.h (SYSTEMMODE): Define.
424 (BANK_CAN_ACEESS_SPSR): Define.
425
426 * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
427 to advance before stopping the emulation.
428
429 * arminit.c (ARMul_Reset): Ensure Mode field of State is set
430 correctly.
431
432 * armos.c (ARMul_OSInit): Create a initial stack pointer for
433 System mode.
434
435 * armsupp.c (ModeToBank): Remove unused first parameter.
436 Add support for System Mode.
437 (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
438 (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
439 (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
440 (ARMulSwitchMode): Add support for System Mode.
441
442 Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
443
444 * configure: Regenerated to track ../common/aclocal.m4 changes.
445
446 2000-05-23 Nick Clifton <nickc@cygnus.com>
447
448 * wrapper.c (sim_store_register): Special handling for CPSR
449 register.
450
451 2000-03-11 Philip Blundell <philb@gnu.org>
452
453 * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
454 Patch from Allan Skillman <Allan.Skillman@arm.com>.
455
456 Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
457
458 * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
459
460 2000-02-08 Nick Clifton <nickc@cygnus.com>
461
462 * wrapper.c: Fix compile time warning messages.
463 * armcopro.c: Fix compile time warning messages.
464 * armdefs.h: Fix compile time warning messages.
465 * armemu.c: Fix compile time warning messages.
466 * armemu.h: Fix compile time warning messages.
467 * armos.c: Fix compile time warning messages.
468 * armsupp.c: Fix compile time warning messages.
469 * armvirt.c: Fix compile time warning messages.
470 * bag.c: Fix compile time warning messages.
471
472 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
473
474 * *.[ch]: Use indent to make readable.
475
476 1999-11-22 Nick Clifton <nickc@cygnus.com>
477
478 * armos.c (SWIread): Generate an error message if a huge read is
479 performed.
480 (SWIwrite): Generate an error message if a huge write is
481 performed.
482
483 1999-10-27 Nick Clifton <nickc@cygnus.com>
484
485 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
486 breakpoint.
487
488 1999-10-08 Ulrich Drepper <drepper@cygnus.com>
489
490 * armos.c (SWIopen): Always pass third parameter with 0666 since
491 otherwise uninitialized memory gets access if the O_CREAT bit is
492 set and so we possibly cannot access the file afterwards.
493
494 1999-09-29 Doug Evans <devans@casey.cygnus.com>
495
496 * armos.c (SWIWrite0): Send output to stdout instead of stderr.
497 (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
498
499 Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
500
501 * configure: Regenerated to track ../common/aclocal.m4 changes.
502
503 1999-05-08 Felix Lee <flee@cygnus.com>
504
505 * configure: Regenerated to track ../common/aclocal.m4 changes.
506
507 1999-04-06 Keith Seitz <keiths@cygnus.com>
508
509 * wrapper.c (stop_simulator): New global.
510 (sim_stop): Set sim state to STOP and set
511 stop_simulator.
512 (sim_resume): Reset stop_simulator.
513 (sim_stop_reason): If stop_simulator is set, tell gdb
514 that the we took SIGINT.
515 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
516 stop_simulator is set.
517
518 1999-04-02 Keith Seitz <keiths@cygnus.com>
519
520 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
521 whenever the counter expires.
522 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
523
524 1999-03-24 Nick Clifton <nickc@cygnus.com>
525
526 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
527 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
528
529 Mon Sep 14 09:00:05 1998 Nick Clifton <nickc@cygnus.com>
530
531 * wrapper.c (sim_open): Set endianness according to BFD or command
532 line switch.
533
534 * tconfig.in: Define SIM_HAVE_BIENDIAN.
535
536 Thu Aug 27 11:00:05 1998 Nick Clifton <nickc@cygnus.com>
537
538 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
539 the same as either RdHi or RdLo.
540
541 Thu Jul 2 10:24:35 1998 Nick Clifton <nickc@cygnus.com>
542
543 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
544 Set Reg[0] based on reason for for the exception.
545
546 Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com)
547
548 * armos.c (SWIwrite0): New function.
549 (WriteCommandLineTo): New function.
550 (SWIopen): New function.
551 (SWIread): New function.
552 (SWIwrite): New function.
553 (SWIflen): New function.
554 (ARMul_OSHandleSWI): Call new functions instead of handling
555 these here.
556 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
557 (*): Reformat spacing to be a bit more GNUly.
558 Most code taken from a patch by Anthony Thompson
559 (athompso@cambridge.arm.com)
560
561 Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
562
563 * armos.h: Add Angel SWI and its reason codes.
564 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
565
566 Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
567
568 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
569 of ":tt" to catch stdin in addition to stdout.
570 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
571 or success of lseek().
572
573 Wed May 20 17:36:25 1998 Nick Clifton <nickc@cygnus.com>
574
575 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
576 to open stdout.
577
578 Wed Apr 29 15:29:55 1998 Jeff Johnston <jjohnstn@cygnus.com>
579
580 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
581 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
582 seek from offset 0 and not to use R2 for whence since it is
583 not passed as part of the SWI call.
584
585 Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
586
587 * configure: Regenerated to track ../common/aclocal.m4 changes.
588
589 Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
590
591 * configure: Regenerated to track ../common/aclocal.m4 changes.
592 * config.in: Ditto.
593
594 Sun Apr 26 15:20:26 1998 Tom Tromey <tromey@cygnus.com>
595
596 * acconfig.h: New file.
597 * configure.in: Reverted change of Apr 24; use sinclude again.
598
599 Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
600
601 * configure: Regenerated to track ../common/aclocal.m4 changes.
602 * config.in: Ditto.
603
604 Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
605
606 * configure.in: Don't call sinclude.
607
608 Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
609
610 * configure: Regenerated to track ../common/aclocal.m4 changes.
611
612 Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
613
614 * configure: Regenerated to track ../common/aclocal.m4 changes.
615
616 Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
617
618 * configure: Regenerated to track ../common/aclocal.m4 changes.
619
620 Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
621
622 * configure: Regenerated to track ../common/aclocal.m4 changes.
623
624 Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
625
626 * armopts.h: Remove definition of LITTLEND - it is not used.
627
628 Tue Feb 17 12:35:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
629
630 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
631 length parameter. Return -1.
632
633 Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
634
635 * configure: Regenerated to track ../common/aclocal.m4 changes.
636
637 Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
638
639 * configure: Regenerated to track ../common/aclocal.m4 changes.
640
641 Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
642
643 * configure: Regenerated to track ../common/aclocal.m4 changes.
644
645 Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
646
647 * configure: Regenerated to track ../common/aclocal.m4 changes.
648 * config.in: Ditto.
649
650 Tue Dec 9 11:30:48 1997 Nick Clifton <nickc@cygnus.com>
651
652 * Makefile.in: Updated with changes from branch.
653 * armdefs.h: ditto
654 * armemu.c: ditto these changes
655 * armemu.h: ditto add support for
656 * armos.c: ditto the Thumb instruction
657 * armsupp.c: ditto set and the new v4
658 * armvirt.c: ditto architecture.
659 * wrapper.c: ditto
660 * thumbemu.c: New file from branch.
661
662
663 Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
664
665 * configure: Regenerated to track ../common/aclocal.m4 changes.
666
667 Thu Oct 30 13:54:06 1997 Nick Clifton <nickc@cygnus.com>
668
669 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
670 from Tony Thompson at ARM: athompso@arm.com
671
672 * wrapper.c (sim_create_inferior): Add code to create an execution
673 environment. Patch from Tony Thompson at ARM: athompso@arm.com
674
675 Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
676
677 * wrapper.c (sim_load): Pass lma_p and sim_write args to
678 sim_load_file.
679
680 Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
681
682 * configure: Regenerated to track ../common/aclocal.m4 changes.
683
684 Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
685
686 * configure: Regenerated to track ../common/aclocal.m4 changes.
687
688 Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
689
690 * configure: Regenerated to track ../common/aclocal.m4 changes.
691
692 Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
693
694 * configure: Regenerated to track ../common/aclocal.m4 changes.
695
696 Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
697
698 * configure: Regenerated to track ../common/aclocal.m4 changes.
699
700 Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
701
702 * configure: Regenerated to track ../common/aclocal.m4 changes.
703
704 Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
705
706 * configure: Regenerated to track ../common/aclocal.m4 changes.
707
708 Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
709
710 * configure: Regenerated to track ../common/aclocal.m4 changes.
711 * config.in: Ditto.
712
713 Tue Aug 26 10:37:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
714
715 * wrapper.c (sim_kill): Delete.
716 (sim_create_inferior): Add ABFD argument.
717 (sim_load): Move setting of PC from here.
718 (sim_create_inferior): To here.
719
720 Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
721
722 * configure: Regenerated to track ../common/aclocal.m4 changes.
723 * config.in: Ditto.
724
725 Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
726
727 * wrapper.c (sim_open): Add ABFD argument.
728
729 Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
730
731 * wrapper.c (sim_open): Add callback argument.
732 (sim_set_callbacks): Drop SIM_DESC argument.
733
734 Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
735
736 * configure: Regenerated to track ../common/aclocal.m4 changes.
737
738 Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
739
740 * wrapper.c (sim_stop): Stub sim_stop function.
741
742 Thu Apr 17 18:33:01 1997 Fred Fish <fnf@cygnus.com>
743
744 * arminit.c (ARMul_NewState): Preinitialize the state to
745 all zero/NULL.
746
747 Thu Apr 17 02:39:02 1997 Doug Evans <dje@canuck.cygnus.com>
748
749 * Makefile.in (SIM_OBJS): Add sim-load.o.
750 * wrapper.c (sim_kind,myname): New static locals.
751 (sim_open): Set sim_kind, myname.
752 (sim_load): Call sim_load_file to do work. Set start address from bfd.
753 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
754
755 Thu Apr 17 11:48:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
756
757 * wrapper.c (sim_trace): Update so that it matches prototype.
758
759 Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
760
761 * configure: Regenerated to track ../common/aclocal.m4 changes.
762 * config.in: Ditto.
763
764 Mon Apr 7 12:01:17 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
765
766 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
767 $(srcdir)/....
768 (armemu26.o): Ditto.
769
770 Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
771
772 * wrapper.c (sim_open): New arg `kind'.
773
774 * configure: Regenerated to track ../common/aclocal.m4 changes.
775
776 Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
777
778 * COPYING: Update FSF address.
779
780 Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
781
782 * configure: Regenerated to track ../common/aclocal.m4 changes.
783
784 Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
785
786 * configure: Regenerated to track ../common/aclocal.m4 changes.
787
788 Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
789
790 * configure: Re-generate.
791
792 Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
793
794 * configure: Regenerate to track ../common/aclocal.m4 changes.
795
796 Thu Mar 13 12:38:56 1997 Doug Evans <dje@canuck.cygnus.com>
797
798 * wrapper.c (sim_open): Has result now.
799 (sim_*): New SIM_DESC argument.
800
801 Tue Feb 4 13:22:21 1997 Doug Evans <dje@canuck.cygnus.com>
802
803 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
804 COMMON_{PRE,POST}_CONFIG_FRAG instead.
805 * configure.in: sinclude ../common/aclocal.m4.
806 * configure: Regenerated.
807
808 Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
809
810 * configure configure.in Makefile.in: Update to new configure
811 scheme which is more compatible with WinGDB builds.
812 * configure.in: Improve comment on how to run autoconf.
813 * configure: Re-run autoconf to get new ../common/aclocal.m4.
814 * Makefile.in: Use autoconf substitution to install common
815 makefile fragment.
816
817 Wed Nov 20 01:05:10 1996 Doug Evans <dje@canuck.cygnus.com>
818
819 * run.c: Deleted, use one in ../common now.
820 * Makefile.in: Delete everything that's been moved to
821 ../common/Make-common.in.
822 (SIM_OBJS): Define.
823 * configure.in: Simplify using macros in ../common/aclocal.m4.
824 * configure: Regenerated.
825 * config.in: New file.
826 * armos.c: #include config.h.
827 * wrapper.c (mem_size): Value is in bytes now.
828 (sim_callback): New global.
829 (arm_sim_set_profile{,_size}): Delete.
830 (arm_sim_set_mem_size): Rename to sim_size.
831 (sim_do_command): Call printf_filtered via callback.
832 (sim_set_callbacks): Record callback.
833
834 Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
835
836 * Makefile.in (mostlyclean): Remove config.log.
837
838 Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
839
840 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
841 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
842 (docdir): Removed.
843 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
844 (AC_PROG_INSTALL): Added.
845 * configure: Rebuilt.
846
847 Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
848
849 * configure: Regenerate with autoconf 2.7.
850
851 Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
852
853 * run.c (main): Use new bfd_big_endian macro.
854
855 Mon Nov 20 17:40:38 1995 Doug Evans <dje@canuck.cygnus.com>
856
857 * run.c: Include "getopt.h".
858 (verbose): Delete.
859 (usage): Make static.
860 (main): Call arm_sim_set_verbosity.
861 Only load sections marked SEC_LOAD.
862 * wrapper.c (mem_size, verbosity): New static global.
863 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
864 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
865
866 Fri Nov 17 19:35:11 1995 Doug Evans <dje@canuck.cygnus.com>
867
868 * armdefs.h (ARMul_State): New member `verbose'.
869 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
870 * run.c (verbose): Make global.
871 * wrapper.c (init): Set state->verbose.
872 (ARMul_ConsolePrint): Don't print anything if !verbose.
873
874 Fri Oct 13 15:30:30 1995 Doug Evans <dje@canuck.cygnus.com>
875
876 * armos.c: #include dbg_rdi.h.
877 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
878 * armos.h (SWI_Breakpoint): Define.
879 * wrapper.c: #include armemu.h, dbg_rdi.h.
880 (rc): Delete.
881 (sim_resume): Use state->EndCondition to record stop state.
882 Call FLUSHPIPE before returning.
883 (sim_stop_reason): Determine reason from state->EndCondition.
884
885 Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
886
887 * wrapper.c (sim_set_callbacks): New.
888
889 Thu Sep 28 19:45:56 1995 Doug Evans <dje@deneb.cygnus.com>
890
891 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
892 number of bytes not read/written (or -1).
893
894 Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
895
896 * Makefile.in (maintainer-clean): New synonym for realclean.
897
898 Fri Sep 8 14:27:20 1995 Ian Lance Taylor <ian@cygnus.com>
899
900 * configure.in: Remove AC_PROG_INSTALL.
901 * configure: Rebuild.
902 * Makefile.in (INSTALL): Revert to using install.sh.
903 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
904 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
905 (mostlyclean): Make the same as clean, not distclean.
906 (clean): Remove config.log.
907 (install): Don't install in $(tooldir).
908
909 Thu Sep 7 12:00:17 1995 Doug Evans <dje@canuck.cygnus.com>
910
911 (Try to) Update to new bfd autoconf scheme.
912 * run.c: Don't include sysdep.h.
913 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
914 (CC, CFLAGS, AR, RANLIB): Likewise.
915 (HDEFINES, TDEFINES): Define.
916 (CC_FOR_BUILD): Delete.
917 (host_makefile_frag): Delete.
918 (Makefile): Don't depend on frags.
919 * configure.in (sysdep.h): Don't create symlink.
920 (host_makefile_frag, frags): Deleted.
921 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
922 * configure: Regenerated.
923
924 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
925
926 * Update all FSF addresses except those in COPYING* files.
927
928 Wed Jul 5 16:15:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
929
930 * Makefile.in (clean): Remove run, libsim.a.
931
932 * Makefile.in, configure.in: converted to autoconf.
933 * configure: New file, generated with autconf 2.4.
934
935 * arm.mt: Removed.
936
937 Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
938
939 * wrapper.c (sim_do_command): New function.
940
941 Tue Jun 13 10:57:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
942
943 * armos.c (ARMul_OSHandleSWI): New version to work with
944 newlib simply.
945
946 Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
947
948 * run.c (main): Grab return value from right register.
949
950 Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
951
952 * New.
953
954
This page took 0.048076 seconds and 5 git commands to generate.