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