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