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