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