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