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