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