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