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