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