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