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