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