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