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