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