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