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