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