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