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