]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/arm/ChangeLog
sim: d10v: add missing sim-main.h
[thirdparty/binutils-gdb.git] / sim / arm / ChangeLog
CommitLineData
ae7d0cac
MF
12015-03-16 Mike Frysinger <vapier@gentoo.org>
2
3 * config.in, configure: Regenerate.
4 * tconfig.in: Rename file ...
5 * tconfig.h: ... here.
6
465fb143
MF
72015-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
5cddc23a
MF
132015-03-14 Mike Frysinger <vapier@gentoo.org>
14
15 * configure.ac (AC_CHECK_HEADERS): Delete unistd.h.
16 * aclocal.m4, configure: Regenerate.
17
2974be62
AM
182014-08-19 Alan Modra <amodra@gmail.com>
19
20 * configure: Regenerate.
21
faa743bb
RM
222014-08-15 Roland McGrath <mcgrathr@google.com>
23
24 * configure: Regenerate.
25 * config.in: Regenerate.
26
1d63324c
NC
272014-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
8d052926
NC
332014-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
b9366cf3
DM
642014-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
60d847df
MF
722014-03-10 Mike Frysinger <vapier@gentoo.org>
73
74 * wrapper.c (sim_do_command): Add const to cmd.
75
b2b255bd
MF
762014-03-05 Mike Frysinger <vapier@gentoo.org>
77
78 * wrapper.c (sim_load): Add const to prog.
79
bf3d9781
AM
802013-09-23 Alan Modra <amodra@gmail.com>
81
82 * configure: Regenerate.
83
31e6ad7d
MF
842013-06-03 Mike Frysinger <vapier@gentoo.org>
85
86 * aclocal.m4, configure: Regenerate.
87
590919de
MF
882013-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
19a3671c
JB
932012-12-19 Joel Brobecker <brobecker@adacore.com>
94
95 * COPYING: Update to GPL version 3.
96
f253d86d
NC
972012-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
9256caa6
KB
1032012-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
5f3ef9d0
JB
1092012-06-15 Joel Brobecker <brobecker@adacore.com>
110
111 * config.in, configure: Regenerate.
112
b0f05691
NC
1132012-06-13 Nick Clifton <nickc@redhat.com>
114
115 * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
116 binaries (for now).
117
a493e3e2
PA
1182012-05-24 Pedro Alves <palves@redhat.com>
119
120 PR gdb/7205
121
122 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
123
a6ff997c
NC
1242012-05-18 Nick Clifton <nickc@redhat.com>
125
126 PR 14072
127 * wrapper.c: Include config.h before system header files.
128
2232061b
MF
1292012-03-24 Mike Frysinger <vapier@gentoo.org>
130
131 * aclocal.m4, config.in, configure: Regenerate.
132
db2e4d67
MF
1332011-12-03 Mike Frysinger <vapier@gentoo.org>
134
135 * aclocal.m4: New file.
136 * configure: Regenerate.
137
9c082ca8
MF
1382011-10-17 Mike Frysinger <vapier@gentoo.org>
139
140 * configure.ac: Change include to common/acinclude.m4.
141
6ffe910a
MF
1422011-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
161fc452
NC
1482011-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
af9f7da7
MF
1562011-04-16 Mike Frysinger <vapier@gentoo.org>
157
158 * wrapper.c (sim_complete_command): New stub function.
159
363a6e9f
OS
1602010-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
5558e7e6
MF
1672010-04-14 Mike Frysinger <vapier@gentoo.org>
168
169 * wrapper.c (sim_write): Add const to buffer arg.
170
3725885a
RW
1712010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
172
173 * configure: Regenerate.
174
d6416cdc
RW
1752009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
176
81ecdfbb
RW
177 * config.in: Regenerate.
178 * configure: Likewise.
179
d6416cdc
RW
180 * configure: Regenerate.
181
a85c0b49
JS
1822008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
183
184 * arminit.c, iwmmxt.c: Include <string.h> to
185 eliminate warning.
b5bd9624
HPN
1862008-07-11 Hans-Peter Nilsson <hp@axis.com>
187
188 * configure: Regenerate to track ../common/common.m4 changes.
189 * config.in: Ditto.
190
6efef468
JM
1912008-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
e1c9b6f1
MM
1982007-02-27 Mark Mitchell <mark@codesourcery.com>
199
200 * armos.c (SWIflen): Do not treate file descriptor zero as
201 special.
202
1306df90
NC
2032007-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
8944021f
DJ
2082007-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
edc5d9ec
HPN
2132006-12-21 Hans-Peter Nilsson <hp@axis.com>
214
215 * acconfig.h: Remove.
216 * config.in: Regenerate.
217
e85e3205
RE
2182006-06-13 Richard Earnshaw <rearnsha@arm.com>
219
220 * configure: Regenerated.
221
2f0122dc
DJ
2222006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
223
224 * configure: Regenerated.
225
20e95c23
DJ
2262006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
227
228 * configure: Regenerated.
229
4b1d9c58
PB
2302006-03-07 Paul Brook <paul@codesourcery.com>
231
232 * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
233
eeea4660
DJ
2342006-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
aba6488e
MM
2392005-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
2be701a3
DJ
2462005-11-16 Shaun Jackman <sjackman@gmail.com>
247
eeea4660 248 * armos.c: Include limits.h
2be701a3
DJ
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
c4793bac
PB
2612005-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
546aee7a
NC
2712005-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
380d9419
NC
2772005-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
8207e0f2
NC
2882005-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
16d55f14
NC
3022005-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
2b193c4a
MK
3092005-03-23 Mark Kettenis <kettenis@gnu.org>
310
311 * configure: Regenerate.
312
35695fd6
AC
3132005-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
f0569246
AC
3192005-01-12 Andrew Cagney <cagney@gnu.org>
320
321 * configure.ac: Update to use ../common/common.m4.
322 * configure: Re-generate.
323
38f48d72
AC
3242005-01-11 Andrew Cagney <cagney@localhost.localdomain>
325
326 * configure: Regenerated to track ../common/aclocal.m4 changes.
327
b7026657
AC
3282005-01-07 Andrew Cagney <cagney@gnu.org>
329
330 * configure.ac: Rename configure.in, require autoconf 2.59.
331 * configure: Re-generate.
332
379832de
HPN
3332004-12-08 Hans-Peter Nilsson <hp@axis.com>
334
335 * configure: Regenerate for ../common/aclocal.m4 update.
336
0aaa4a81
AC
3372004-06-28 Andrew Cagney <cagney@gnu.org>
338
339 * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
340
a4c9740c
MM
3412003-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
c88931b0
NC
3522003-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
3a3d6f65
NC
3582003-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
3692003-03-27 Nick Clifton <nickc@redhat.com>
370
371 * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
372
0f026fd0
NC
3732003-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.
0f026fd0
NC
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
dd97b6fd 3972003-03-20 Nick Clifton <nickc@redhat.com>
f603c8fe
NC
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
0d9fd8f1
NC
4212003-03-02 Nick Clifton <nickc@redhat.com>
422
423 * armos.c (SWIWrite0): Catch big-endian bug when printing
424 characters.
425
6b4a8935
AC
4262003-02-27 Andrew Cagney <cagney@redhat.com>
427
428 * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
429
45fdcabe
BE
4302003-01-10 Ben Elliston <bje@redhat.com>
431
432 * README.Cygnus: Rename from this ..
433 * README: .. to this.
434
058f270d
AC
4352002-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
c7a7b500
NC
4412002-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
630ace25
NC
4462002-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
7b77dec6
NC
4512002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
452
453 * armos.h (ADP_Stopped_RunTimeError): Set correct value.
454
c8cca39f
AC
4552002-06-16 Andrew Cagney <ac131313@redhat.com>
456
457 * configure: Regenerated to track ../common/aclocal.m4 changes.
458
26216b98
AC
4592002-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
3c25f8c7
AC
4672002-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
5aa682b2
NC
4722002-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
7378e198
NC
4772002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
478
10b57fcb
NC
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.
7378e198
NC
484 * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
485 2, it has already been advanced.
486
2984e114
NC
4872002-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
8b2440b7
NC
4932002-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
de4112fa
NC
4992002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
500
7f53bce4 501 * Makefile.in (SIM_TARGET_SWITCHES): Define.
de4112fa
NC
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
d8512e6a
NC
5202002-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
ae60d3dd
AG
5252002-03-17 Anthony Green <green@redhat.com>
526
527 * wrapper.c (mem_size): Increase the default target memory to 8MB.
528
b3ba81f8
KS
5292002-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
c17aa318
NC
5392002-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
25180f8a
NC
5442002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
545
c17aa318
NC
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.
25180f8a 549
57165fb4
NC
5502002-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
272fcdcd
NC
5582002-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.
86c735a5 562 General formatting tidy ups.
272fcdcd 563
6746a76a
BH
5642001-11-16 Ben Harris <bjh21@netbsd.org>
565
566 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
567 $(srcdir)/....
568 (armemu26.o): Ditto.
569
ff44f8e3
NC
5702001-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
fb7a8ef0
NC
5892001-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
dac07255
NC
5942001-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
c3ae2f98
MG
5992001-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
3cf84db9
NC
6402001-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
4f3c3dbb
NC
6452001-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
917bca4f
NC
6512001-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
2ef048fc
NC
6812001-02-16 Nick Clifton <nickc@redhat.com>
682
683 * armemu.c: Remove Prefetch abort for breakpoints. Instead set
684 the state to RESUME.
685
5f7d0a33
NC
6862001-02-14 Nick Clifton <nickc@redhat.com>
687
44e23e57
NC
688 * armemu.c: Add code to preserve processor mode when a prefetch
689 abort is signalled after processing a breakpoint.
690
5f7d0a33
NC
691 * wrapper.c (sim_create_inferior): Reset processor into ARM mode
692 for any machine type except the early ARMs.
693
1e5d4e46
NC
6942001-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
179ae6ea
NC
7012001-02-12 Nick Clifton <nickc@redhat.com>
702
703 * armemu.h (NEGBRANCH): Fix defintion.
704
dda308f5
NC
7052001-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
88694af3
NC
7122001-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
ac1c9d3a
NC
7212000-12-18 Nick Clifton <nickc@redhat.com>
722
723 * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
724 instruction.
725
9a6b6a66
NC
7262000-12-10 Nick Clifton <nickc@redhat.com>
727
728 * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
729
760a7bbe
NC
7302000-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
7f53bc35
NC
7382000-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
f1129fb8
NC
7442000-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
3943c96b
NC
7712000-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
4bc1de7b
NC
7952000-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
0a4321b9
FN
8012000-07-14 Fernando Nasser <fnasser@cygnus.com>
802
803 * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
804
64a10675
FN
8052000-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
b0eae074
AO
8102000-07-04 Alexandre Oliva <aoliva@redhat.com>
811
ae3c7619
AO
812 * armvirt.c (ABORTS): Do not define.
813
1e6b544a
AO
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
66210567
AO
823 * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
824
e063aa3b
AO
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
13b6dd6f
AO
831 * armemu.c (LoadSMult): Use WriteR15() to discard the least
832 significant bits of PC.
833
892c6b9d
AO
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
cf52c765
AO
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
4ef2594f
AO
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
e62263b8
AO
857 * armemu.c (ARMul_Emulate): Compute writeback value before
858 loading, since the offset register may be the destination
859 register.
860
b0eae074
AO
861 * armdefs.h (SYSTEMBANK): Define as USERBANK.
862 * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
863
ee9a7772
AO
8642000-06-22 Alexandre Oliva <aoliva@cygnus.com>
865
f9c22bc3
AO
866 * armemu.c (Multiply64): Fix computation of flag N.
867
ee9a7772
AO
868 * armemu.c (MultiplyAdd64): Fix computation of flag N.
869
fe47e8df
AO
8702000-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
c1a72ffd
NC
8752000-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
901Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
eb2d80b4
AC
902
903 * configure: Regenerated to track ../common/aclocal.m4 changes.
904
3463c3fb
NC
9052000-05-23 Nick Clifton <nickc@cygnus.com>
906
907 * wrapper.c (sim_store_register): Special handling for CPSR
908 register.
909
5d0d395e
FCE
9102000-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
6c9e0292
FCE
915Wed 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
6d358e86
NC
9192000-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.
d0187574 929 * bag.c: Fix compile time warning messages.
6d358e86 930
dfcd3bfb
JM
9312000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
932
933 * *.[ch]: Use indent to make readable.
934
c2d11a7d
JM
9351999-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
5c44784c
JM
9421999-10-27 Nick Clifton <nickc@cygnus.com>
943
944 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
945 breakpoint.
946
2df3850c
JM
9471999-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
2acceee2
JM
9531999-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
d4f3574e
SS
958Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
959
960 * configure: Regenerated to track ../common/aclocal.m4 changes.
961
cd0fc7c3
SS
9621999-05-08 Felix Lee <flee@cygnus.com>
963
964 * configure: Regenerated to track ../common/aclocal.m4 changes.
965
7a292a7a
SS
9661999-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
9771999-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
9831999-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
c906108c
SS
988Mon 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
995Thu 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
1000Thu 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
1005Thu 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
1020Tue 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
1025Mon 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
1032Wed 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
1037Wed 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
1044Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1045
1046 * configure: Regenerated to track ../common/aclocal.m4 changes.
1047
1048Sun 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
1053Sun 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
1058Fri 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
1063Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
1064
1065 * configure.in: Don't call sinclude.
1066
1067Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1068
1069 * configure: Regenerated to track ../common/aclocal.m4 changes.
1070
1071Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1072
1073 * configure: Regenerated to track ../common/aclocal.m4 changes.
1074
1075Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1076
1077 * configure: Regenerated to track ../common/aclocal.m4 changes.
1078
1079Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1080
1081 * configure: Regenerated to track ../common/aclocal.m4 changes.
1082
1083Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
1084
1085 * armopts.h: Remove definition of LITTLEND - it is not used.
1086
1087Tue 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
1092Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1093
1094 * configure: Regenerated to track ../common/aclocal.m4 changes.
1095
1096Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1097
1098 * configure: Regenerated to track ../common/aclocal.m4 changes.
1099
1100Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1101
1102 * configure: Regenerated to track ../common/aclocal.m4 changes.
1103
1104Mon 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
1109Tue 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
1122Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1123
1124 * configure: Regenerated to track ../common/aclocal.m4 changes.
1125
1126Thu 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
1134Wed 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
1139Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1140
1141 * configure: Regenerated to track ../common/aclocal.m4 changes.
1142
1143Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1144
1145 * configure: Regenerated to track ../common/aclocal.m4 changes.
1146
1147Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1148
1149 * configure: Regenerated to track ../common/aclocal.m4 changes.
1150
1151Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1152
1153 * configure: Regenerated to track ../common/aclocal.m4 changes.
1154
1155Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1156
1157 * configure: Regenerated to track ../common/aclocal.m4 changes.
1158
1159Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1160
1161 * configure: Regenerated to track ../common/aclocal.m4 changes.
1162
1163Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1164
1165 * configure: Regenerated to track ../common/aclocal.m4 changes.
1166
1167Wed 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
1172Tue 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
1179Mon 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
1184Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
1185
1186 * wrapper.c (sim_open): Add ABFD argument.
1187
1188Tue 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
1193Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1194
1195 * configure: Regenerated to track ../common/aclocal.m4 changes.
1196
1197Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
1198
1199 * wrapper.c (sim_stop): Stub sim_stop function.
1200
1201Thu 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
1206Thu 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
1214Thu 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
1218Mon 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
1223Mon 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
1229Wed 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
1235Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
1236
1237 * COPYING: Update FSF address.
1238
1239Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1240
1241 * configure: Regenerated to track ../common/aclocal.m4 changes.
1242
1243Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1244
1245 * configure: Regenerated to track ../common/aclocal.m4 changes.
1246
1247Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1248
1249 * configure: Re-generate.
1250
1251Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1252
1253 * configure: Regenerate to track ../common/aclocal.m4 changes.
1254
1255Thu 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
1260Tue 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
1267Thu 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
1276Wed 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
1293Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1294
1295 * Makefile.in (mostlyclean): Remove config.log.
1296
1297Wed 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
1306Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
1307
1308 * configure: Regenerate with autoconf 2.7.
1309
1310Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
1311
1312 * run.c (main): Use new bfd_big_endian macro.
1313
1314Mon 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
1325Fri 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
1333Fri 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
1344Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
1345
1346 * wrapper.c (sim_set_callbacks): New.
1347
1348Thu 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
1353Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
1354
1355 * Makefile.in (maintainer-clean): New synonym for realclean.
1356
1357Fri 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
1368Thu 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
1383Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1384
1385 * Update all FSF addresses except those in COPYING* files.
1386
1387Wed 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
1396Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
1397
1398 * wrapper.c (sim_do_command): New function.
1399
1400Tue 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
1405Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
1406
1407 * run.c (main): Grab return value from right register.
1408
1409Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
1410
1411 * New.
1412
1413