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