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