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