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