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