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