OSDN Git Service

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