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