]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/arm/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / sim / arm / ChangeLog
CommitLineData
df68e12b
MF
12021-05-14 Mike Frysinger <vapier@gentoo.org>
2
3 * armos.c: Update include path.
4 * wrapper.c: Likewise.
5
aa0fca16
MF
62021-05-04 Mike Frysinger <vapier@gentoo.org>
7
8 * configure: Regenerate.
9
f08708cb
SM
102021-05-03 Simon Marchi <simon.marchi@polymtl.ca>
11
12 * armdefs.h (ARMul_ConsolePrint): Use format attribute.
13 * wrapper.c (op_printf): Likewise.
14
fe348617
MF
152021-05-01 Mike Frysinger <vapier@gentoo.org>
16
17 * config.in, configure: Regenerate.
18
163cb761
MF
192021-05-01 Mike Frysinger <vapier@gentoo.org>
20
21 * Makefile.in (SIM_OBJS): Change armemu26.o to armemu.o.
22 (armemu26.o, armemu32.o): Delete targets.
23 * armemu32.c: New file.
24
66d055c7
MF
252021-04-26 Mike Frysinger <vapier@gentoo.org>
26
27 * aclocal.m4, config.in, configure: Regenerate.
28
f6b9562f
NC
292021-04-26 Nick Clifton <nickc@redhat.com>
30
31 PR 22790
32 * armemu.c (Handle_Store_Double): Allow 4 byte alignment when
33 running in v6 mode.
34
19f6a43c
TT
352021-04-22 Tom Tromey <tom@tromey.com>
36
37 * configure, config.in: Rebuild.
38
e7d8f1da
TT
392021-04-22 Tom Tromey <tom@tromey.com>
40
41 * Makefile.in (armemu26.o, armemu32.o): Use COMPILE and
42 POSTCOMPILE.
43
efd82ac7
TT
442021-04-22 Tom Tromey <tom@tromey.com>
45
46 * configure: Rebuild.
47
2662c237
MF
482021-04-21 Mike Frysinger <vapier@gentoo.org>
49
50 * aclocal.m4: Regenerate.
51
1f195bc3
SM
522021-04-21 Simon Marchi <simon.marchi@polymtl.ca>
53
54 * configure: Regenerate.
55
37e9f182
MF
562021-04-18 Mike Frysinger <vapier@gentoo.org>
57
58 * configure: Regenerate.
59
d5a71b11
MF
602021-04-12 Mike Frysinger <vapier@gentoo.org>
61
62 * wrapper.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
63
c2783492
MF
642021-04-02 Mike Frysinger <vapier@gentoo.org>
65
66 * aclocal.m4, configure: Regenerate.
67
ebe9564b
MF
682021-02-28 Mike Frysinger <vapier@gentoo.org>
69
70 * configure: Regenerate.
71
760b3e8b
MF
722021-02-21 Mike Frysinger <vapier@gentoo.org>
73
74 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
75 * aclocal.m4, configure: Regenerate.
76
136da8cd
MF
772021-02-13 Mike Frysinger <vapier@gentoo.org>
78
79 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
80 * aclocal.m4, configure: Regenerate.
81
aa09469f
MF
822021-02-06 Mike Frysinger <vapier@gentoo.org>
83
84 * configure: Regenerate.
85
68ed2854
MF
862021-01-11 Mike Frysinger <vapier@gentoo.org>
87
88 * config.in, configure: Regenerate.
89
bf470982
MF
902021-01-09 Mike Frysinger <vapier@gentoo.org>
91
92 * configure: Regenerate.
93
46f900c0
MF
942021-01-08 Mike Frysinger <vapier@gentoo.org>
95
96 * configure: Regenerate.
97
3d52735b
MF
982021-01-04 Mike Frysinger <vapier@gentoo.org>
99
100 * wrapper.c: Include stdlib.h.
101
9416af6e
MF
1022021-01-04 Mike Frysinger <vapier@gentoo.org>
103
104 * iwmmxt.c: Include stdlib.h.
105
dfb856ba
MF
1062021-01-04 Mike Frysinger <vapier@gentoo.org>
107
108 * configure: Regenerate.
109
9f132af9
JB
1102020-12-15 Nick Clifton <nickc@redhat.com>
111
112 * wrapper.c (sim_create_inferior): Accept some more ARM machine numbers.
113
1142020-12-15 Jens Bauer <jens@plustv.dk>
115
116 * armemu.c (handle_v6_insn): Add support for SDIV and UDIV.
117 * thumbemu.c (handle_T2_insn): Likewise.
118
63aa0ac0
AB
1192020-10-20 Dr. David Alan Gilbert <dgilbert@redhat.com>
120
121 * armos.c (SWIread): Fix printf format.
122
a5353ae6
LM
1232020-08-13 Luis Machado <luis.machado@linaro.org>
124
125 PR sim/26365
126
127 * wrapper.c (sim_target_parse_command_line): Free discarded argv
128 entries.
129 (sim_open): Use a duplicate of argv instead of the original argv.
130
07f1f3aa
CB
1312020-01-17 Christian Biesinger <cbiesinger@google.com>
132
133 * iwmmxt.c: Fix spelling error (seperate).
134
851c0536
LM
1352019-12-06 Luis Machado <luis.machado@linaro.org>
136
137 * armemu.c (isize): Move this declaration ...
138 * arminit.c (isize): ... here.
139 * maverick.h: New file.
140 * wrapper.c: Include "maverick.h".
141 (<struct maverick_regs>, <union maverick_acc_regs>): Remove and update
142 comment.
143 (sim_create_inferior): Cast variables to proper type.
144 * maverick.c: Include "maverick.h".
145 (<struct maverick_regs>, <union maverick_acc_regs>): Move
146 declarations to maverick.h and update comment.
147 (DSPsc, DSPacc, DSPregs): Adjust comment.
148
43724d16
NC
1492018-01-02 Nick Clifton <nickc@redhat.com>
150
151 PR 22663
152 * maverick.c (DSPCDP4): Add missing parameter to debug print
153 statement.
154
88240b18
YQ
1552017-09-21 Yao Qi <yao.qi@linaro.org>
156
157 * wrapper.c (print_insn): Use disassembler instead of
158 print_insn_little_arm.
159
5c887dd5
JB
1602017-09-06 John Baldwin <jhb@FreeBSD.org>
161
162 * configure: Regenerate.
163
13a590ca
MF
1642017-02-13 Mike Frysinger <vapier@gentoo.org>
165
166 * armos.c: Include libiberty.h.
167 (SWIopen): Use ARRAY_SIZE.
168 * armsupp.c: Include libiberty.h.
169 (ModeToBank): Use ARRAY_SIZE.
170 * wrapper.c (sim_target_parse_command_line): Likewise.
171
7df94786
NC
1722016-07-14 Nick Clifton <nickc@redhat.com>
173
174 * armemu.c (Multiply64): Only issue error messages about invalid
175 arguments if debugging is enabled.
176 * armos.c (ARMul_OSHandleSWI): Ignore invalid flags.
177
ce39bd38
MF
1782016-01-10 Mike Frysinger <vapier@gentoo.org>
179
180 * config.in, configure: Regenerate.
181
e19418e0
MF
1822016-01-10 Mike Frysinger <vapier@gentoo.org>
183
184 * configure: Regenerate.
185
16f7876d
MF
1862016-01-10 Mike Frysinger <vapier@gentoo.org>
187
188 * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
189 * configure: Regenerate.
190
99d8e879
MF
1912016-01-10 Mike Frysinger <vapier@gentoo.org>
192
193 * configure: Regenerate.
194
35656e95
MF
1952016-01-10 Mike Frysinger <vapier@gentoo.org>
196
197 * configure: Regenerate.
198
347fe5bb
MF
1992016-01-10 Mike Frysinger <vapier@gentoo.org>
200
201 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
202 * configure: Regenerate.
203
22be3fbe
MF
2042016-01-10 Mike Frysinger <vapier@gentoo.org>
205
206 * configure: Regenerate.
207
0dc73ef7
MF
2082016-01-10 Mike Frysinger <vapier@gentoo.org>
209
210 * configure: Regenerate.
211
936df756
MF
2122016-01-09 Mike Frysinger <vapier@gentoo.org>
213
214 * config.in, configure: Regenerate.
215
2e3d4f4d
MF
2162016-01-06 Mike Frysinger <vapier@gentoo.org>
217
218 * wrapper.c (sim_create_inferior): Mark argv and env const.
219 (sim_open): Mark argv const.
220
9bbf6f91
MF
2212016-01-04 Mike Frysinger <vapier@gentoo.org>
222
223 * configure: Regenerate.
224
77cf2ef5
MF
2252016-01-03 Mike Frysinger <vapier@gentoo.org>
226
227 * wrapper.c (sim_open): Update sim_parse_args comment.
228
34fed699
MF
2292016-01-03 Mike Frysinger <vapier@gentoo.org>
230
231 * wrapper.c (sim_target_parse_arg_array): Replace for loop with
232 a call to countargv.
233
0cb8d851
MF
2342016-01-03 Mike Frysinger <vapier@gentoo.org>
235
236 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
237 * configure: Regenerate.
238
1ac72f06
MF
2392016-01-02 Mike Frysinger <vapier@gentoo.org>
240
241 * configure: Regenerate.
242 * wrapper.c (init): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
243
e1211e55
MF
2442015-12-30 Mike Frysinger <vapier@gentoo.org>
245
246 * wrapper.c (sim_store_register): Rename to ...
247 (arm_reg_store): ... this.
248 (sim_fetch_register): Rename to ...
249 (arm_reg_fetch): ... this.
250 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
251
5e744ef8
MF
2522015-12-27 Mike Frysinger <vapier@gentoo.org>
253
254 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
255
1b393626
MF
2562015-12-26 Mike Frysinger <vapier@gentoo.org>
257
258 * config.in, configure: Regenerate.
259
91d6df78
MF
2602015-12-25 Mike Frysinger <vapier@gentoo.org>
261
262 * Makefile.in (SIM_OBJS): Delete bag.o.
263 * armdefs.h (struct ARMul_State): Delete ErrorCode.
264 (ResetPin, FIQPin, IRQPin, AbortPin, TransPin, BigEndPin, Prog32Pin,
265 Data32Pin, LateAbortPin, ARMul_OSExit, ARMul_OSLastErrorP,
266 ARMul_Debug, ARMul_OSException,rdi_log, SpinCursor, HOURGLASS,
267 HOURGLASS_RATE): Delete.
268 * armemu.c (ARMul_Emulate26): Delete ARMul_Debug call.
269 * arminit.c (ARMul_Reset): Do not set state->ErrorCode.
270 (ARMul_Abort): Delete ARMul_OSException call.
271 * armopts.h: Delete file.
272 * armos.c (isatty_, ARMul_OSExit, ARMul_OSException,
273 ARMul_OSLastErrorP, ARMul_Debug, BUFFERSIZE, UNIQUETEMPS, NOOP,
274 BINARY, READOP, WRITEOP, FIXCRLF): Delete.
275 (struct OSblock): Delete Time0, ErrorP, FileTable, FileFlags, and
276 tempnames.
277 (ARMul_OSInit): Do not set OSptr->ErrorP, OSptr->FileTable, or
278 OSptr->tempnames.
279 * armrdi.c: Delete file.
280 * armvirt.c: Delete armopts.h include.
281 (ARMul_LoadInstrS): Delete HOURGLASS logic.
282 * bag.c, bag.h, communicate.c, communicate.h, dbg_conf.h, dbg_cp.h,
283 dbg_hif.h: Delete files.
284 * dbg_rdi.h (RDP_*, RDI*): Delete defines.
285 (PointHandle, ThreadHandle, Dbg_ConfigBlock, Dbg_HostosInterface,
286 Dbg_MCState, getbufferproc): Delete.
287 (rdi_*): Delete Functions.
288 (RDI_ConfigAspect, RDI_ConfigMatchType, RDI_NameList): Delete
289 (struct RDIProcVec): Delete.
290 * gdbhost.c, gdbhost.h, kid.c, main.c, parent.c: Delete files.
291 * wrapper.c (ARMul_Debug): Delete.
292
1d19cae7
DV
2932015-12-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
294
295 * thumbemu.c (handle_T2_insn): Fix left shift of negative value.
296 * armemu.c (handle_v6_insn): Likewise.
297
6e4f085c
MF
2982015-11-14 Mike Frysinger <vapier@gentoo.org>
299
300 * wrapper.c (sim_close): Delete.
301
454de2ee
NC
3022015-07-14 Nick Clifton <nickc@redhat.com>
303
304 * armcopro.c: Remove extraneous whitespace.
305 * armdefs.h: Likewise.
306 * armfpe.h: Likewise.
307 * arminit.c: Likewise.
308 * armopts.h: Likewise.
309 * armos.c: Likewise.
310 * armos.h: Likewise.
311 * armrdi.c: Likewise.
312 * armsupp.c: Likewise.
313 * armvirt.c: Likewise.
314 * bag.c: Likewise.
315 * bag.h: Likewise.
316 * communicate.c: Likewise.
317 * communicate.h: Likewise.
318 * dbg_conf.h: Likewise.
319 * dbg_cp.h: Likewise.
320 * dbg_hif.h: Likewise.
321 * dbg_rdi.h: Likewise.
322 * gdbhost.c: Likewise.
323 * gdbhost.h: Likewise.
324 * iwmmxt.c: Likewise.
325 * iwmmxt.h: Likewise.
326 * kid.c: Likewise.
327 * main.c: Likewise.
328 * maverick.c: Likewise.
329 * parent.c: Likewise.
330 * thumbemu.c: Likewise.
331 * wrapper.c: Likewise.
332
db49d3d0
NC
3332015-07-02 Nick Clifton <nickc@redhat.com>
334
335 * Makefile.in (SIM_EXTRA_CFLAGS): Revert previous delta.
336 (SIM_EXTRA_LIBS): Add -lm.
337
73cb0348
NC
3382015-06-28 Nick Clifton <nickc@redhat.com>
339
340 * Makefile.in (SIM_EXTRA_CFLAGS): Add -lm.
341 * armdefs.h (ARMdval, ARMfval): New types.
342 (ARM_VFP_reg): New union.
343 (struct ARMul_State): Add VFP_Reg and FPSCR fields.
344 (VFP_fval, VFP_uword, VFP_sword, VFP_dval, VFP_dword): Accessor
345 macros for the new VFP_Reg field.
346 * armemu.c (handle_v6_insn): Add code to handle MOVW, MOVT,
347 QADD16, QASX, QSAX, QSUB16, QADD8, QSUB8, UADD16, USUB16, UADD8,
348 USUB8, SEL, REV, REV16, RBIT, BFC, BFI, SBFX and UBFX
349 instructions.
350 (handle_VFP_move): New function.
351 (ARMul_Emulate16): Add checks for newly supported v6
352 instructions. Add support for VMRS, VMOV and MRC instructions.
353 (Multiply64): Allow nRdHi == nRm and/or nRdLo == nRm when
354 operating in v6 mode.
355 * armemu.h (t_resolved): Define.
356 * armsupp.c: Include math.h.
357 (handle_VFP_xfer): New function. Handles VMOV, VSTM, VSTR, VPUSH,
358 VSTM, VLDM and VPOP instructions.
359 (ARMul_LDC): Test for co-processor 10 or 11 and pass call to the
360 new handle_VFP_xfer function.
361 (ARMul_STC): Likewise.
362 (handle_VFP_op): New function. Handles VMLA, VMLS, VNMLA, VNMLS,
363 VNMUL, VMUL, VADD, VSUB, VDIV, VMOV, VABS, VNEG, VSQRT, VCMP,
364 VCMPE and VCVT instructions.
365 (ARMul_CDP): Test for co-processor 10 or 11 and pass call to the
366 new handle_VFP_op function.
367 * thumbemu.c (tBIT, tBITS, ntBIT, ntBITS): New macros.
368 (test_cond): New function. Tests a condition and returns non-zero
369 if the condition has been met.
370 (handle_IT_block): New function.
371 (in_IT_block): New function.
372 (IT_block_allow): New function.
373 (ThumbExpandImm): New function.
374 (handle_T2_insn): New function. Handles T2 thumb instructions.
375 (handle_v6_thumb_insn): Add next_instr and pc parameters.
376 (ARMul_ThumbDecode): Add support for IT blocks. Add support for
377 v6 instructions.
378 * wrapper.c (sim_create_inferior): Detect a thumb address and call
379 SETT appropriately.
380
8d0978fb
MF
3812015-06-23 Mike Frysinger <vapier@gentoo.org>
382
383 * configure: Regenerate.
384
b50a1532
MF
3852015-06-23 Mike Frysinger <vapier@gentoo.org>
386
387 * armdefs.h: Always include stdint.h.
388 [!__STDC__]: Delete.
389 [!HAVE_STDINT_H]: Delete.
390 * dbg_hif.h [!__STDC__]: Delete.
391
a3487082
MF
3922015-06-12 Mike Frysinger <vapier@gentoo.org>
393
394 * configure: Regenerate.
395
306f4178
MF
3962015-06-12 Mike Frysinger <vapier@gentoo.org>
397
398 * configure: Regenerate.
399
20bca71d
MF
4002015-04-18 Mike Frysinger <vapier@gentoo.org>
401
402 * sim-main.h (SIM_CPU): Delete.
403
7e83aa92
MF
4042015-04-18 Mike Frysinger <vapier@gentoo.org>
405
406 * sim-main.h (sim_cia): Delete.
407
034685f9
MF
4082015-04-17 Mike Frysinger <vapier@gentoo.org>
409
410 * sim-main.h (CIA_GET, CIA_SET): Delete.
411
27b97b40
MF
4122015-04-17 Mike Frysinger <vapier@gentoo.org>
413
414 * wrapper.c (arm_pc_get, arm_pc_set): New functions.
415 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
416 CPU_PC_STORE for all cpus.
417
78e9aa70
MF
4182015-04-15 Mike Frysinger <vapier@gentoo.org>
419
420 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
421 * sim-main.h (STATE_CPU): Delete.
422
bf12d44e
MF
4232015-04-13 Mike Frysinger <vapier@gentoo.org>
424
425 * configure: Regenerate.
426
e787f858
MF
4272015-04-12 Mike Frysinger <vapier@gentoo.org>
428
429 * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list.
430
122bbfb5
MF
4312015-04-06 Mike Frysinger <vapier@gentoo.org>
432
433 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
434
0fe84f3f
MF
4352015-04-01 Mike Frysinger <vapier@gentoo.org>
436
437 * Makefile.in (armos.o, armcopro.o, maverick.o, iwmmxt.o, arminit.o,
438 armrdi.o, armsupp.o, thumbemu.o, bag.o, wrapper.o): Delete rules.
439 * tconfig.h: Delete file.
440
aadc9410
MF
4412015-03-31 Mike Frysinger <vapier@gentoo.org>
442
443 * config.in, configure: Regenerate.
444
49d62f89
MF
4452015-03-30 Mike Frysinger <vapier@gentoo.org>
446
447 * Makefile.in (SIM_RUN_OBJS): Delete.
448 (SIM_EXTRA_CFLAGS): Delete -DSIM_TARGET_SWITCHES and
449 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
450 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
451 * sim-main.h: New file.
452 * wrapper.c: Delete armdefs.h, sim-utils.h, and run-sim.h includes.
453 Add sim-main.h and sim-options.h includes.
454 (sim_callback, mem_size, trace): Add TODO comments.
455 (state): Delete static and add TODO comment.
456 (sim_kind, myname, big_endian): Delete.
457 (init): Change big_endian to CURRENT_TARGET_BYTE_ORDER check.
458 (sim_size, sim_trace, sim_info, sim_target_display_usage, sim_load,
459 sim_do_command, sim_set_callbacks, sim_complete_command): Delete.
460 (sim_target_parse_command_line): Mark static.
461 (free_state): New function.
462 (sim_open): Rewrite to use new common logic.
463 (sim_close): Delete body.
464
dbf8e8af
MF
4652015-03-30 Mike Frysinger <vapier@gentoo.org>
466
467 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
468 * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
469 ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
470 (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
471
58b991b1
MF
4722015-03-30 Mike Frysinger <vapier@gentoo.org>
473
474 * armemu.c [MODE32] (handle_v6_insn): Move definition.
475 (ARMul_Emulate26): Initialize do_int after label target.
476 * armemu.h (UNDEF_Test, UNDEF_Shift, UNDEF_MSRPC, UNDEF_MRSPC,
477 UNDEF_MULPCDest, UNDEF_MULDestEQOp1, UNDEF_LSRBPC,
478 UNDEF_LSRBaseEQOffWb, UNDEF_LSRBaseEQDestWb, UNDEF_LSRPCBaseWb,
479 UNDEF_LSRPCOffWb, UNDEF_LSMNoRegs, UNDEF_LSMPCBase,
480 UNDEF_LSMUserBankWb, UNDEF_LSMBaseInListWb, UNDEF_SWPPC,
481 UNDEF_CoProHS, UNDEF_MCRPC, UNDEF_LSCPCBaseWb,
482 UNDEF_UndefNotBounced, UNDEF_ShortInt, UNDEF_IllegalMode,
483 UNDEF_Prog32SigChange, UNDEF_Data32SigChange): Define to while(0).
484 * armsupp.c (ARMul_Align): Convert old style prototype.
485 * bag.c (addtolist, killwholelist): Mark static.
486 (BAG_newbag): Convert old style prototype.
487 * maverick.c (mv_compute_host_endianness): Delete.
488 * wrapper.c (verbosity, sim_set_verbose): Delete.
489 (init): Set state->verbose to 0.
490
c4c9c44f
MF
4912015-03-30 Mike Frysinger <vapier@gentoo.org>
492
493 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
494 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
495 SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
496 * config.in, configure: Regenerate.
497
457983e3
MF
4982015-03-30 Mike Frysinger <vapier@gentoo.org>
499
500 * Makefile.in (COPRO): Delete.
501 (SIM_OBJS): Expand COPRO.
502 * configure.ac: Deletd stdint.h check.
503 (COPRO): Delete.
504 * configure: Regenerate.
505
ae7d0cac
MF
5062015-03-16 Mike Frysinger <vapier@gentoo.org>
507
508 * config.in, configure: Regenerate.
509 * tconfig.in: Rename file ...
510 * tconfig.h: ... here.
511
465fb143
MF
5122015-03-14 Mike Frysinger <vapier@gentoo.org>
513
514 * Makefile.in (SIM_EXTRA_CFLAGS): Add
515 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
516 (SIM_RUN_OBJS): Set to run.o.
517
5cddc23a
MF
5182015-03-14 Mike Frysinger <vapier@gentoo.org>
519
520 * configure.ac (AC_CHECK_HEADERS): Delete unistd.h.
521 * aclocal.m4, configure: Regenerate.
522
2974be62
AM
5232014-08-19 Alan Modra <amodra@gmail.com>
524
525 * configure: Regenerate.
526
faa743bb
RM
5272014-08-15 Roland McGrath <mcgrathr@google.com>
528
529 * configure: Regenerate.
530 * config.in: Regenerate.
531
1d63324c
NC
5322014-03-18 Nick Clifton <nickc@redhat.com>
533
534 * wrapper.c: Convert function declarations to ISO C format.
535 (sim_open): Delete code for handling t,d and z command line
536 options.
537
8d052926
NC
5382014-03-14 Nick Clifton <nickc@redhat.com>
539
540 * wrapper.c (op_print): New function.
541 (sim_dis_read): New function.
542 (print_insn): New function - disassembles the given instruction.
543 (sim_trace): Note that tracing is now allowed.
544 (sim_create_inferior): Default to emulating v6.
545 Initialise the disassembler machinery.
546 (sim_target_parse_command_line): Add support for -t -d and -z
547 options.
548 (sim_target_display_usage): Note existence of -d and -z options.
549 (sim_open): Parse -t -d and -z options.
550 * armemu.h: Add exports of trace, disas and trace_funcs.
551 Add prototype for print_insn.
552 * armemu.c (ARMul_Emulate26): Add tracing code.
553 Delete unused variables.
554 * thumbemu (handle_v6_thumb_insn): Delete unused variable Rd.
555 Move Rm variable into switch cases.
556 Add tracing code.
557
558 * armcopro.c (XScale_cp15_init): Add a return value.
559 (XScale_cp13_init): Likewise.
560 (XScale_cp14_init): Likewise.
561 (XScale_cp15_LDC): Delete unused function.
562 (XScale_cp15_STC): Likewise.
563 * maverick.c: Delete comment inside comment.
564 (DSPInit): Delete unused function.
565 (DSPMCR4): Fix compile time warning about missing parenthesis.
566 (DSPMCR5): Likewise.
567 (DSPCDP6): Delete unused variable opcode2.
568
b9366cf3
DM
5692014-03-14 David McQuillan <dmcq@tao-group.com>
570
571 PR sim/8388
572 * armemu.c (WriteR15Load): New function. Determines if the state
573 can be changed upon a write to R15.
574 (LoadMult): Use WriteR15Load.
575 * armemu.h (WRITEDESTB): Use WriteR15Load.
576
60d847df
MF
5772014-03-10 Mike Frysinger <vapier@gentoo.org>
578
579 * wrapper.c (sim_do_command): Add const to cmd.
580
b2b255bd
MF
5812014-03-05 Mike Frysinger <vapier@gentoo.org>
582
583 * wrapper.c (sim_load): Add const to prog.
584
bf3d9781
AM
5852013-09-23 Alan Modra <amodra@gmail.com>
586
587 * configure: Regenerate.
588
31e6ad7d
MF
5892013-06-03 Mike Frysinger <vapier@gentoo.org>
590
591 * aclocal.m4, configure: Regenerate.
592
590919de
MF
5932013-05-07 Jayant Sonar <jayant.sonar@kpitcummins.com>
594 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
595
596 * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT.
597
19a3671c
JB
5982012-12-19 Joel Brobecker <brobecker@adacore.com>
599
600 * COPYING: Update to GPL version 3.
601
f253d86d
NC
6022012-09-03 Nick Clifton <nickc@redhat.com>
603
604 PR sim/14540
605 * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction
606 is denied.
607
9256caa6
KB
6082012-08-01 Kevin Buettner <kevinb@redhat.com>
609
610 * wrapper.c (libiberty.h): Include.
611 (sim_store_register, sim_fetch_register): On success, return
612 length, instead of -1.
613
5f3ef9d0
JB
6142012-06-15 Joel Brobecker <brobecker@adacore.com>
615
616 * config.in, configure: Regenerate.
617
b0f05691
NC
6182012-06-13 Nick Clifton <nickc@redhat.com>
619
620 * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
621 binaries (for now).
622
a493e3e2
PA
6232012-05-24 Pedro Alves <palves@redhat.com>
624
625 PR gdb/7205
626
72f4393d 627 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
a493e3e2 628
a6ff997c
NC
6292012-05-18 Nick Clifton <nickc@redhat.com>
630
631 PR 14072
632 * wrapper.c: Include config.h before system header files.
633
2232061b
MF
6342012-03-24 Mike Frysinger <vapier@gentoo.org>
635
636 * aclocal.m4, config.in, configure: Regenerate.
637
db2e4d67
MF
6382011-12-03 Mike Frysinger <vapier@gentoo.org>
639
640 * aclocal.m4: New file.
641 * configure: Regenerate.
642
9c082ca8
MF
6432011-10-17 Mike Frysinger <vapier@gentoo.org>
644
645 * configure.ac: Change include to common/acinclude.m4.
646
6ffe910a
MF
6472011-10-17 Mike Frysinger <vapier@gentoo.org>
648
649 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
650 call. Replace common.m4 include with SIM_AC_COMMON.
651 * configure: Regenerate.
652
161fc452
NC
6532011-07-01 Nick Clifton <nickc@redhat.com>
654
655 PR sim/12737
656 * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a
657 signed compare.
658 (WMAC): Extend computed result before adding to result register.
659 (WRSA): Sign extend 32-bit values before shifting.
660
af9f7da7
MF
6612011-04-16 Mike Frysinger <vapier@gentoo.org>
662
663 * wrapper.c (sim_complete_command): New stub function.
664
363a6e9f
OS
6652010-05-26 Ozkan Sezer <sezeroz@gmail.com>
666
667 * communicate.c (MYread_char): Check error return from accept() call
668 by its equality to -1 not by it being negative.
669 (MYread_charwait): Likewise.
670 * main.c (main): Likewise for both socket() and accept() calls.
671
5558e7e6
MF
6722010-04-14 Mike Frysinger <vapier@gentoo.org>
673
674 * wrapper.c (sim_write): Add const to buffer arg.
675
3725885a
RW
6762010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
677
678 * configure: Regenerate.
679
d6416cdc
RW
6802009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
681
81ecdfbb
RW
682 * config.in: Regenerate.
683 * configure: Likewise.
684
d6416cdc
RW
685 * configure: Regenerate.
686
a85c0b49
JS
6872008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
688
689 * arminit.c, iwmmxt.c: Include <string.h> to
690 eliminate warning.
b5bd9624
HPN
6912008-07-11 Hans-Peter Nilsson <hp@axis.com>
692
693 * configure: Regenerate to track ../common/common.m4 changes.
694 * config.in: Ditto.
695
6efef468 6962008-06-06 Vladimir Prus <vladimir@codesourcery.com>
72f4393d
L
697 Daniel Jacobowitz <dan@codesourcery.com>
698 Joseph Myers <joseph@codesourcery.com>
6efef468
JM
699
700 * configure: Regenerate.
701 * wrapper.c (sim_target_display_usage): Add help parameter.
702
e1c9b6f1
MM
7032007-02-27 Mark Mitchell <mark@codesourcery.com>
704
705 * armos.c (SWIflen): Do not treate file descriptor zero as
706 special.
707
1306df90
NC
7082007-02-15 Nick Clifton <nickc@redhat.com>
709
710 * armemu.c (handle_v6_insn): Fix typo in sign extension test of
711 the sext and sxtah instructions.
712
8944021f
DJ
7132007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
714
715 Reported by timeless@gmail.com:
716 * wrapper.c (sim_target_parse_arg_array): Do not return void value.
717
edc5d9ec
HPN
7182006-12-21 Hans-Peter Nilsson <hp@axis.com>
719
720 * acconfig.h: Remove.
721 * config.in: Regenerate.
722
e85e3205
RE
7232006-06-13 Richard Earnshaw <rearnsha@arm.com>
724
725 * configure: Regenerated.
726
2f0122dc
DJ
7272006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
728
729 * configure: Regenerated.
730
20e95c23
DJ
7312006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
732
733 * configure: Regenerated.
734
4b1d9c58
PB
7352006-03-07 Paul Brook <paul@codesourcery.com>
736
737 * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
738
eeea4660
DJ
7392006-02-01 Shaun Jackman <sjackman@gmail.com>
740
741 * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
742 call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
743
aba6488e
MM
7442005-11-23 Mark Mitchell <mark@codesourcery.com>
745
746 * wrapper.c (gdb/signals.h): Include it.
747 (SIGTRAP): Don't define.
748 (SIGBUS): Likewise.
749 (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
750
2be701a3
DJ
7512005-11-16 Shaun Jackman <sjackman@gmail.com>
752
eeea4660 753 * armos.c: Include limits.h
2be701a3
DJ
754 (unlink): Remove this macro. It is unused in this file and
755 conflicts with sim_callback->unlink.
756 (PATH_MAX): Define as 1024 if not already defined.
757 (ReadFileName): New function.
758 (SWIopen): Fix a potential buffer overflow.
759 (SWIremove): New function.
760 (SWIrename): Ditto.
761 (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
762 SWI_Remove, and SWI_Rename, as well as the RDI calls
763 AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
764 AngelSWI_Reason_Rename.
765
c4793bac
PB
7662005-09-19 Paul Brook <paul@codesourcery.com>
767
768 * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
769 available.
770 * armemu.c: Use them.
771 * armvirt.c (ARMul_MemoryInit): Use correct type for size.
772 * configure.ac: Check for stdint.h.
773 * config.in: Regenerate.
774 * configure: Regenerate.
775
546aee7a
NC
7762005-05-24 Nick Clifton <nickc@redhat.com>
777
778 * thumbemu.c (handle_v6_thumb_insn): New function.
779 (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
780 instruction binary is encountered.
781
380d9419
NC
7822005-05-12 Nick Clifton <nickc@redhat.com>
783
784 * Update the address and phone number of the FSF organization in
785 the GPL notices in the following files:
786 COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
787 armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
788 armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
789 communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
790 gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
791 maverick.c, parent.c, thumbemu.c, wrapper.c
792
8207e0f2
NC
7932005-04-20 Nick Clifton <nickc@redhat.com>
794
795 * armemu.c (handle_v6_insn): New function - emulate a few of the
796 v6 instructions - the ones now generated by GCC.
797 (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
798 found.
799 * armdefs.h (struct ARMul_State): Add new field: is_v6.
800 (ARM_v6_Prop): Define.
801 * arminit.c (ARMul_NewState): Initialise the v6 flag.
802 (ARMul_SelectProcessor): Determine if the v6 flag should be
803 set.
804 * wrapper.c (sim_create_inferior): For unknown architectures,
805 default to allowing the v6 instructions.
72f4393d 806
16d55f14
NC
8072005-04-18 Nick Clifton <nickc@redhat.com>
808
809 * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
810 operator to the RHS.
811 (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
812 indicate an unsigned long long constant.
813
2b193c4a
MK
8142005-03-23 Mark Kettenis <kettenis@gnu.org>
815
816 * configure: Regenerate.
817
35695fd6
AC
8182005-01-14 Andrew Cagney <cagney@gnu.org>
819
820 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
821 explicit call to AC_CONFIG_HEADER.
822 * configure: Regenerate.
823
f0569246
AC
8242005-01-12 Andrew Cagney <cagney@gnu.org>
825
826 * configure.ac: Update to use ../common/common.m4.
827 * configure: Re-generate.
828
38f48d72
AC
8292005-01-11 Andrew Cagney <cagney@localhost.localdomain>
830
831 * configure: Regenerated to track ../common/aclocal.m4 changes.
832
b7026657
AC
8332005-01-07 Andrew Cagney <cagney@gnu.org>
834
835 * configure.ac: Rename configure.in, require autoconf 2.59.
836 * configure: Re-generate.
837
379832de
HPN
8382004-12-08 Hans-Peter Nilsson <hp@axis.com>
839
840 * configure: Regenerate for ../common/aclocal.m4 update.
841
0aaa4a81
AC
8422004-06-28 Andrew Cagney <cagney@gnu.org>
843
844 * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
845
a4c9740c
MM
8462003-12-29 Mark Mitchell <mark@codesourcery.com>
847
848 * armos.c (fcntl.h): Do not include it.
849 (O_RDONLY): Do not define.
850 (O_WRONLY): Likewise.
851 (O_RDWR): Likewise.
852 (targ-vals.h): Include it.
853 (translate_open_mode): Use TARGET_O_* instead of O_*.
854 (SWIopen): Likewise.
855 * Makefile.in (armos.o): Depend on targ-vals.h.
856
c88931b0
NC
8572003-04-13 Nick Clifton <nickc@redhat.com>
858
859 * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
860 mode.
861 (PutWord): Likewise.
862
3a3d6f65
NC
8632003-03-30 Nick Clifton <nickc@redhat.com>
864
865 * configure.in (CON_FLAGS): Remove.
866 (COPRO): Unconditionally include iwmmxt.o.
867 * configure: Regenerate.
868 * Makefile.in (CON_FLAGS): Remove.
869 * armcopro.c: Remove use of __IWMMXT__ flag.
870 * wrapper.c: Likewise.
871 * armemu.c: Likewise.
872 Add explanatory comment for suppressed code.
873
8742003-03-27 Nick Clifton <nickc@redhat.com>
875
876 * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
877
0f026fd0
NC
8782003-03-27 Nick Clifton <nickc@redhat.com>
879
880 * configure.in: (CON_FLAGS): Define and intialise.
881 (COPRO): Add iwmmxt.o if configuring for XScale.
882 * configure: Regenerate.
883 * Makefile.in (iwmmxt.o): Add rule to build.
884 (COM_FLAGS): Define.
885 (ALL_FLAGS): Add CON_FLAGS.
886 * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
887 * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
888 (ARM_iWMMXt_Prop): Define.
889 * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
890 pass to coprocessor.
891 * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
892 (ARMul_Abort): Catch branches through uninitialised vectors.
893 * armos.c (softevtorcode): Update comment.
894 (ARMul_OsInit): Use ARMUndefinedInstrV.
0f026fd0
NC
895 * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
896 (sim_store_register): Handle iWMMXt registers.
897 (sim_fetch_register): Handle iWMMXt registers.
898 * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
899 functions.
900 * iwmmxt.c: New file: iWMMXt emulator.
901
dd97b6fd 9022003-03-20 Nick Clifton <nickc@redhat.com>
f603c8fe
NC
903
904 * Contribute support for Cirrus Maverick ARM co-processor,
72f4393d
L
905 written by Aldy Hernandez <aldyh@redhat.com> and
906 Andrew Cagney <cagney@redhat.com>:
f603c8fe
NC
907
908 * maverick.c: New file: Support for Maverick floating point
72f4393d
L
909 co-processor.
910 * Makefile.in: Add maverick.o target.
911 * configure.in (COPRO): Add maverick.o.
912 * configure: Regenerate.
913 * armcopro.c (ARMul_CoProInit): Only initialise co-processors
f603c8fe
NC
914 available on target processor. Add code to initialse Maverick
915 co-processor support code.
72f4393d
L
916 * armdefs.h (ARMul_state): Add is_ep9312 field.
917 (ARM_ep9312_Prop): Define.
918 * armemu.h: Add prototypes for Maverick co-processor
f603c8fe 919 functions.
72f4393d 920 * arminit.c (ARMul_SelectProcessor): Initialise the
f603c8fe 921 co-processor support once the chip has been selected.
72f4393d
L
922 * wrapper.c: Add support for Maverick co-processor.
923 (init): Do not call ARMul_CoProInit. Delays this until the
f603c8fe
NC
924 chip has been selected.
925
0d9fd8f1
NC
9262003-03-02 Nick Clifton <nickc@redhat.com>
927
928 * armos.c (SWIWrite0): Catch big-endian bug when printing
929 characters.
930
6b4a8935
AC
9312003-02-27 Andrew Cagney <cagney@redhat.com>
932
933 * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
72f4393d 934
45fdcabe
BE
9352003-01-10 Ben Elliston <bje@redhat.com>
936
937 * README.Cygnus: Rename from this ..
938 * README: .. to this.
939
058f270d
AC
9402002-09-27 Andrew Cagney <ac131313@redhat.com>
941
942 * wrapper.c (sim_open): Add support for -m<mem-size>.
943 (mem_size): Reduce to 2MB.
944 Fix PR gdb/433.
945
c7a7b500
NC
9462002-08-15 Nick Clifton <nickc@redhat.com>
947
948 * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
949 can be caused by an interrupted system call being resumed by GDB.
950
630ace25
NC
9512002-07-05 Nick Clifton <nickc@cambridge.redhat.com>
952
953 * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
954 and MIAxy instructions.
72f4393d 955
7b77dec6
NC
9562002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
957
958 * armos.h (ADP_Stopped_RunTimeError): Set correct value.
959
c8cca39f
AC
9602002-06-16 Andrew Cagney <ac131313@redhat.com>
961
962 * configure: Regenerated to track ../common/aclocal.m4 changes.
963
26216b98
AC
9642002-06-12 Andrew Cagney <ac131313@redhat.com>
965
966 * Makefile.in: Update copyright.
967 (wrapper.o): Specify dependencies.
968 * wrapper.c: Include "gdb/sim-arm.h".
969 (sim_store_register, sim_fetch_register): Rewrite using `enum
970 arm_sim_regs' and a switch.
971
3c25f8c7
AC
9722002-06-09 Andrew Cagney <cagney@redhat.com>
973
974 * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
975 * armos.c: Include "gdb/callback.h".
976
5aa682b2
NC
9772002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
978
979 * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
980 if a Data Abort is detected.
981
7378e198
NC
9822002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
983
10b57fcb
NC
984 * armvirt.c (GetWord): Only perform access checks if 'check'
985 is set.
986 (PutWord): Likewise.
987 * wrapper.c (sim_create_inferior): Report unknown machine
988 numbers.
7378e198
NC
989 * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
990 2, it has already been advanced.
991
2984e114
NC
9922002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
993
994 * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
995 instruction do not add in the second bit of the base address -
996 this has already been accounted for.
997
8b2440b7
NC
9982002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
999
1000 * armcopro.c (check_cp13_access): Allow access to register 1 when
1001 CRm is 1.
1002 (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
1003
de4112fa
NC
10042002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
1005
7f53bce4 1006 * Makefile.in (SIM_TARGET_SWITCHES): Define.
de4112fa
NC
1007 * armos.c (swi_mask): Define. Initialise to supporting all
1008 SWI emulations.
1009 (ARMul_OSInit): For XScale targets, only support the ANGEL
1010 SWI interface. (This is at the request if Intel).
1011 (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
72f4393d 1012 SWI call should be emulated.
de4112fa
NC
1013 Do not fall through from AngelSWI_Reason_WriteC.
1014 Propagate exit code from RedBoot Exit SWI.
1015 * rdi-dgb.h (swi_mask): Prototype.
1016 (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
1017 * wrapper.c (sim_target_parse_command_line): New function.
1018 Look for and handle --swi-support switch.
1019 (sim_target_parse_arg_array): New function. Process an argv
1020 array for parsing by sim_target_parse_command_line.
1021 (sim_target_display_usage): New function. Describe syntax of
1022 --swi-suppoort switch.
1023 (sim_open): Add call to sim_target_parse_arg_array).
1024
d8512e6a
NC
10252002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
1026
1027 * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
1028 mode and some of its system calls.
1029
ae60d3dd
AG
10302002-03-17 Anthony Green <green@redhat.com>
1031
1032 * wrapper.c (mem_size): Increase the default target memory to 8MB.
1033
b3ba81f8
KS
10342002-02-21 Keith Seitz <keiths@redhat.com>
1035
1036 * armos.c (SWIWrite0): Use generic host_callback mechanism
1037 for supported OS functions "open", "close", "write", etc.
1038 (SWIopen): Likewise.
1039 (SWIread): Likewise.
1040 (SWIwrite): Likewise.
1041 (SWIflen): Likewise.
1042 (ARMul_OSHandleSWI): Likewise.
1043
c17aa318
NC
10442002-02-05 Nick Clifton <nickc@cambridge.redhat.com>
1045
1046 * wrapper.c (sim_create_inferior): Modify previous patch so that
1047 it is only triggered for COFF format executables.
1048
25180f8a
NC
10492002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
1050
c17aa318
NC
1051 * wrapper.c (sin_create_inferior): If a v5 architecture is
1052 detected, assume it might be an XScale binary, since there is no
1053 way to distinguish between the two in the COFF file format.
25180f8a 1054
57165fb4
NC
10552002-01-10 Nick Clifton <nickc@cambridge.redhat.com>
1056
1057 * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
1058 * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
1059 and CPRead[14].
1060 Fix formatting. Improve layout.
1061 * armemu.h: Fix formatting. Improve layout.
1062
272fcdcd
NC
10632002-01-09 Nick Clifton <nickc@cambridge.redhat.com>
1064
1065 * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
1066 return zeroes in the other words.
86c735a5 1067 General formatting tidy ups.
272fcdcd 1068
6746a76a
BH
10692001-11-16 Ben Harris <bjh21@netbsd.org>
1070
1071 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1072 $(srcdir)/....
1073 (armemu26.o): Ditto.
1074
ff44f8e3
NC
10752001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
1076
1077 * armemu.h (CP_ACCESS_ALLOWED): New macro.
1078 Fix formatting.
1079 * armcopro.c (read_cp14_reg): Make static.
1080 (write_cp14_reg): Make static.
1081 (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
1082 Fix formatting.
1083 * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
1084 (ARMul_STC): Check CP_ACCESS_ALLOWED.
1085 (ARMul_MCR): Check CP_ACCESS_ALLOWED.
1086 (ARMul_MRC): Check CP_ACCESS_ALLOWED.
1087 (ARMul_CDP): Check CP_ACCESS_ALLOWED.
1088 Fix formatting.
1089 * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not
1090 equal to 15.
1091 (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15.
1092 Fix formatting.
1093
fb7a8ef0
NC
10942001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
1095
1096 * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
1097 instructions with post indexed addressing modes.
1098
dac07255
NC
10992001-05-08 Jens-Christian Lache <lache@tu-harburg.de>
1100
1101 * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
1102 determine rocesor mode.
1103
c3ae2f98
MG
11042001-04-18 matthew green <mrg@redhat.com>
1105
1106 * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
1107 (read_cp15_reg): Make non-static.
1108 (XScale_cp15_LDC): Update for write_cp15_reg() change.
1109 (XScale_cp15_MCR): Likewise.
1110 (XScale_cp15_write_reg): Likewise.
1111 (XScale_check_memacc): New function. Check for breakpoints being
1112 activated by memory accesses. Does not support the Branch Target
1113 Buffer.
1114 (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
1115 (XScale_debug_moe): New function. Set the debug Method Of Entry,
1116 if configured.
1117 (write_cp14_reg): Reset count counter if requested.
1118 * armdefs.h (struct ARMul_State): New members `LastTime' and
1119 `CP14R0_CCD' used for the timer/counters.
1120 (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
1121 ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
1122 ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
1123 ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
1124 ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
1125 ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
1126 ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
1127 ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
1128 defines for XScale registers.
1129 (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
1130 (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
1131 (ARMul_Emulate32): Handle the clock counter and hardware instruction
1132 breakpoints. Call XScale_set_fsr_far() for software breakpoints and
1133 software interrupts.
1134 (LoadMult): Call XScale_set_fsr_far() for data aborts.
1135 (LoadSMult): Likewise.
1136 (StoreMult): Likewise.
1137 (StoreSMult): Likewise.
1138 * armemu.h (write_cp15_reg): Update prototype.
1139 * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
1140 (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
1141 register 0.
1142 * armvirt.c (GetWord): Call XScale_check_memacc().
1143 (PutWord): Likewise.
1144
3cf84db9
NC
11452001-03-20 Nick Clifton <nickc@redhat.com>
1146
1147 * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
1148 when loading unaligned thumb instructions.
1149
4f3c3dbb
NC
11502001-03-06 Nick Clifton <nickc@redhat.com>
1151
1152 * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
72f4393d
L
1153 Compute destination address of BLX(1) instruction by
1154 taking bit 1 from PC and not from bit 0 of the offset.
4f3c3dbb 1155
917bca4f
NC
11562001-02-27 Nick Clifton <nickc@redhat.com>
1157
1158 * armvirt.c (GetWord): Add new parameter - check - to enable or
1159 disable the alignment checking.
1160 (PutWord): Add new parameter - check - to enable or disable the
1161 alignment checking.
1162 (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
1163 (ARMul_ReadWord): Pass extra parameter to GetWord.
1164 (ARMul_WriteWord): Pass extra parameter to PutWord.
1165 (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
1166 (ARMul_WriteByte): Pass extra parameter to GetWord.
1167 (ARMul_SwapWord): Pass extra parameter to PutWord.
1168 (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
1169 (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
72f4393d 1170
917bca4f
NC
1171 * armdefs.h: Add prototypes for ARMul_SafeReadByte and
1172 ARMul_SafeWriteByte.
72f4393d 1173
917bca4f
NC
1174 * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
1175 (sim_read): Use ARMul_SafeReadByte.
1176
1177 * armos.c (in_SWI_handler): Remove.
1178 (SWIWrite0): Use ARMul_SafeReadByte.
1179 (WriteCommandLineTo): Use ARMul_SafeWriteByte.
1180 (SWIopen): Use ARMul_SafeReadByte.
1181 (SWIread): Use ARMul_SafeWriteByte.
1182 (SWIwrite): Use ARMul_SafeReadByte.
1183 (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
1184 (ARMul_OSException): Remove use of is_SWI_handler.
72f4393d 1185
2ef048fc
NC
11862001-02-16 Nick Clifton <nickc@redhat.com>
1187
1188 * armemu.c: Remove Prefetch abort for breakpoints. Instead set
1189 the state to RESUME.
1190
5f7d0a33
NC
11912001-02-14 Nick Clifton <nickc@redhat.com>
1192
44e23e57
NC
1193 * armemu.c: Add code to preserve processor mode when a prefetch
1194 abort is signalled after processing a breakpoint.
1195
5f7d0a33
NC
1196 * wrapper.c (sim_create_inferior): Reset processor into ARM mode
1197 for any machine type except the early ARMs.
1198
1e5d4e46
NC
11992001-02-13 Nick Clifton <nickc@redhat.com>
1200
1201 * armos.c (in_SWI_handler): New static variable.
1202 (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
1203 (ARMul_OSException): Ignore exceptions generated whilst emulating
1204 a SWI.
1205
179ae6ea
NC
12062001-02-12 Nick Clifton <nickc@redhat.com>
1207
1208 * armemu.h (NEGBRANCH): Fix defintion.
1209
dda308f5
NC
12102001-02-01 Nick Clifton <nickc@redhat.com>
1211
1212 * armemu.c (LoadSMult): Update base address register after
1213 restoring register bank.
1214 (StoreMult): Update base address register after restoring register
1215 bank.
1216
88694af3
NC
12172001-01-31 Nick Clifton <nickc@redhat.com>
1218
1219 * armvirt.c (PutWord): Detect installation of SWI vector.
1220 (SWI_vector_installed): Define.
1221 * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
1222 * armos.h (SWI_vector_installed): Declare.
1223 * wrapper.c (SWI_vector_installed): Remove definition.
1224 (sim_write): Remove check of SWI vector installation
1225
ac1c9d3a
NC
12262000-12-18 Nick Clifton <nickc@redhat.com>
1227
1228 * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
1229 instruction.
1230
9a6b6a66
NC
12312000-12-10 Nick Clifton <nickc@redhat.com>
1232
1233 * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
1234
760a7bbe
NC
12352000-12-07 Nick Clifton <nickc@redhat.com>
1236
1237 * armemu.c (ARMul_Emulate26): Detect double word load and
1238 store instructions and call emulation routines.
1239 (Handle_Load_Double): Emulate a double word load instruction.
1240 (Handle_Store_Double): Emulate a double word store
1241 instruction.
1242
7f53bc35
NC
12432000-12-03 Nick Clifton <nickc@redhat.com>
1244
1245 * armos.c: Fix formatting.
1246 (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
1247 mode.
1248
f1129fb8
NC
12492000-11-29 Nick Clifton <nickc@redhat.com>
1250
1251 * armdefs.h (State): Add 'v5e' and 'xscale' fields.
1252 (ARM_v5e_Prop): Define.
1253 (ARM_XScale_Prop): Define.
72f4393d 1254
f1129fb8
NC
1255 * wrapper.c (sim_create_inferior): Select processor based on
1256 machine number.
1257 (SWI_vector_installed): New boolean. Set to true if the SWI
1258 vector address is written to by the executable.
72f4393d 1259
f1129fb8
NC
1260 * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
1261 (ARMul_SelectProcessor): Initialise v5e and xscale signals.
1262 (ARMul_Abort): Fix calculation of LR address.
1263
1264 * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
1265 and a SWI is not handled by the simulator, pass the SWI off to the
1266 vector, otherwise issue a warning message and continue.
1267
1268 * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
72f4393d 1269
f1129fb8
NC
1270 * thumbemu.c: Add v5 instruction simulation.
1271 * armemu.c: Add v5, XScale and El Segundo instruction simulation.
1272
1273 * armcopro.c: Add XScale co-processor emulation.
1274 * armemu.h: Add exported XScale co-processor functions.
72f4393d 1275
3943c96b
NC
12762000-09-15 Nick Clifton <nickc@redhat.com>
1277
1278 * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
1279 property. Delete unnecessary processor names.
1280 (ARM_Strong_Prop): Delete.
1281 (STRONGARM): Delete.
1282 (ARM_v4_Prop): Add.
1283 (ARM_v5_Prop): Add
1284 (State): Delete is_StrongARM boolean. Add is_v4 and is_v5
1285 booleans.
1286
1287 * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
1288 (BUSUSEDINCPCN): Use is_v4 boolean.
1289
1290 * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
1291 (ARMul_SelectProcessor): Change second parameter from 'processor'
1292 to 'properties'. Set is_v4 and is_v5 booleans in State.
1293
1294 * armrdi.c: Remove use of ARM processor names. Replace with ARM
1295 processor properties.
1296
1297 * wrapper.c (sim_create_inferior): Choose properties passed to
1298 ARMul_SelectProcessor based on machine number.
1299
4bc1de7b
NC
13002000-08-14 Nick Clifton <nickc@redhat.com>
1301
1302 * armemu.c (LHPOSTDOWN): Compute write back value before
1303 performing load in case the offset register is overwritten.
1304 (LHPOSTUP): Ditto.
1305
0a4321b9
FN
13062000-07-14 Fernando Nasser <fnasser@cygnus.com>
1307
1308 * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
1309
64a10675
FN
13102000-07-14 Fernando Nasser <fnasser@cygnus.com>
1311
1312 * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
1313 new inferior.
1314
b0eae074
AO
13152000-07-04 Alexandre Oliva <aoliva@redhat.com>
1316
ae3c7619
AO
1317 * armvirt.c (ABORTS): Do not define.
1318
1e6b544a
AO
1319 * armdefs.h (struct ARMul_State): Add is_StrongARM.
1320 (ARM_Strong_Prop, STRONGARM): Define.
1321 * arminit.c (ARMul_NewState): Reset is_StrongARM.
1322 (ARMul_SelectProcessor): Set is_StrongARM.
1323 * wrapper.c (sim_create_inferior): Use bfd machine type to
1324 determine processor type to emulate.
1325 * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
1326 when emulating StrongARM.
1327
66210567
AO
1328 * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
1329
e063aa3b
AO
1330 * armemu.h (INSN_SIZE): New macro.
1331 (SET_ABORT): Save CPSR in SPSR and set LR.
1332 * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
1333 (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
1334 * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
1335
13b6dd6f
AO
1336 * armemu.c (LoadSMult): Use WriteR15() to discard the least
1337 significant bits of PC.
1338
892c6b9d
AO
1339 * armemu.h (WRITEDESTB): New macro.
1340 * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
1341 modify PC. Moved the existing logic...
1342 (WriteR15Branch): ... here. New function.
1343 (WriteR15, WriteSR15): Drop the two least significant bits.
1344 (LoadSMult): Use WriteR15Branch() to modify PC.
1345 (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
1346
cf52c765
AO
1347 * armemu.h (GETSPSR): Call ARMul_GetSPSR().
1348 * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
1349 extracted from state->Cpsr, but preserve the unused bits.
1350 (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
1351 (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
1352 get the full CPSR word.
1353
4ef2594f
AO
1354 * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
1355 (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
1356 (SETPSR, SET_INTMODE, SETCC): Removed.
1357 * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
1358 mask. Use SETPSR_* to modify PSR.
1359 (ARMul_SetCPSR): Load all bits from value.
1360 * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
1361
e62263b8
AO
1362 * armemu.c (ARMul_Emulate): Compute writeback value before
1363 loading, since the offset register may be the destination
1364 register.
1365
b0eae074
AO
1366 * armdefs.h (SYSTEMBANK): Define as USERBANK.
1367 * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
1368
ee9a7772
AO
13692000-06-22 Alexandre Oliva <aoliva@cygnus.com>
1370
f9c22bc3
AO
1371 * armemu.c (Multiply64): Fix computation of flag N.
1372
ee9a7772
AO
1373 * armemu.c (MultiplyAdd64): Fix computation of flag N.
1374
fe47e8df
AO
13752000-06-20 Alexandre Oliva <aoliva@cygnus.com>
1376
1377 * armemu.h (NEGBRANCH): Do not overwrite the two most significant
1378 bits of the offset.
1379
c1a72ffd
NC
13802000-05-25 Nick Clifton <nickc@cygnus.com>
1381
1382 * armcopro.c (MMUMCR): Only indicate mode change if a singal has
1383 really changed.
1384 (MMUWrite): Only indicate mode change if a singal has really
1385 changed.
1386
1387 * armdefs.h (SYSTEMMODE): Define.
1388 (BANK_CAN_ACEESS_SPSR): Define.
1389
1390 * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
1391 to advance before stopping the emulation.
1392
1393 * arminit.c (ARMul_Reset): Ensure Mode field of State is set
1394 correctly.
1395
1396 * armos.c (ARMul_OSInit): Create a initial stack pointer for
1397 System mode.
1398
1399 * armsupp.c (ModeToBank): Remove unused first parameter.
1400 Add support for System Mode.
1401 (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1402 (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1403 (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1404 (ARMulSwitchMode): Add support for System Mode.
1405
1406Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
eb2d80b4
AC
1407
1408 * configure: Regenerated to track ../common/aclocal.m4 changes.
1409
3463c3fb
NC
14102000-05-23 Nick Clifton <nickc@cygnus.com>
1411
1412 * wrapper.c (sim_store_register): Special handling for CPSR
1413 register.
1414
5d0d395e
FCE
14152000-03-11 Philip Blundell <philb@gnu.org>
1416
1417 * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
1418 Patch from Allan Skillman <Allan.Skillman@arm.com>.
1419
6c9e0292
FCE
1420Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
1421
1422 * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
1423
6d358e86
NC
14242000-02-08 Nick Clifton <nickc@cygnus.com>
1425
1426 * wrapper.c: Fix compile time warning messages.
1427 * armcopro.c: Fix compile time warning messages.
1428 * armdefs.h: Fix compile time warning messages.
1429 * armemu.c: Fix compile time warning messages.
1430 * armemu.h: Fix compile time warning messages.
1431 * armos.c: Fix compile time warning messages.
1432 * armsupp.c: Fix compile time warning messages.
1433 * armvirt.c: Fix compile time warning messages.
d0187574 1434 * bag.c: Fix compile time warning messages.
72f4393d 1435
dfcd3bfb
JM
14362000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
1437
1438 * *.[ch]: Use indent to make readable.
1439
c2d11a7d
JM
14401999-11-22 Nick Clifton <nickc@cygnus.com>
1441
1442 * armos.c (SWIread): Generate an error message if a huge read is
1443 performed.
1444 (SWIwrite): Generate an error message if a huge write is
1445 performed.
1446
5c44784c
JM
14471999-10-27 Nick Clifton <nickc@cygnus.com>
1448
1449 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
72f4393d 1450 breakpoint.
5c44784c 1451
2df3850c
JM
14521999-10-08 Ulrich Drepper <drepper@cygnus.com>
1453
1454 * armos.c (SWIopen): Always pass third parameter with 0666 since
1455 otherwise uninitialized memory gets access if the O_CREAT bit is
1456 set and so we possibly cannot access the file afterwards.
1457
2acceee2
JM
14581999-09-29 Doug Evans <devans@casey.cygnus.com>
1459
1460 * armos.c (SWIWrite0): Send output to stdout instead of stderr.
1461 (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
1462
d4f3574e
SS
1463Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
1464
1465 * configure: Regenerated to track ../common/aclocal.m4 changes.
1466
cd0fc7c3
SS
14671999-05-08 Felix Lee <flee@cygnus.com>
1468
1469 * configure: Regenerated to track ../common/aclocal.m4 changes.
72f4393d 1470
7a292a7a
SS
14711999-04-06 Keith Seitz <keiths@cygnus.com>
1472
1473 * wrapper.c (stop_simulator): New global.
1474 (sim_stop): Set sim state to STOP and set
1475 stop_simulator.
1476 (sim_resume): Reset stop_simulator.
1477 (sim_stop_reason): If stop_simulator is set, tell gdb
1478 that the we took SIGINT.
1479 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
1480 stop_simulator is set.
1481
14821999-04-02 Keith Seitz <keiths@cygnus.com>
1483
1484 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
1485 whenever the counter expires.
1486 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
1487
14881999-03-24 Nick Clifton <nickc@cygnus.com>
1489
1490 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
1491 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
1492
c906108c
SS
1493Mon Sep 14 09:00:05 1998 Nick Clifton <nickc@cygnus.com>
1494
1495 * wrapper.c (sim_open): Set endianness according to BFD or command
1496 line switch.
1497
1498 * tconfig.in: Define SIM_HAVE_BIENDIAN.
1499
1500Thu Aug 27 11:00:05 1998 Nick Clifton <nickc@cygnus.com>
1501
1502 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
1503 the same as either RdHi or RdLo.
1504
1505Thu Jul 2 10:24:35 1998 Nick Clifton <nickc@cygnus.com>
1506
1507 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
1508 Set Reg[0] based on reason for for the exception.
1509
1510Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com)
1511
1512 * armos.c (SWIwrite0): New function.
1513 (WriteCommandLineTo): New function.
1514 (SWIopen): New function.
1515 (SWIread): New function.
1516 (SWIwrite): New function.
1517 (SWIflen): New function.
72f4393d 1518 (ARMul_OSHandleSWI): Call new functions instead of handling
c906108c
SS
1519 these here.
1520 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
1521 (*): Reformat spacing to be a bit more GNUly.
72f4393d 1522 Most code taken from a patch by Anthony Thompson
c906108c
SS
1523 (athompso@cambridge.arm.com)
1524
1525Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
1526
1527 * armos.h: Add Angel SWI and its reason codes.
1528 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
1529
1530Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
1531
1532 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
1533 of ":tt" to catch stdin in addition to stdout.
1534 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
1535 or success of lseek().
1536
1537Wed May 20 17:36:25 1998 Nick Clifton <nickc@cygnus.com>
1538
1539 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
1540 to open stdout.
1541
1542Wed Apr 29 15:29:55 1998 Jeff Johnston <jjohnstn@cygnus.com>
1543
1544 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
1545 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
1546 seek from offset 0 and not to use R2 for whence since it is
1547 not passed as part of the SWI call.
1548
1549Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1550
1551 * configure: Regenerated to track ../common/aclocal.m4 changes.
1552
1553Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
1554
1555 * configure: Regenerated to track ../common/aclocal.m4 changes.
1556 * config.in: Ditto.
1557
1558Sun Apr 26 15:20:26 1998 Tom Tromey <tromey@cygnus.com>
1559
1560 * acconfig.h: New file.
1561 * configure.in: Reverted change of Apr 24; use sinclude again.
1562
1563Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1564
1565 * configure: Regenerated to track ../common/aclocal.m4 changes.
1566 * config.in: Ditto.
1567
1568Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
1569
1570 * configure.in: Don't call sinclude.
1571
1572Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1573
1574 * configure: Regenerated to track ../common/aclocal.m4 changes.
1575
1576Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1577
1578 * configure: Regenerated to track ../common/aclocal.m4 changes.
1579
1580Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1581
1582 * configure: Regenerated to track ../common/aclocal.m4 changes.
1583
1584Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1585
1586 * configure: Regenerated to track ../common/aclocal.m4 changes.
1587
1588Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
1589
1590 * armopts.h: Remove definition of LITTLEND - it is not used.
1591
1592Tue Feb 17 12:35:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
1593
1594 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
1595 length parameter. Return -1.
1596
1597Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1598
1599 * configure: Regenerated to track ../common/aclocal.m4 changes.
1600
1601Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1602
1603 * configure: Regenerated to track ../common/aclocal.m4 changes.
1604
1605Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1606
1607 * configure: Regenerated to track ../common/aclocal.m4 changes.
1608
1609Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1610
1611 * configure: Regenerated to track ../common/aclocal.m4 changes.
1612 * config.in: Ditto.
1613
1614Tue Dec 9 11:30:48 1997 Nick Clifton <nickc@cygnus.com>
1615
1616 * Makefile.in: Updated with changes from branch.
1617 * armdefs.h: ditto
1618 * armemu.c: ditto these changes
1619 * armemu.h: ditto add support for
1620 * armos.c: ditto the Thumb instruction
1621 * armsupp.c: ditto set and the new v4
1622 * armvirt.c: ditto architecture.
1623 * wrapper.c: ditto
1624 * thumbemu.c: New file from branch.
1625
1626
1627Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1628
1629 * configure: Regenerated to track ../common/aclocal.m4 changes.
1630
1631Thu Oct 30 13:54:06 1997 Nick Clifton <nickc@cygnus.com>
1632
1633 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
72f4393d 1634 from Tony Thompson at ARM: athompso@arm.com
c906108c
SS
1635
1636 * wrapper.c (sim_create_inferior): Add code to create an execution
1637 environment. Patch from Tony Thompson at ARM: athompso@arm.com
1638
1639Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1640
1641 * wrapper.c (sim_load): Pass lma_p and sim_write args to
1642 sim_load_file.
1643
1644Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1645
1646 * configure: Regenerated to track ../common/aclocal.m4 changes.
1647
1648Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1649
1650 * configure: Regenerated to track ../common/aclocal.m4 changes.
1651
1652Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1653
1654 * configure: Regenerated to track ../common/aclocal.m4 changes.
1655
1656Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1657
1658 * configure: Regenerated to track ../common/aclocal.m4 changes.
1659
1660Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1661
1662 * configure: Regenerated to track ../common/aclocal.m4 changes.
1663
1664Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1665
1666 * configure: Regenerated to track ../common/aclocal.m4 changes.
1667
1668Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1669
1670 * configure: Regenerated to track ../common/aclocal.m4 changes.
1671
1672Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1673
1674 * configure: Regenerated to track ../common/aclocal.m4 changes.
1675 * config.in: Ditto.
1676
1677Tue Aug 26 10:37:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
1678
1679 * wrapper.c (sim_kill): Delete.
1680 (sim_create_inferior): Add ABFD argument.
1681 (sim_load): Move setting of PC from here.
1682 (sim_create_inferior): To here.
1683
1684Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1685
1686 * configure: Regenerated to track ../common/aclocal.m4 changes.
1687 * config.in: Ditto.
1688
1689Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
1690
1691 * wrapper.c (sim_open): Add ABFD argument.
1692
1693Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
1694
1695 * wrapper.c (sim_open): Add callback argument.
1696 (sim_set_callbacks): Drop SIM_DESC argument.
1697
1698Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1699
1700 * configure: Regenerated to track ../common/aclocal.m4 changes.
1701
1702Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
1703
1704 * wrapper.c (sim_stop): Stub sim_stop function.
1705
1706Thu Apr 17 18:33:01 1997 Fred Fish <fnf@cygnus.com>
1707
1708 * arminit.c (ARMul_NewState): Preinitialize the state to
1709 all zero/NULL.
1710
1711Thu Apr 17 02:39:02 1997 Doug Evans <dje@canuck.cygnus.com>
1712
1713 * Makefile.in (SIM_OBJS): Add sim-load.o.
1714 * wrapper.c (sim_kind,myname): New static locals.
1715 (sim_open): Set sim_kind, myname.
1716 (sim_load): Call sim_load_file to do work. Set start address from bfd.
1717 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
1718
1719Thu Apr 17 11:48:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1720
1721 * wrapper.c (sim_trace): Update so that it matches prototype.
1722
1723Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1724
1725 * configure: Regenerated to track ../common/aclocal.m4 changes.
1726 * config.in: Ditto.
1727
1728Mon Apr 7 12:01:17 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1729
1730 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1731 $(srcdir)/....
1732 (armemu26.o): Ditto.
1733
1734Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1735
1736 * wrapper.c (sim_open): New arg `kind'.
1737
1738 * configure: Regenerated to track ../common/aclocal.m4 changes.
1739
1740Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
1741
1742 * COPYING: Update FSF address.
1743
1744Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1745
1746 * configure: Regenerated to track ../common/aclocal.m4 changes.
1747
1748Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1749
1750 * configure: Regenerated to track ../common/aclocal.m4 changes.
1751
1752Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1753
1754 * configure: Re-generate.
1755
1756Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1757
1758 * configure: Regenerate to track ../common/aclocal.m4 changes.
1759
1760Thu Mar 13 12:38:56 1997 Doug Evans <dje@canuck.cygnus.com>
1761
1762 * wrapper.c (sim_open): Has result now.
1763 (sim_*): New SIM_DESC argument.
1764
1765Tue Feb 4 13:22:21 1997 Doug Evans <dje@canuck.cygnus.com>
1766
1767 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
1768 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1769 * configure.in: sinclude ../common/aclocal.m4.
1770 * configure: Regenerated.
1771
1772Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1773
1774 * configure configure.in Makefile.in: Update to new configure
1775 scheme which is more compatible with WinGDB builds.
1776 * configure.in: Improve comment on how to run autoconf.
1777 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1778 * Makefile.in: Use autoconf substitution to install common
1779 makefile fragment.
1780
1781Wed Nov 20 01:05:10 1996 Doug Evans <dje@canuck.cygnus.com>
1782
1783 * run.c: Deleted, use one in ../common now.
1784 * Makefile.in: Delete everything that's been moved to
1785 ../common/Make-common.in.
1786 (SIM_OBJS): Define.
1787 * configure.in: Simplify using macros in ../common/aclocal.m4.
1788 * configure: Regenerated.
1789 * config.in: New file.
1790 * armos.c: #include config.h.
1791 * wrapper.c (mem_size): Value is in bytes now.
1792 (sim_callback): New global.
1793 (arm_sim_set_profile{,_size}): Delete.
1794 (arm_sim_set_mem_size): Rename to sim_size.
1795 (sim_do_command): Call printf_filtered via callback.
1796 (sim_set_callbacks): Record callback.
1797
1798Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1799
1800 * Makefile.in (mostlyclean): Remove config.log.
1801
1802Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1803
72f4393d
L
1804 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1805 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1806 (docdir): Removed.
1807 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1808 (AC_PROG_INSTALL): Added.
1809 * configure: Rebuilt.
c906108c
SS
1810
1811Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
1812
1813 * configure: Regenerate with autoconf 2.7.
1814
1815Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
1816
1817 * run.c (main): Use new bfd_big_endian macro.
1818
1819Mon Nov 20 17:40:38 1995 Doug Evans <dje@canuck.cygnus.com>
1820
1821 * run.c: Include "getopt.h".
1822 (verbose): Delete.
1823 (usage): Make static.
1824 (main): Call arm_sim_set_verbosity.
1825 Only load sections marked SEC_LOAD.
1826 * wrapper.c (mem_size, verbosity): New static global.
1827 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
1828 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
72f4393d 1829
c906108c
SS
1830Fri Nov 17 19:35:11 1995 Doug Evans <dje@canuck.cygnus.com>
1831
1832 * armdefs.h (ARMul_State): New member `verbose'.
1833 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
1834 * run.c (verbose): Make global.
1835 * wrapper.c (init): Set state->verbose.
1836 (ARMul_ConsolePrint): Don't print anything if !verbose.
1837
1838Fri Oct 13 15:30:30 1995 Doug Evans <dje@canuck.cygnus.com>
1839
1840 * armos.c: #include dbg_rdi.h.
1841 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
1842 * armos.h (SWI_Breakpoint): Define.
1843 * wrapper.c: #include armemu.h, dbg_rdi.h.
1844 (rc): Delete.
1845 (sim_resume): Use state->EndCondition to record stop state.
1846 Call FLUSHPIPE before returning.
1847 (sim_stop_reason): Determine reason from state->EndCondition.
1848
1849Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
1850
1851 * wrapper.c (sim_set_callbacks): New.
1852
1853Thu Sep 28 19:45:56 1995 Doug Evans <dje@deneb.cygnus.com>
1854
1855 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
1856 number of bytes not read/written (or -1).
1857
1858Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
1859
1860 * Makefile.in (maintainer-clean): New synonym for realclean.
1861
1862Fri Sep 8 14:27:20 1995 Ian Lance Taylor <ian@cygnus.com>
1863
1864 * configure.in: Remove AC_PROG_INSTALL.
1865 * configure: Rebuild.
1866 * Makefile.in (INSTALL): Revert to using install.sh.
1867 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
1868 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
1869 (mostlyclean): Make the same as clean, not distclean.
1870 (clean): Remove config.log.
1871 (install): Don't install in $(tooldir).
1872
1873Thu Sep 7 12:00:17 1995 Doug Evans <dje@canuck.cygnus.com>
1874
1875 (Try to) Update to new bfd autoconf scheme.
1876 * run.c: Don't include sysdep.h.
1877 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
1878 (CC, CFLAGS, AR, RANLIB): Likewise.
1879 (HDEFINES, TDEFINES): Define.
1880 (CC_FOR_BUILD): Delete.
1881 (host_makefile_frag): Delete.
1882 (Makefile): Don't depend on frags.
1883 * configure.in (sysdep.h): Don't create symlink.
1884 (host_makefile_frag, frags): Deleted.
1885 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
1886 * configure: Regenerated.
1887
1888Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1889
1890 * Update all FSF addresses except those in COPYING* files.
1891
1892Wed Jul 5 16:15:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1893
1894 * Makefile.in (clean): Remove run, libsim.a.
1895
1896 * Makefile.in, configure.in: converted to autoconf.
1897 * configure: New file, generated with autconf 2.4.
1898
1899 * arm.mt: Removed.
1900
1901Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
1902
1903 * wrapper.c (sim_do_command): New function.
1904
1905Tue Jun 13 10:57:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
1906
1907 * armos.c (ARMul_OSHandleSWI): New version to work with
1908 newlib simply.
1909
1910Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
1911
1912 * run.c (main): Grab return value from right register.
1913
1914Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
1915
1916 * New.