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