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