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