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