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