Configury changes: update src repository (binutils, gdb, and rda) to use
[external/binutils.git] / sim / arm / ChangeLog
1 2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
2
3         * configure: Regenerated.
4
5 2006-03-07  Paul Brook  <paul@codesourcery.com>
6
7         * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
8
9 2006-02-01  Shaun Jackman  <sjackman@gmail.com>
10
11         * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
12         call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
13
14 2005-11-23  Mark Mitchell  <mark@codesourcery.com>
15
16         * wrapper.c (gdb/signals.h): Include it.
17         (SIGTRAP): Don't define.
18         (SIGBUS): Likewise.
19         (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
20
21 2005-11-16  Shaun Jackman  <sjackman@gmail.com>
22
23         * armos.c: Include limits.h
24         (unlink): Remove this macro. It is unused in this file and
25         conflicts with sim_callback->unlink.
26         (PATH_MAX): Define as 1024 if not already defined.
27         (ReadFileName): New function.
28         (SWIopen): Fix a potential buffer overflow.
29         (SWIremove): New function.
30         (SWIrename): Ditto.
31         (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
32         SWI_Remove, and SWI_Rename, as well as the RDI calls
33         AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
34         AngelSWI_Reason_Rename.
35
36 2005-09-19  Paul Brook  <paul@codesourcery.com>
37
38         * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
39         available.
40         * armemu.c: Use them.
41         * armvirt.c (ARMul_MemoryInit): Use correct type for size.
42         * configure.ac: Check for stdint.h.
43         * config.in: Regenerate.
44         * configure: Regenerate.
45
46 2005-05-24  Nick Clifton  <nickc@redhat.com>
47
48         * thumbemu.c (handle_v6_thumb_insn): New function.
49         (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
50         instruction binary is encountered.
51
52 2005-05-12  Nick Clifton  <nickc@redhat.com>
53
54         * Update the address and phone number of the FSF organization in
55         the GPL notices in the following files:
56         COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
57         armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
58         armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
59         communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
60         gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
61         maverick.c, parent.c, thumbemu.c, wrapper.c
62
63 2005-04-20  Nick Clifton  <nickc@redhat.com>
64
65         * armemu.c (handle_v6_insn): New function - emulate a few of the
66         v6 instructions - the ones now generated by GCC.
67         (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
68         found.
69         * armdefs.h (struct ARMul_State): Add new field: is_v6.
70         (ARM_v6_Prop): Define.
71         * arminit.c (ARMul_NewState): Initialise the v6 flag.
72         (ARMul_SelectProcessor): Determine if the v6 flag should be
73         set.
74         * wrapper.c (sim_create_inferior): For unknown architectures,
75         default to allowing the v6 instructions.
76         
77 2005-04-18  Nick Clifton  <nickc@redhat.com>
78
79         * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
80         operator to the RHS.
81         (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
82         indicate an unsigned long long constant.
83
84 2005-03-23  Mark Kettenis  <kettenis@gnu.org>
85
86         * configure: Regenerate.
87
88 2005-01-14  Andrew Cagney  <cagney@gnu.org>
89
90         * configure.ac: Sinclude aclocal.m4 before common.m4.  Add
91         explicit call to AC_CONFIG_HEADER.
92         * configure: Regenerate.
93
94 2005-01-12  Andrew Cagney  <cagney@gnu.org>
95
96         * configure.ac: Update to use ../common/common.m4.
97         * configure: Re-generate.
98
99 2005-01-11  Andrew Cagney  <cagney@localhost.localdomain>
100
101         * configure: Regenerated to track ../common/aclocal.m4 changes.
102
103 2005-01-07  Andrew Cagney  <cagney@gnu.org>
104
105         * configure.ac: Rename configure.in, require autoconf 2.59.
106         * configure: Re-generate.
107
108 2004-12-08  Hans-Peter Nilsson  <hp@axis.com>
109
110         * configure: Regenerate for ../common/aclocal.m4 update.
111
112 2004-06-28  Andrew Cagney  <cagney@gnu.org>
113
114         * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
115
116 2003-12-29  Mark Mitchell  <mark@codesourcery.com>
117
118         * armos.c (fcntl.h): Do not include it.
119         (O_RDONLY): Do not define.
120         (O_WRONLY): Likewise.
121         (O_RDWR): Likewise.
122         (targ-vals.h): Include it.
123         (translate_open_mode): Use TARGET_O_* instead of O_*.
124         (SWIopen): Likewise.
125         * Makefile.in (armos.o): Depend on targ-vals.h.
126
127 2003-04-13  Nick Clifton  <nickc@redhat.com>
128
129         * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
130         mode.
131         (PutWord): Likewise.
132
133 2003-03-30  Nick Clifton  <nickc@redhat.com>
134
135         * configure.in (CON_FLAGS): Remove.
136         (COPRO): Unconditionally include iwmmxt.o.
137         * configure: Regenerate.
138         * Makefile.in (CON_FLAGS): Remove.
139         * armcopro.c: Remove use of __IWMMXT__ flag.
140         * wrapper.c: Likewise.
141         * armemu.c: Likewise.
142         Add explanatory comment for suppressed code.
143
144 2003-03-27  Nick Clifton  <nickc@redhat.com>
145
146         * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
147
148 2003-03-27  Nick Clifton  <nickc@redhat.com>
149
150         * configure.in: (CON_FLAGS): Define and intialise.
151         (COPRO): Add iwmmxt.o if configuring for XScale.
152         * configure: Regenerate.
153         * Makefile.in (iwmmxt.o): Add rule to build.
154         (COM_FLAGS): Define.
155         (ALL_FLAGS): Add CON_FLAGS.
156         * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
157         * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
158         (ARM_iWMMXt_Prop): Define.
159         * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
160         pass to coprocessor.
161         * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
162         (ARMul_Abort): Catch branches through uninitialised vectors.
163         * armos.c (softevtorcode): Update comment.
164         (ARMul_OsInit): Use ARMUndefinedInstrV.
165         * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
166         (sim_store_register): Handle iWMMXt registers.
167         (sim_fetch_register): Handle iWMMXt registers.
168         * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
169         functions.
170         * iwmmxt.c: New file: iWMMXt emulator.
171
172 2003-03-20  Nick Clifton  <nickc@redhat.com>
173
174         * Contribute support for Cirrus Maverick ARM co-processor,
175         written by Aldy Hernandez  <aldyh@redhat.com> and
176         Andrew Cagney  <cagney@redhat.com>:
177
178         * maverick.c: New file: Support for Maverick floating point
179         co-processor. 
180         * Makefile.in: Add maverick.o target.
181         * configure.in (COPRO): Add maverick.o.
182         * configure: Regenerate.
183         * armcopro.c (ARMul_CoProInit): Only initialise co-processors
184         available on target processor.  Add code to initialse Maverick
185         co-processor support code.
186         * armdefs.h (ARMul_state): Add is_ep9312 field.
187         (ARM_ep9312_Prop): Define.
188         * armemu.h: Add prototypes for Maverick co-processor
189         functions.
190         * arminit.c (ARMul_SelectProcessor): Initialise the
191         co-processor support once the chip has been selected.
192         * wrapper.c: Add support for Maverick co-processor.
193         (init): Do not call ARMul_CoProInit.  Delays this until the
194         chip has been selected.
195
196 2003-03-02  Nick Clifton  <nickc@redhat.com>
197
198         * armos.c (SWIWrite0): Catch big-endian bug when printing
199         characters.
200
201 2003-02-27  Andrew Cagney  <cagney@redhat.com>
202
203         * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
204         
205 2003-01-10  Ben Elliston  <bje@redhat.com>
206
207         * README.Cygnus: Rename from this ..
208         * README: .. to this.
209
210 2002-09-27  Andrew Cagney  <ac131313@redhat.com>
211
212         * wrapper.c (sim_open): Add support for -m<mem-size>.
213         (mem_size): Reduce to 2MB.
214         Fix PR gdb/433.
215
216 2002-08-15  Nick Clifton  <nickc@redhat.com>
217
218         * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
219         can be caused by an interrupted system call being resumed by GDB.
220
221 2002-07-05  Nick Clifton  <nickc@cambridge.redhat.com>
222
223         * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
224         and MIAxy instructions.
225         
226 2002-06-21  Nick Clifton  <nickc@cambridge.redhat.com>
227
228         * armos.h (ADP_Stopped_RunTimeError): Set correct value.
229
230 2002-06-16  Andrew Cagney  <ac131313@redhat.com>
231
232         * configure: Regenerated to track ../common/aclocal.m4 changes.
233
234 2002-06-12  Andrew Cagney  <ac131313@redhat.com>
235
236         * Makefile.in: Update copyright.
237         (wrapper.o): Specify dependencies.
238         * wrapper.c: Include "gdb/sim-arm.h".
239         (sim_store_register, sim_fetch_register): Rewrite using `enum
240         arm_sim_regs' and a switch.
241
242 2002-06-09  Andrew Cagney  <cagney@redhat.com>
243
244         * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
245         * armos.c: Include "gdb/callback.h".
246
247 2002-05-29  Nick Clifton  <nickc@cambridge.redhat.com>
248
249         * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
250         if a Data Abort is detected.
251
252 2002-05-27  Nick Clifton  <nickc@cambridge.redhat.com>
253
254         * armvirt.c (GetWord): Only perform access checks if 'check'
255         is set.
256         (PutWord): Likewise.
257         * wrapper.c (sim_create_inferior): Report unknown machine
258         numbers.
259         * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
260         2, it has already been advanced.
261
262 2002-05-23  Nick Clifton  <nickc@cambridge.redhat.com>
263
264         * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
265         instruction do not add in the second bit of the base address -
266         this has already been accounted for.
267
268 2002-05-21  Nick Clifton  <nickc@cambridge.redhat.com>
269
270         * armcopro.c (check_cp13_access): Allow access to register 1 when
271         CRm is 1.
272         (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
273
274 2002-05-17  Nick Clifton  <nickc@cambridge.redhat.com>
275
276         * Makefile.in (SIM_TARGET_SWITCHES): Define.
277         * armos.c (swi_mask): Define.  Initialise to supporting all
278         SWI emulations.
279         (ARMul_OSInit): For XScale targets, only support the ANGEL
280         SWI interface.  (This is at the request if Intel).
281         (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
282         SWI call should be emulated.
283         Do not fall through from AngelSWI_Reason_WriteC.
284         Propagate exit code from RedBoot Exit SWI.
285         * rdi-dgb.h (swi_mask): Prototype.
286         (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
287         * wrapper.c (sim_target_parse_command_line): New function.
288         Look for and handle --swi-support switch.
289         (sim_target_parse_arg_array): New function.  Process an argv
290         array for parsing by sim_target_parse_command_line.
291         (sim_target_display_usage): New function.  Describe syntax of
292         --swi-suppoort switch.
293         (sim_open): Add call to sim_target_parse_arg_array).
294
295 2002-05-09  Nick Clifton  <nickc@cambridge.redhat.com>
296
297         * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
298         mode and some of its system calls.
299
300 2002-03-17  Anthony Green  <green@redhat.com>
301
302         * wrapper.c (mem_size): Increase the default target memory to 8MB.
303
304 2002-02-21  Keith Seitz  <keiths@redhat.com>
305
306         * armos.c (SWIWrite0): Use generic host_callback mechanism
307         for supported OS functions "open", "close", "write", etc.
308         (SWIopen): Likewise.
309         (SWIread): Likewise.
310         (SWIwrite): Likewise.
311         (SWIflen): Likewise.
312         (ARMul_OSHandleSWI): Likewise.
313
314 2002-02-05  Nick Clifton  <nickc@cambridge.redhat.com>
315
316         * wrapper.c (sim_create_inferior): Modify previous patch so that
317         it is only triggered for COFF format executables.
318
319 2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
320
321         * wrapper.c (sin_create_inferior): If a v5 architecture is
322         detected, assume it might be an XScale binary, since there is no
323         way to distinguish between the two in the COFF file format.
324
325 2002-01-10  Nick Clifton  <nickc@cambridge.redhat.com>
326
327         * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
328         * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
329         and CPRead[14].
330         Fix formatting.  Improve layout.
331         * armemu.h: Fix formatting.  Improve layout.
332
333 2002-01-09  Nick Clifton  <nickc@cambridge.redhat.com>
334
335         * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
336         return zeroes in the other words.
337         General formatting tidy ups.
338
339 2001-11-16  Ben Harris  <bjh21@netbsd.org>
340
341         * Makefile.in (armemu32.o): Replace $< with autoconf recommended
342         $(srcdir)/....
343         (armemu26.o): Ditto.
344
345 2001-10-18  Nick Clifton  <nickc@cambridge.redhat.com>
346
347         * armemu.h (CP_ACCESS_ALLOWED): New macro.
348         Fix formatting.
349         * armcopro.c (read_cp14_reg): Make static.
350         (write_cp14_reg): Make static.
351         (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
352         Fix formatting.
353         * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
354         (ARMul_STC): Check CP_ACCESS_ALLOWED.
355         (ARMul_MCR): Check CP_ACCESS_ALLOWED.
356         (ARMul_MRC): Check CP_ACCESS_ALLOWED.
357         (ARMul_CDP): Check CP_ACCESS_ALLOWED.
358         Fix formatting.
359         * armemu.c (MCRR): Check CP_ACCESS_ALLOWED.  Test Rd and Rn not
360         equal to 15.
361         (MRRC): Check CP_ACCESS_ALLOWED.  Test Rd and Rn not equal to 15.
362         Fix formatting.
363
364 2001-05-11  Nick Clifton  <nickc@cambridge.redhat.com>
365
366         * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
367         instructions with post indexed addressing modes.
368
369 2001-05-08  Jens-Christian Lache  <lache@tu-harburg.de>
370
371         * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
372         determine rocesor mode.
373
374 2001-04-18  matthew green  <mrg@redhat.com>
375
376         * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
377         (read_cp15_reg): Make non-static.
378         (XScale_cp15_LDC): Update for write_cp15_reg() change.
379         (XScale_cp15_MCR): Likewise.
380         (XScale_cp15_write_reg): Likewise.
381         (XScale_check_memacc): New function. Check for breakpoints being
382         activated by memory accesses.  Does not support the Branch Target
383         Buffer.
384         (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
385         (XScale_debug_moe): New function. Set the debug Method Of Entry,
386         if configured.
387         (write_cp14_reg): Reset count counter if requested.
388         * armdefs.h (struct ARMul_State): New members `LastTime' and
389         `CP14R0_CCD' used for the timer/counters.
390         (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
391         ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
392         ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
393         ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
394         ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
395         ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
396         ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
397         ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
398         defines for XScale registers.
399         (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
400         (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
401         (ARMul_Emulate32): Handle the clock counter and hardware instruction
402         breakpoints.  Call XScale_set_fsr_far() for software breakpoints and
403         software interrupts.
404         (LoadMult): Call XScale_set_fsr_far() for data aborts.
405         (LoadSMult): Likewise.
406         (StoreMult): Likewise.
407         (StoreSMult): Likewise.
408         * armemu.h (write_cp15_reg): Update prototype.
409         * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
410         (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
411         register 0.
412         * armvirt.c (GetWord): Call XScale_check_memacc().
413         (PutWord): Likewise.
414
415 2001-03-20  Nick Clifton  <nickc@redhat.com>
416
417         * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
418         when loading unaligned thumb instructions.
419
420 2001-03-06  Nick Clifton  <nickc@redhat.com>
421
422         * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
423         Compute destination address of BLX(1) instruction by
424         taking bit 1 from PC and not from bit 0 of the offset.        
425
426 2001-02-27  Nick Clifton  <nickc@redhat.com>
427
428         * armvirt.c (GetWord): Add new parameter - check - to enable or
429         disable the alignment checking.
430         (PutWord):  Add new parameter - check - to enable or disable the
431         alignment checking.
432         (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
433         (ARMul_ReadWord): Pass extra parameter to GetWord.
434         (ARMul_WriteWord): Pass extra parameter to PutWord.
435         (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
436         (ARMul_WriteByte): Pass extra parameter to GetWord.
437         (ARMul_SwapWord): Pass extra parameter to PutWord.
438         (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
439         (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
440         
441         * armdefs.h: Add prototypes for ARMul_SafeReadByte and
442         ARMul_SafeWriteByte.
443         
444         * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
445         (sim_read): Use ARMul_SafeReadByte.
446
447         * armos.c (in_SWI_handler): Remove.
448         (SWIWrite0): Use ARMul_SafeReadByte.
449         (WriteCommandLineTo): Use ARMul_SafeWriteByte.
450         (SWIopen): Use ARMul_SafeReadByte.
451         (SWIread): Use ARMul_SafeWriteByte.
452         (SWIwrite): Use ARMul_SafeReadByte.
453         (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
454         (ARMul_OSException): Remove use of is_SWI_handler.
455         
456 2001-02-16  Nick Clifton  <nickc@redhat.com>
457
458         * armemu.c: Remove Prefetch abort for breakpoints.  Instead set
459         the state to RESUME.
460
461 2001-02-14  Nick Clifton  <nickc@redhat.com>
462
463         * armemu.c: Add code to preserve processor mode when a prefetch
464         abort is signalled after processing a breakpoint.
465
466         * wrapper.c (sim_create_inferior): Reset processor into ARM mode
467         for any machine type except the early ARMs.
468
469 2001-02-13  Nick Clifton  <nickc@redhat.com>
470
471         * armos.c (in_SWI_handler): New static variable.
472         (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
473         (ARMul_OSException): Ignore exceptions generated whilst emulating
474         a SWI.
475
476 2001-02-12  Nick Clifton  <nickc@redhat.com>
477
478         * armemu.h (NEGBRANCH): Fix defintion.
479
480 2001-02-01  Nick Clifton  <nickc@redhat.com>
481
482         * armemu.c (LoadSMult): Update base address register after
483         restoring register bank.
484         (StoreMult): Update base address register after restoring register
485         bank.
486
487 2001-01-31  Nick Clifton  <nickc@redhat.com>
488
489         * armvirt.c (PutWord): Detect installation of SWI vector.
490         (SWI_vector_installed): Define.
491         * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
492         * armos.h (SWI_vector_installed): Declare.
493         * wrapper.c (SWI_vector_installed): Remove definition.
494         (sim_write): Remove check of SWI vector installation
495
496 2000-12-18  Nick Clifton  <nickc@redhat.com>
497
498         * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
499         instruction.
500
501 2000-12-10  Nick Clifton  <nickc@redhat.com>
502
503         * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
504
505 2000-12-07  Nick Clifton  <nickc@redhat.com>
506
507         * armemu.c (ARMul_Emulate26): Detect double word load and
508         store instructions and call emulation routines.
509         (Handle_Load_Double): Emulate a double word load instruction.
510         (Handle_Store_Double): Emulate a double word store
511         instruction.
512
513 2000-12-03  Nick Clifton  <nickc@redhat.com>
514
515         * armos.c: Fix formatting.
516         (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
517         mode.
518
519 2000-11-29  Nick Clifton  <nickc@redhat.com>
520
521         * armdefs.h (State): Add 'v5e' and 'xscale' fields.
522         (ARM_v5e_Prop): Define.
523         (ARM_XScale_Prop): Define.
524         
525         * wrapper.c (sim_create_inferior): Select processor based on
526         machine number.
527         (SWI_vector_installed): New boolean.  Set to true if the SWI
528         vector address is written to by the executable.
529         
530         * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
531         (ARMul_SelectProcessor): Initialise v5e and xscale signals.
532         (ARMul_Abort): Fix calculation of LR address.
533
534         * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
535         and a SWI is not handled by the simulator, pass the SWI off to the
536         vector, otherwise issue a warning message and continue.
537
538         * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
539         
540         * thumbemu.c: Add v5 instruction simulation.
541         * armemu.c: Add v5, XScale and El Segundo instruction simulation.
542
543         * armcopro.c: Add XScale co-processor emulation.
544         * armemu.h: Add exported XScale co-processor functions.
545         
546 2000-09-15  Nick Clifton  <nickc@redhat.com>
547
548         * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
549         property.  Delete unnecessary processor names.
550         (ARM_Strong_Prop): Delete.
551         (STRONGARM): Delete.
552         (ARM_v4_Prop): Add.
553         (ARM_v5_Prop): Add
554         (State): Delete is_StrongARM boolean.  Add is_v4 and is_v5
555         booleans.
556
557         * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
558         (BUSUSEDINCPCN): Use is_v4 boolean.
559
560         * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
561         (ARMul_SelectProcessor): Change second parameter from 'processor'
562         to 'properties'.  Set is_v4 and is_v5 booleans in State.
563
564         * armrdi.c: Remove use of ARM processor names.  Replace with ARM
565         processor properties.
566
567         * wrapper.c (sim_create_inferior): Choose properties passed to
568         ARMul_SelectProcessor based on machine number.
569
570 2000-08-14  Nick Clifton  <nickc@redhat.com>
571
572         * armemu.c (LHPOSTDOWN): Compute write back value before
573         performing load in case the offset register is overwritten.
574         (LHPOSTUP): Ditto.
575
576 2000-07-14  Fernando Nasser <fnasser@cygnus.com>
577
578         * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
579
580 2000-07-14  Fernando Nasser <fnasser@cygnus.com>
581
582         * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
583         new inferior.
584
585 2000-07-04  Alexandre Oliva  <aoliva@redhat.com>
586
587         * armvirt.c (ABORTS): Do not define.
588
589         * armdefs.h (struct ARMul_State): Add is_StrongARM.
590         (ARM_Strong_Prop, STRONGARM): Define.
591         * arminit.c (ARMul_NewState): Reset is_StrongARM.
592         (ARMul_SelectProcessor): Set is_StrongARM.
593         * wrapper.c (sim_create_inferior): Use bfd machine type to
594         determine processor type to emulate.
595         * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
596         when emulating StrongARM.
597
598         * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
599
600         * armemu.h (INSN_SIZE): New macro.
601         (SET_ABORT): Save CPSR in SPSR and set LR.
602         * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
603         (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
604         * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
605
606         * armemu.c (LoadSMult): Use WriteR15() to discard the least
607         significant bits of PC.
608
609         * armemu.h (WRITEDESTB): New macro.
610         * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
611         modify PC.  Moved the existing logic...
612         (WriteR15Branch): ... here.  New function.
613         (WriteR15, WriteSR15): Drop the two least significant bits.
614         (LoadSMult): Use WriteR15Branch() to modify PC.
615         (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
616
617         * armemu.h (GETSPSR): Call ARMul_GetSPSR().
618         * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
619         extracted from state->Cpsr, but preserve the unused bits.
620         (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
621         (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
622         get the full CPSR word.
623
624         * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
625         (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
626         (SETPSR, SET_INTMODE, SETCC): Removed.
627         * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
628         mask.  Use SETPSR_* to modify PSR.
629         (ARMul_SetCPSR): Load all bits from value.
630         * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
631
632         * armemu.c (ARMul_Emulate): Compute writeback value before
633         loading, since the offset register may be the destination
634         register.
635
636         * armdefs.h (SYSTEMBANK): Define as USERBANK.
637         * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
638
639 2000-06-22  Alexandre Oliva  <aoliva@cygnus.com>
640
641         * armemu.c (Multiply64): Fix computation of flag N.
642
643         * armemu.c (MultiplyAdd64): Fix computation of flag N.
644
645 2000-06-20  Alexandre Oliva  <aoliva@cygnus.com>
646
647         * armemu.h (NEGBRANCH): Do not overwrite the two most significant
648         bits of the offset.
649
650 2000-05-25  Nick Clifton  <nickc@cygnus.com>
651
652         * armcopro.c (MMUMCR): Only indicate mode change if a singal has
653         really changed.
654         (MMUWrite): Only indicate mode change if a singal has really
655         changed.
656
657         * armdefs.h (SYSTEMMODE): Define.
658         (BANK_CAN_ACEESS_SPSR): Define.
659
660         * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
661         to advance before stopping the emulation.
662
663         * arminit.c (ARMul_Reset): Ensure Mode field of State is set
664         correctly.
665
666         * armos.c (ARMul_OSInit): Create a initial stack pointer for
667         System mode.
668
669         * armsupp.c (ModeToBank): Remove unused first parameter.
670         Add support for System Mode.
671         (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
672         (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
673         (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
674         (ARMulSwitchMode): Add support for System Mode.
675
676 Wed May 24 14:40:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
677
678         * configure: Regenerated to track ../common/aclocal.m4 changes.
679
680 2000-05-23  Nick Clifton  <nickc@cygnus.com>
681
682         * wrapper.c (sim_store_register): Special handling for CPSR
683         register.
684
685 2000-03-11  Philip Blundell  <philb@gnu.org>
686
687         * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
688         Patch from Allan Skillman <Allan.Skillman@arm.com>.
689
690 Wed Mar 22 15:24:21 2000  glen mccready  <gkm@pobox.com>
691
692         * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
693
694 2000-02-08  Nick Clifton  <nickc@cygnus.com>
695
696         * wrapper.c: Fix compile time warning messages.
697         * armcopro.c: Fix compile time warning messages.
698         * armdefs.h: Fix compile time warning messages.
699         * armemu.c: Fix compile time warning messages.
700         * armemu.h: Fix compile time warning messages.
701         * armos.c: Fix compile time warning messages.
702         * armsupp.c: Fix compile time warning messages.
703         * armvirt.c: Fix compile time warning messages.
704         * bag.c: Fix compile time warning messages.
705         
706 2000-02-02  Bernd Schmidt  <bernds@cygnus.co.uk>
707
708         * *.[ch]: Use indent to make readable.
709
710 1999-11-22  Nick Clifton  <nickc@cygnus.com>
711
712         * armos.c (SWIread): Generate an error message if a huge read is
713         performed.
714         (SWIwrite): Generate an error message if a huge write is
715         performed.
716
717 1999-10-27  Nick Clifton  <nickc@cygnus.com>
718
719         * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
720         breakpoint. 
721
722 1999-10-08  Ulrich Drepper  <drepper@cygnus.com>
723
724         * armos.c (SWIopen): Always pass third parameter with 0666 since
725         otherwise uninitialized memory gets access if the O_CREAT bit is
726         set and so we possibly cannot access the file afterwards.
727
728 1999-09-29  Doug Evans  <devans@casey.cygnus.com>
729
730         * armos.c (SWIWrite0): Send output to stdout instead of stderr.
731         (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
732
733 Thu Sep  2 18:15:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
734
735         * configure: Regenerated to track ../common/aclocal.m4 changes.
736
737 1999-05-08  Felix Lee  <flee@cygnus.com>
738
739         * configure: Regenerated to track ../common/aclocal.m4 changes.
740         
741 1999-04-06  Keith Seitz  <keiths@cygnus.com>
742
743         * wrapper.c (stop_simulator): New global.
744         (sim_stop): Set sim state to STOP and set
745         stop_simulator.
746         (sim_resume): Reset stop_simulator.
747         (sim_stop_reason): If stop_simulator is set, tell gdb
748         that the we took SIGINT.
749         * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
750         stop_simulator is set.
751
752 1999-04-02  Keith Seitz  <keiths@cygnus.com>
753
754         * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
755         whenever the counter expires.
756         * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
757
758 1999-03-24  Nick Clifton  <nickc@cygnus.com>
759
760         * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
761         * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
762
763 Mon Sep 14 09:00:05 1998  Nick Clifton  <nickc@cygnus.com>
764
765         * wrapper.c (sim_open): Set endianness according to BFD or command
766         line switch.
767
768         * tconfig.in: Define SIM_HAVE_BIENDIAN.
769
770 Thu Aug 27 11:00:05 1998  Nick Clifton  <nickc@cygnus.com>
771
772         * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
773         the same as either RdHi or RdLo.
774
775 Thu Jul  2 10:24:35 1998  Nick Clifton  <nickc@cygnus.com>
776
777         * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
778         Set Reg[0] based on reason for for the exception.
779
780 Thu Jun  4 15:22:03 1998  Jason Molenda  (crash@bugshack.cygnus.com)
781
782         * armos.c (SWIwrite0): New function.
783         (WriteCommandLineTo): New function.
784         (SWIopen): New function.
785         (SWIread): New function.
786         (SWIwrite): New function.
787         (SWIflen): New function.
788         (ARMul_OSHandleSWI): Call new functions instead of handling     
789         these here.
790         (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
791         (*): Reformat spacing to be a bit more GNUly.
792         Most code taken from a patch by Anthony Thompson 
793         (athompso@cambridge.arm.com)
794
795 Tue Jun  2 15:22:22 1998  Nick Clifton  <nickc@cygnus.com>
796
797         * armos.h: Add Angel SWI and its reason codes.
798         * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
799
800 Mon Jun  1 17:14:19 1998  Anthony Thompson (athompso@cambridge.arm.com)
801
802         * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
803         of ":tt" to catch stdin in addition to stdout.
804         (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
805         or success of lseek().
806
807 Wed May 20 17:36:25 1998  Nick Clifton  <nickc@cygnus.com>
808
809         * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
810         to open stdout.
811
812 Wed Apr 29 15:29:55 1998  Jeff Johnston  <jjohnstn@cygnus.com>
813
814         * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
815         SWI_Flen, and SWI_Time.  Also fixed SWI_Seek code to only
816         seek from offset 0 and not to use R2 for whence since it is
817         not passed as part of the SWI call.
818
819 Tue Apr 28 18:33:31 1998  Geoffrey Noer  <noer@cygnus.com>
820
821         * configure: Regenerated to track ../common/aclocal.m4 changes.
822
823 Sun Apr 26 15:31:55 1998  Tom Tromey  <tromey@creche>
824
825         * configure: Regenerated to track ../common/aclocal.m4 changes.
826         * config.in: Ditto.
827
828 Sun Apr 26 15:20:26 1998  Tom Tromey  <tromey@cygnus.com>
829
830         * acconfig.h: New file.
831         * configure.in: Reverted change of Apr 24; use sinclude again.
832
833 Fri Apr 24 14:16:40 1998  Tom Tromey  <tromey@creche>
834
835         * configure: Regenerated to track ../common/aclocal.m4 changes.
836         * config.in: Ditto.
837
838 Fri Apr 24 11:20:19 1998  Tom Tromey  <tromey@cygnus.com>
839
840         * configure.in: Don't call sinclude.
841
842 Sat Apr  4 20:36:25 1998  Andrew Cagney  <cagney@b1.cygnus.com>
843
844         * configure: Regenerated to track ../common/aclocal.m4 changes.
845
846 Fri Mar 27 16:15:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
847
848         * configure: Regenerated to track ../common/aclocal.m4 changes.
849
850 Wed Mar 25 12:35:29 1998  Andrew Cagney  <cagney@b1.cygnus.com>
851
852         * configure: Regenerated to track ../common/aclocal.m4 changes.
853
854 Wed Mar 18 12:38:12 1998  Andrew Cagney  <cagney@b1.cygnus.com>
855
856         * configure: Regenerated to track ../common/aclocal.m4 changes.
857
858 Tue Mar 10 09:26:38 1998  Nick Clifton  <nickc@cygnus.com>
859
860         * armopts.h: Remove definition of LITTLEND - it is not used.
861
862 Tue Feb 17 12:35:54 1998  Andrew Cagney  <cagney@b1.cygnus.com>
863
864         * wrapper.c (sim_store_register, sim_fetch_register): Pass in
865         length parameter. Return -1.
866
867 Sun Feb  1 16:47:51 1998  Andrew Cagney  <cagney@b1.cygnus.com>
868
869         * configure: Regenerated to track ../common/aclocal.m4 changes.
870
871 Sat Jan 31 18:15:41 1998  Andrew Cagney  <cagney@b1.cygnus.com>
872
873         * configure: Regenerated to track ../common/aclocal.m4 changes.
874
875 Mon Jan 19 22:26:29 1998  Doug Evans  <devans@seba>
876
877         * configure: Regenerated to track ../common/aclocal.m4 changes.
878
879 Mon Dec 15 23:17:11 1997  Andrew Cagney  <cagney@b1.cygnus.com>
880
881         * configure: Regenerated to track ../common/aclocal.m4 changes.
882         * config.in: Ditto.
883
884 Tue Dec  9 11:30:48 1997  Nick Clifton  <nickc@cygnus.com>
885
886         * Makefile.in: Updated with changes from branch.
887         * armdefs.h:   ditto
888         * armemu.c:    ditto   these changes
889         * armemu.h:    ditto   add support for
890         * armos.c:     ditto   the Thumb instruction
891         * armsupp.c:   ditto   set and the new v4
892         * armvirt.c:   ditto   architecture.
893         * wrapper.c:   ditto
894         * thumbemu.c:  New file from branch.
895
896
897 Thu Dec  4 09:21:05 1997  Doug Evans  <devans@canuck.cygnus.com>
898
899         * configure: Regenerated to track ../common/aclocal.m4 changes.
900
901 Thu Oct 30 13:54:06 1997  Nick Clifton  <nickc@cygnus.com>
902
903         * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI.  Patch
904         from Tony Thompson at ARM: athompso@arm.com 
905
906         * wrapper.c (sim_create_inferior): Add code to create an execution
907         environment.  Patch from Tony Thompson at ARM: athompso@arm.com
908
909 Wed Oct 22 14:43:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
910
911         * wrapper.c (sim_load): Pass lma_p and sim_write args to
912         sim_load_file.
913
914 Fri Oct  3 09:28:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
915
916         * configure: Regenerated to track ../common/aclocal.m4 changes.
917
918 Wed Sep 24 17:38:57 1997  Andrew Cagney  <cagney@b1.cygnus.com>
919
920         * configure: Regenerated to track ../common/aclocal.m4 changes.
921
922 Tue Sep 23 11:04:38 1997  Andrew Cagney  <cagney@b1.cygnus.com>
923
924         * configure: Regenerated to track ../common/aclocal.m4 changes.
925
926 Mon Sep 22 11:46:20 1997  Andrew Cagney  <cagney@b1.cygnus.com>
927
928         * configure: Regenerated to track ../common/aclocal.m4 changes.
929
930 Fri Sep 19 17:45:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
931
932         * configure: Regenerated to track ../common/aclocal.m4 changes.
933
934 Mon Sep 15 17:36:15 1997  Andrew Cagney  <cagney@b1.cygnus.com>
935
936         * configure: Regenerated to track ../common/aclocal.m4 changes.
937
938 Thu Sep  4 17:21:23 1997  Doug Evans  <dje@seba>
939
940         * configure: Regenerated to track ../common/aclocal.m4 changes.
941
942 Wed Aug 27 18:13:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
943
944         * configure: Regenerated to track ../common/aclocal.m4 changes.
945         * config.in: Ditto.
946
947 Tue Aug 26 10:37:27 1997  Andrew Cagney  <cagney@b1.cygnus.com>
948
949         * wrapper.c (sim_kill): Delete.
950         (sim_create_inferior): Add ABFD argument.
951         (sim_load): Move setting of PC from here.
952         (sim_create_inferior): To here.
953
954 Mon Aug 25 17:50:22 1997  Andrew Cagney  <cagney@b1.cygnus.com>
955
956         * configure: Regenerated to track ../common/aclocal.m4 changes.
957         * config.in: Ditto.
958
959 Mon Aug 25 15:35:45 1997  Andrew Cagney  <cagney@b1.cygnus.com>
960
961         * wrapper.c (sim_open): Add ABFD argument.
962
963 Tue May 20 10:13:26 1997  Andrew Cagney  <cagney@b1.cygnus.com>
964
965         * wrapper.c (sim_open): Add callback argument.
966         (sim_set_callbacks): Drop SIM_DESC argument.
967
968 Thu Apr 24 00:39:51 1997  Doug Evans  <dje@canuck.cygnus.com>
969
970         * configure: Regenerated to track ../common/aclocal.m4 changes.
971
972 Fri Apr 18 13:32:23 1997  Andrew Cagney  <cagney@b1.cygnus.com>
973
974         * wrapper.c (sim_stop): Stub sim_stop function.
975
976 Thu Apr 17 18:33:01 1997  Fred Fish  <fnf@cygnus.com>
977
978         * arminit.c (ARMul_NewState): Preinitialize the state to
979         all zero/NULL.
980
981 Thu Apr 17 02:39:02 1997  Doug Evans  <dje@canuck.cygnus.com>
982
983         * Makefile.in (SIM_OBJS): Add sim-load.o.
984         * wrapper.c (sim_kind,myname): New static locals.
985         (sim_open): Set sim_kind, myname.
986         (sim_load): Call sim_load_file to do work.  Set start address from bfd.
987         (sim_create_inferior): Return SIM_RC.  Delete start_address arg.
988
989 Thu Apr 17 11:48:25 1997  Andrew Cagney  <cagney@b1.cygnus.com>
990
991         * wrapper.c (sim_trace): Update so that it matches prototype.
992
993 Mon Apr  7 15:45:02 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
994
995         * configure: Regenerated to track ../common/aclocal.m4 changes.
996         * config.in: Ditto.
997
998 Mon Apr  7 12:01:17 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
999
1000         * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1001         $(srcdir)/....
1002         (armemu26.o): Ditto.
1003
1004 Wed Apr  2 15:06:28 1997  Doug Evans  <dje@canuck.cygnus.com>
1005
1006         * wrapper.c (sim_open): New arg `kind'.
1007
1008         * configure: Regenerated to track ../common/aclocal.m4 changes.
1009
1010 Wed Apr  2 14:50:44 1997  Ian Lance Taylor  <ian@cygnus.com>
1011
1012         * COPYING: Update FSF address.
1013
1014 Wed Apr  2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1015
1016         * configure: Regenerated to track ../common/aclocal.m4 changes.
1017
1018 Wed Mar 19 01:14:00 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
1019
1020         * configure: Regenerated to track ../common/aclocal.m4 changes.
1021
1022 Mon Mar 17 15:10:07 1997  Andrew Cagney  <cagney@kremvax.cygnus.com>
1023
1024         * configure: Re-generate.
1025
1026 Fri Mar 14 10:34:11 1997  Michael Meissner  <meissner@cygnus.com>
1027
1028         * configure: Regenerate to track ../common/aclocal.m4 changes.
1029
1030 Thu Mar 13 12:38:56 1997  Doug Evans  <dje@canuck.cygnus.com>
1031
1032         * wrapper.c (sim_open): Has result now.
1033         (sim_*): New SIM_DESC argument.
1034
1035 Tue Feb  4 13:22:21 1997  Doug Evans  <dje@canuck.cygnus.com>
1036
1037         * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
1038         COMMON_{PRE,POST}_CONFIG_FRAG instead.
1039         * configure.in: sinclude ../common/aclocal.m4.
1040         * configure: Regenerated.
1041
1042 Thu Jan 23 11:46:23 1997  Stu Grossman  (grossman@critters.cygnus.com)
1043
1044         * configure configure.in Makefile.in:  Update to new configure
1045         scheme which is more compatible with WinGDB builds.
1046         * configure.in:  Improve comment on how to run autoconf.
1047         * configure:  Re-run autoconf to get new ../common/aclocal.m4.
1048         * Makefile.in:  Use autoconf substitution to install common
1049         makefile fragment.
1050
1051 Wed Nov 20 01:05:10 1996  Doug Evans  <dje@canuck.cygnus.com>
1052
1053         * run.c: Deleted, use one in ../common now.
1054         * Makefile.in: Delete everything that's been moved to
1055         ../common/Make-common.in.
1056         (SIM_OBJS): Define.
1057         * configure.in: Simplify using macros in ../common/aclocal.m4.
1058         * configure: Regenerated.
1059         * config.in: New file.
1060         * armos.c: #include config.h.
1061         * wrapper.c (mem_size): Value is in bytes now.
1062         (sim_callback): New global.
1063         (arm_sim_set_profile{,_size}): Delete.
1064         (arm_sim_set_mem_size): Rename to sim_size.
1065         (sim_do_command): Call printf_filtered via callback.
1066         (sim_set_callbacks): Record callback.
1067
1068 Thu Oct  3 16:10:27 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
1069
1070         * Makefile.in (mostlyclean): Remove config.log.
1071
1072 Wed Jun 26 12:17:24 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
1073
1074         * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1075         INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1076         (docdir): Removed.
1077         * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1078         (AC_PROG_INSTALL): Added.
1079         * configure: Rebuilt.
1080
1081 Wed Feb 21 12:14:31 1996  Ian Lance Taylor  <ian@cygnus.com>
1082
1083         * configure: Regenerate with autoconf 2.7.
1084
1085 Fri Dec 15 16:27:30 1995  Ian Lance Taylor  <ian@cygnus.com>
1086
1087         * run.c (main): Use new bfd_big_endian macro.
1088
1089 Mon Nov 20 17:40:38 1995  Doug Evans  <dje@canuck.cygnus.com>
1090
1091         * run.c: Include "getopt.h".
1092         (verbose): Delete.
1093         (usage): Make static.
1094         (main): Call arm_sim_set_verbosity.
1095         Only load sections marked SEC_LOAD.
1096         * wrapper.c (mem_size, verbosity): New static global.
1097         (arm_sim_set_mem_size): Renamed from sim_size.  Callers updated.
1098         (arm_sim_set_profile{,_size}): Renamed from sim_foo.  Callers updated.
1099         
1100 Fri Nov 17 19:35:11 1995  Doug Evans  <dje@canuck.cygnus.com>
1101
1102         * armdefs.h (ARMul_State): New member `verbose'.
1103         * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
1104         * run.c (verbose): Make global.
1105         * wrapper.c (init): Set state->verbose.
1106         (ARMul_ConsolePrint): Don't print anything if !verbose.
1107
1108 Fri Oct 13 15:30:30 1995  Doug Evans  <dje@canuck.cygnus.com>
1109
1110         * armos.c: #include dbg_rdi.h.
1111         (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
1112         * armos.h (SWI_Breakpoint): Define.
1113         * wrapper.c: #include armemu.h, dbg_rdi.h.
1114         (rc): Delete.
1115         (sim_resume): Use state->EndCondition to record stop state.
1116         Call FLUSHPIPE before returning.
1117         (sim_stop_reason): Determine reason from state->EndCondition.
1118
1119 Fri Oct 13 15:04:05 1995  steve chamberlain  <sac@slash.cygnus.com>
1120
1121         * wrapper.c (sim_set_callbacks): New.
1122
1123 Thu Sep 28 19:45:56 1995  Doug Evans  <dje@deneb.cygnus.com>
1124
1125         * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
1126         number of bytes not read/written (or -1).
1127
1128 Wed Sep 20 13:35:54 1995  Ian Lance Taylor  <ian@cygnus.com>
1129
1130         * Makefile.in (maintainer-clean): New synonym for realclean.
1131
1132 Fri Sep  8 14:27:20 1995  Ian Lance Taylor  <ian@cygnus.com>
1133
1134         * configure.in: Remove AC_PROG_INSTALL.
1135         * configure: Rebuild.
1136         * Makefile.in (INSTALL): Revert to using install.sh.
1137         (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
1138         (INSTALL_XFORM, INSTALL_XFORM1): Restore.
1139         (mostlyclean): Make the same as clean, not distclean.
1140         (clean): Remove config.log.
1141         (install): Don't install in $(tooldir).
1142
1143 Thu Sep  7 12:00:17 1995  Doug Evans  <dje@canuck.cygnus.com>
1144
1145         (Try to) Update to new bfd autoconf scheme.
1146         * run.c: Don't include sysdep.h.
1147         * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
1148         (CC, CFLAGS, AR, RANLIB): Likewise.
1149         (HDEFINES, TDEFINES): Define.
1150         (CC_FOR_BUILD): Delete.
1151         (host_makefile_frag): Delete.
1152         (Makefile): Don't depend on frags.
1153         * configure.in (sysdep.h): Don't create symlink.
1154         (host_makefile_frag, frags): Deleted.
1155         (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
1156         * configure: Regenerated.
1157
1158 Thu Aug  3 10:45:37 1995  Fred Fish  <fnf@cygnus.com>
1159
1160         * Update all FSF addresses except those in COPYING* files.
1161
1162 Wed Jul  5 16:15:54 1995  J.T. Conklin  <jtc@rtl.cygnus.com>
1163
1164         * Makefile.in (clean): Remove run, libsim.a.
1165
1166         * Makefile.in, configure.in: converted to autoconf.
1167         * configure: New file, generated with autconf 2.4.
1168
1169         * arm.mt: Removed.
1170
1171 Fri Jun 30 16:49:47 1995  Stan Shebs  <shebs@andros.cygnus.com>
1172
1173         * wrapper.c (sim_do_command): New function.
1174
1175 Tue Jun 13 10:57:32 1995  Steve Chamberlain  <sac@slash.cygnus.com>
1176
1177         * armos.c (ARMul_OSHandleSWI): New version to work with
1178         newlib simply.
1179
1180 Thu Jun  8 14:37:14 1995  Steve Chamberlain  <sac@slash.cygnus.com>
1181
1182         * run.c (main): Grab return value from right register.
1183
1184 Wed May 24 14:37:31 1995  Steve Chamberlain  <sac@slash.cygnus.com>
1185
1186         * New.
1187
1188