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