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