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