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