]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/arm/ChangeLog
sim: sim_{create_inferior,open,parse_args}: constify argv/env slightly
[thirdparty/binutils-gdb.git] / sim / arm / ChangeLog
CommitLineData
2e3d4f4d
MF
12016-01-06 Mike Frysinger <vapier@gentoo.org>
2
3 * wrapper.c (sim_create_inferior): Mark argv and env const.
4 (sim_open): Mark argv const.
5
9bbf6f91
MF
62016-01-04 Mike Frysinger <vapier@gentoo.org>
7
8 * configure: Regenerate.
9
77cf2ef5
MF
102016-01-03 Mike Frysinger <vapier@gentoo.org>
11
12 * wrapper.c (sim_open): Update sim_parse_args comment.
13
34fed699
MF
142016-01-03 Mike Frysinger <vapier@gentoo.org>
15
16 * wrapper.c (sim_target_parse_arg_array): Replace for loop with
17 a call to countargv.
18
0cb8d851
MF
192016-01-03 Mike Frysinger <vapier@gentoo.org>
20
21 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
22 * configure: Regenerate.
23
1ac72f06
MF
242016-01-02 Mike Frysinger <vapier@gentoo.org>
25
26 * configure: Regenerate.
27 * wrapper.c (init): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
28
e1211e55
MF
292015-12-30 Mike Frysinger <vapier@gentoo.org>
30
31 * wrapper.c (sim_store_register): Rename to ...
32 (arm_reg_store): ... this.
33 (sim_fetch_register): Rename to ...
34 (arm_reg_fetch): ... this.
35 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
36
5e744ef8
MF
372015-12-27 Mike Frysinger <vapier@gentoo.org>
38
39 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
40
1b393626
MF
412015-12-26 Mike Frysinger <vapier@gentoo.org>
42
43 * config.in, configure: Regenerate.
44
91d6df78
MF
452015-12-25 Mike Frysinger <vapier@gentoo.org>
46
47 * Makefile.in (SIM_OBJS): Delete bag.o.
48 * armdefs.h (struct ARMul_State): Delete ErrorCode.
49 (ResetPin, FIQPin, IRQPin, AbortPin, TransPin, BigEndPin, Prog32Pin,
50 Data32Pin, LateAbortPin, ARMul_OSExit, ARMul_OSLastErrorP,
51 ARMul_Debug, ARMul_OSException,rdi_log, SpinCursor, HOURGLASS,
52 HOURGLASS_RATE): Delete.
53 * armemu.c (ARMul_Emulate26): Delete ARMul_Debug call.
54 * arminit.c (ARMul_Reset): Do not set state->ErrorCode.
55 (ARMul_Abort): Delete ARMul_OSException call.
56 * armopts.h: Delete file.
57 * armos.c (isatty_, ARMul_OSExit, ARMul_OSException,
58 ARMul_OSLastErrorP, ARMul_Debug, BUFFERSIZE, UNIQUETEMPS, NOOP,
59 BINARY, READOP, WRITEOP, FIXCRLF): Delete.
60 (struct OSblock): Delete Time0, ErrorP, FileTable, FileFlags, and
61 tempnames.
62 (ARMul_OSInit): Do not set OSptr->ErrorP, OSptr->FileTable, or
63 OSptr->tempnames.
64 * armrdi.c: Delete file.
65 * armvirt.c: Delete armopts.h include.
66 (ARMul_LoadInstrS): Delete HOURGLASS logic.
67 * bag.c, bag.h, communicate.c, communicate.h, dbg_conf.h, dbg_cp.h,
68 dbg_hif.h: Delete files.
69 * dbg_rdi.h (RDP_*, RDI*): Delete defines.
70 (PointHandle, ThreadHandle, Dbg_ConfigBlock, Dbg_HostosInterface,
71 Dbg_MCState, getbufferproc): Delete.
72 (rdi_*): Delete Functions.
73 (RDI_ConfigAspect, RDI_ConfigMatchType, RDI_NameList): Delete
74 (struct RDIProcVec): Delete.
75 * gdbhost.c, gdbhost.h, kid.c, main.c, parent.c: Delete files.
76 * wrapper.c (ARMul_Debug): Delete.
77
1d19cae7
DV
782015-12-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
79
80 * thumbemu.c (handle_T2_insn): Fix left shift of negative value.
81 * armemu.c (handle_v6_insn): Likewise.
82
6e4f085c
MF
832015-11-14 Mike Frysinger <vapier@gentoo.org>
84
85 * wrapper.c (sim_close): Delete.
86
454de2ee
NC
872015-07-14 Nick Clifton <nickc@redhat.com>
88
89 * armcopro.c: Remove extraneous whitespace.
90 * armdefs.h: Likewise.
91 * armfpe.h: Likewise.
92 * arminit.c: Likewise.
93 * armopts.h: Likewise.
94 * armos.c: Likewise.
95 * armos.h: Likewise.
96 * armrdi.c: Likewise.
97 * armsupp.c: Likewise.
98 * armvirt.c: Likewise.
99 * bag.c: Likewise.
100 * bag.h: Likewise.
101 * communicate.c: Likewise.
102 * communicate.h: Likewise.
103 * dbg_conf.h: Likewise.
104 * dbg_cp.h: Likewise.
105 * dbg_hif.h: Likewise.
106 * dbg_rdi.h: Likewise.
107 * gdbhost.c: Likewise.
108 * gdbhost.h: Likewise.
109 * iwmmxt.c: Likewise.
110 * iwmmxt.h: Likewise.
111 * kid.c: Likewise.
112 * main.c: Likewise.
113 * maverick.c: Likewise.
114 * parent.c: Likewise.
115 * thumbemu.c: Likewise.
116 * wrapper.c: Likewise.
117
db49d3d0
NC
1182015-07-02 Nick Clifton <nickc@redhat.com>
119
120 * Makefile.in (SIM_EXTRA_CFLAGS): Revert previous delta.
121 (SIM_EXTRA_LIBS): Add -lm.
122
73cb0348
NC
1232015-06-28 Nick Clifton <nickc@redhat.com>
124
125 * Makefile.in (SIM_EXTRA_CFLAGS): Add -lm.
126 * armdefs.h (ARMdval, ARMfval): New types.
127 (ARM_VFP_reg): New union.
128 (struct ARMul_State): Add VFP_Reg and FPSCR fields.
129 (VFP_fval, VFP_uword, VFP_sword, VFP_dval, VFP_dword): Accessor
130 macros for the new VFP_Reg field.
131 * armemu.c (handle_v6_insn): Add code to handle MOVW, MOVT,
132 QADD16, QASX, QSAX, QSUB16, QADD8, QSUB8, UADD16, USUB16, UADD8,
133 USUB8, SEL, REV, REV16, RBIT, BFC, BFI, SBFX and UBFX
134 instructions.
135 (handle_VFP_move): New function.
136 (ARMul_Emulate16): Add checks for newly supported v6
137 instructions. Add support for VMRS, VMOV and MRC instructions.
138 (Multiply64): Allow nRdHi == nRm and/or nRdLo == nRm when
139 operating in v6 mode.
140 * armemu.h (t_resolved): Define.
141 * armsupp.c: Include math.h.
142 (handle_VFP_xfer): New function. Handles VMOV, VSTM, VSTR, VPUSH,
143 VSTM, VLDM and VPOP instructions.
144 (ARMul_LDC): Test for co-processor 10 or 11 and pass call to the
145 new handle_VFP_xfer function.
146 (ARMul_STC): Likewise.
147 (handle_VFP_op): New function. Handles VMLA, VMLS, VNMLA, VNMLS,
148 VNMUL, VMUL, VADD, VSUB, VDIV, VMOV, VABS, VNEG, VSQRT, VCMP,
149 VCMPE and VCVT instructions.
150 (ARMul_CDP): Test for co-processor 10 or 11 and pass call to the
151 new handle_VFP_op function.
152 * thumbemu.c (tBIT, tBITS, ntBIT, ntBITS): New macros.
153 (test_cond): New function. Tests a condition and returns non-zero
154 if the condition has been met.
155 (handle_IT_block): New function.
156 (in_IT_block): New function.
157 (IT_block_allow): New function.
158 (ThumbExpandImm): New function.
159 (handle_T2_insn): New function. Handles T2 thumb instructions.
160 (handle_v6_thumb_insn): Add next_instr and pc parameters.
161 (ARMul_ThumbDecode): Add support for IT blocks. Add support for
162 v6 instructions.
163 * wrapper.c (sim_create_inferior): Detect a thumb address and call
164 SETT appropriately.
165
8d0978fb
MF
1662015-06-23 Mike Frysinger <vapier@gentoo.org>
167
168 * configure: Regenerate.
169
b50a1532
MF
1702015-06-23 Mike Frysinger <vapier@gentoo.org>
171
172 * armdefs.h: Always include stdint.h.
173 [!__STDC__]: Delete.
174 [!HAVE_STDINT_H]: Delete.
175 * dbg_hif.h [!__STDC__]: Delete.
176
a3487082
MF
1772015-06-12 Mike Frysinger <vapier@gentoo.org>
178
179 * configure: Regenerate.
180
306f4178
MF
1812015-06-12 Mike Frysinger <vapier@gentoo.org>
182
183 * configure: Regenerate.
184
20bca71d
MF
1852015-04-18 Mike Frysinger <vapier@gentoo.org>
186
187 * sim-main.h (SIM_CPU): Delete.
188
7e83aa92
MF
1892015-04-18 Mike Frysinger <vapier@gentoo.org>
190
191 * sim-main.h (sim_cia): Delete.
192
034685f9
MF
1932015-04-17 Mike Frysinger <vapier@gentoo.org>
194
195 * sim-main.h (CIA_GET, CIA_SET): Delete.
196
27b97b40
MF
1972015-04-17 Mike Frysinger <vapier@gentoo.org>
198
199 * wrapper.c (arm_pc_get, arm_pc_set): New functions.
200 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
201 CPU_PC_STORE for all cpus.
202
78e9aa70
MF
2032015-04-15 Mike Frysinger <vapier@gentoo.org>
204
205 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
206 * sim-main.h (STATE_CPU): Delete.
207
bf12d44e
MF
2082015-04-13 Mike Frysinger <vapier@gentoo.org>
209
210 * configure: Regenerate.
211
e787f858
MF
2122015-04-12 Mike Frysinger <vapier@gentoo.org>
213
214 * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list.
215
122bbfb5
MF
2162015-04-06 Mike Frysinger <vapier@gentoo.org>
217
218 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
219
0fe84f3f
MF
2202015-04-01 Mike Frysinger <vapier@gentoo.org>
221
222 * Makefile.in (armos.o, armcopro.o, maverick.o, iwmmxt.o, arminit.o,
223 armrdi.o, armsupp.o, thumbemu.o, bag.o, wrapper.o): Delete rules.
224 * tconfig.h: Delete file.
225
aadc9410
MF
2262015-03-31 Mike Frysinger <vapier@gentoo.org>
227
228 * config.in, configure: Regenerate.
229
49d62f89
MF
2302015-03-30 Mike Frysinger <vapier@gentoo.org>
231
232 * Makefile.in (SIM_RUN_OBJS): Delete.
233 (SIM_EXTRA_CFLAGS): Delete -DSIM_TARGET_SWITCHES and
234 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
235 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
236 * sim-main.h: New file.
237 * wrapper.c: Delete armdefs.h, sim-utils.h, and run-sim.h includes.
238 Add sim-main.h and sim-options.h includes.
239 (sim_callback, mem_size, trace): Add TODO comments.
240 (state): Delete static and add TODO comment.
241 (sim_kind, myname, big_endian): Delete.
242 (init): Change big_endian to CURRENT_TARGET_BYTE_ORDER check.
243 (sim_size, sim_trace, sim_info, sim_target_display_usage, sim_load,
244 sim_do_command, sim_set_callbacks, sim_complete_command): Delete.
245 (sim_target_parse_command_line): Mark static.
246 (free_state): New function.
247 (sim_open): Rewrite to use new common logic.
248 (sim_close): Delete body.
249
dbf8e8af
MF
2502015-03-30 Mike Frysinger <vapier@gentoo.org>
251
252 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
253 * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
254 ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
255 (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
256
58b991b1
MF
2572015-03-30 Mike Frysinger <vapier@gentoo.org>
258
259 * armemu.c [MODE32] (handle_v6_insn): Move definition.
260 (ARMul_Emulate26): Initialize do_int after label target.
261 * armemu.h (UNDEF_Test, UNDEF_Shift, UNDEF_MSRPC, UNDEF_MRSPC,
262 UNDEF_MULPCDest, UNDEF_MULDestEQOp1, UNDEF_LSRBPC,
263 UNDEF_LSRBaseEQOffWb, UNDEF_LSRBaseEQDestWb, UNDEF_LSRPCBaseWb,
264 UNDEF_LSRPCOffWb, UNDEF_LSMNoRegs, UNDEF_LSMPCBase,
265 UNDEF_LSMUserBankWb, UNDEF_LSMBaseInListWb, UNDEF_SWPPC,
266 UNDEF_CoProHS, UNDEF_MCRPC, UNDEF_LSCPCBaseWb,
267 UNDEF_UndefNotBounced, UNDEF_ShortInt, UNDEF_IllegalMode,
268 UNDEF_Prog32SigChange, UNDEF_Data32SigChange): Define to while(0).
269 * armsupp.c (ARMul_Align): Convert old style prototype.
270 * bag.c (addtolist, killwholelist): Mark static.
271 (BAG_newbag): Convert old style prototype.
272 * maverick.c (mv_compute_host_endianness): Delete.
273 * wrapper.c (verbosity, sim_set_verbose): Delete.
274 (init): Set state->verbose to 0.
275
c4c9c44f
MF
2762015-03-30 Mike Frysinger <vapier@gentoo.org>
277
278 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
279 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
280 SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
281 * config.in, configure: Regenerate.
282
457983e3
MF
2832015-03-30 Mike Frysinger <vapier@gentoo.org>
284
285 * Makefile.in (COPRO): Delete.
286 (SIM_OBJS): Expand COPRO.
287 * configure.ac: Deletd stdint.h check.
288 (COPRO): Delete.
289 * configure: Regenerate.
290
ae7d0cac
MF
2912015-03-16 Mike Frysinger <vapier@gentoo.org>
292
293 * config.in, configure: Regenerate.
294 * tconfig.in: Rename file ...
295 * tconfig.h: ... here.
296
465fb143
MF
2972015-03-14 Mike Frysinger <vapier@gentoo.org>
298
299 * Makefile.in (SIM_EXTRA_CFLAGS): Add
300 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
301 (SIM_RUN_OBJS): Set to run.o.
302
5cddc23a
MF
3032015-03-14 Mike Frysinger <vapier@gentoo.org>
304
305 * configure.ac (AC_CHECK_HEADERS): Delete unistd.h.
306 * aclocal.m4, configure: Regenerate.
307
2974be62
AM
3082014-08-19 Alan Modra <amodra@gmail.com>
309
310 * configure: Regenerate.
311
faa743bb
RM
3122014-08-15 Roland McGrath <mcgrathr@google.com>
313
314 * configure: Regenerate.
315 * config.in: Regenerate.
316
1d63324c
NC
3172014-03-18 Nick Clifton <nickc@redhat.com>
318
319 * wrapper.c: Convert function declarations to ISO C format.
320 (sim_open): Delete code for handling t,d and z command line
321 options.
322
8d052926
NC
3232014-03-14 Nick Clifton <nickc@redhat.com>
324
325 * wrapper.c (op_print): New function.
326 (sim_dis_read): New function.
327 (print_insn): New function - disassembles the given instruction.
328 (sim_trace): Note that tracing is now allowed.
329 (sim_create_inferior): Default to emulating v6.
330 Initialise the disassembler machinery.
331 (sim_target_parse_command_line): Add support for -t -d and -z
332 options.
333 (sim_target_display_usage): Note existence of -d and -z options.
334 (sim_open): Parse -t -d and -z options.
335 * armemu.h: Add exports of trace, disas and trace_funcs.
336 Add prototype for print_insn.
337 * armemu.c (ARMul_Emulate26): Add tracing code.
338 Delete unused variables.
339 * thumbemu (handle_v6_thumb_insn): Delete unused variable Rd.
340 Move Rm variable into switch cases.
341 Add tracing code.
342
343 * armcopro.c (XScale_cp15_init): Add a return value.
344 (XScale_cp13_init): Likewise.
345 (XScale_cp14_init): Likewise.
346 (XScale_cp15_LDC): Delete unused function.
347 (XScale_cp15_STC): Likewise.
348 * maverick.c: Delete comment inside comment.
349 (DSPInit): Delete unused function.
350 (DSPMCR4): Fix compile time warning about missing parenthesis.
351 (DSPMCR5): Likewise.
352 (DSPCDP6): Delete unused variable opcode2.
353
b9366cf3
DM
3542014-03-14 David McQuillan <dmcq@tao-group.com>
355
356 PR sim/8388
357 * armemu.c (WriteR15Load): New function. Determines if the state
358 can be changed upon a write to R15.
359 (LoadMult): Use WriteR15Load.
360 * armemu.h (WRITEDESTB): Use WriteR15Load.
361
60d847df
MF
3622014-03-10 Mike Frysinger <vapier@gentoo.org>
363
364 * wrapper.c (sim_do_command): Add const to cmd.
365
b2b255bd
MF
3662014-03-05 Mike Frysinger <vapier@gentoo.org>
367
368 * wrapper.c (sim_load): Add const to prog.
369
bf3d9781
AM
3702013-09-23 Alan Modra <amodra@gmail.com>
371
372 * configure: Regenerate.
373
31e6ad7d
MF
3742013-06-03 Mike Frysinger <vapier@gentoo.org>
375
376 * aclocal.m4, configure: Regenerate.
377
590919de
MF
3782013-05-07 Jayant Sonar <jayant.sonar@kpitcummins.com>
379 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
380
381 * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT.
382
19a3671c
JB
3832012-12-19 Joel Brobecker <brobecker@adacore.com>
384
385 * COPYING: Update to GPL version 3.
386
f253d86d
NC
3872012-09-03 Nick Clifton <nickc@redhat.com>
388
389 PR sim/14540
390 * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction
391 is denied.
392
9256caa6
KB
3932012-08-01 Kevin Buettner <kevinb@redhat.com>
394
395 * wrapper.c (libiberty.h): Include.
396 (sim_store_register, sim_fetch_register): On success, return
397 length, instead of -1.
398
5f3ef9d0
JB
3992012-06-15 Joel Brobecker <brobecker@adacore.com>
400
401 * config.in, configure: Regenerate.
402
b0f05691
NC
4032012-06-13 Nick Clifton <nickc@redhat.com>
404
405 * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
406 binaries (for now).
407
a493e3e2
PA
4082012-05-24 Pedro Alves <palves@redhat.com>
409
410 PR gdb/7205
411
72f4393d 412 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
a493e3e2 413
a6ff997c
NC
4142012-05-18 Nick Clifton <nickc@redhat.com>
415
416 PR 14072
417 * wrapper.c: Include config.h before system header files.
418
2232061b
MF
4192012-03-24 Mike Frysinger <vapier@gentoo.org>
420
421 * aclocal.m4, config.in, configure: Regenerate.
422
db2e4d67
MF
4232011-12-03 Mike Frysinger <vapier@gentoo.org>
424
425 * aclocal.m4: New file.
426 * configure: Regenerate.
427
9c082ca8
MF
4282011-10-17 Mike Frysinger <vapier@gentoo.org>
429
430 * configure.ac: Change include to common/acinclude.m4.
431
6ffe910a
MF
4322011-10-17 Mike Frysinger <vapier@gentoo.org>
433
434 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
435 call. Replace common.m4 include with SIM_AC_COMMON.
436 * configure: Regenerate.
437
161fc452
NC
4382011-07-01 Nick Clifton <nickc@redhat.com>
439
440 PR sim/12737
441 * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a
442 signed compare.
443 (WMAC): Extend computed result before adding to result register.
444 (WRSA): Sign extend 32-bit values before shifting.
445
af9f7da7
MF
4462011-04-16 Mike Frysinger <vapier@gentoo.org>
447
448 * wrapper.c (sim_complete_command): New stub function.
449
363a6e9f
OS
4502010-05-26 Ozkan Sezer <sezeroz@gmail.com>
451
452 * communicate.c (MYread_char): Check error return from accept() call
453 by its equality to -1 not by it being negative.
454 (MYread_charwait): Likewise.
455 * main.c (main): Likewise for both socket() and accept() calls.
456
5558e7e6
MF
4572010-04-14 Mike Frysinger <vapier@gentoo.org>
458
459 * wrapper.c (sim_write): Add const to buffer arg.
460
3725885a
RW
4612010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
462
463 * configure: Regenerate.
464
d6416cdc
RW
4652009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
466
81ecdfbb
RW
467 * config.in: Regenerate.
468 * configure: Likewise.
469
d6416cdc
RW
470 * configure: Regenerate.
471
a85c0b49
JS
4722008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
473
474 * arminit.c, iwmmxt.c: Include <string.h> to
475 eliminate warning.
b5bd9624
HPN
4762008-07-11 Hans-Peter Nilsson <hp@axis.com>
477
478 * configure: Regenerate to track ../common/common.m4 changes.
479 * config.in: Ditto.
480
6efef468 4812008-06-06 Vladimir Prus <vladimir@codesourcery.com>
72f4393d
L
482 Daniel Jacobowitz <dan@codesourcery.com>
483 Joseph Myers <joseph@codesourcery.com>
6efef468
JM
484
485 * configure: Regenerate.
486 * wrapper.c (sim_target_display_usage): Add help parameter.
487
e1c9b6f1
MM
4882007-02-27 Mark Mitchell <mark@codesourcery.com>
489
490 * armos.c (SWIflen): Do not treate file descriptor zero as
491 special.
492
1306df90
NC
4932007-02-15 Nick Clifton <nickc@redhat.com>
494
495 * armemu.c (handle_v6_insn): Fix typo in sign extension test of
496 the sext and sxtah instructions.
497
8944021f
DJ
4982007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
499
500 Reported by timeless@gmail.com:
501 * wrapper.c (sim_target_parse_arg_array): Do not return void value.
502
edc5d9ec
HPN
5032006-12-21 Hans-Peter Nilsson <hp@axis.com>
504
505 * acconfig.h: Remove.
506 * config.in: Regenerate.
507
e85e3205
RE
5082006-06-13 Richard Earnshaw <rearnsha@arm.com>
509
510 * configure: Regenerated.
511
2f0122dc
DJ
5122006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
513
514 * configure: Regenerated.
515
20e95c23
DJ
5162006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
517
518 * configure: Regenerated.
519
4b1d9c58
PB
5202006-03-07 Paul Brook <paul@codesourcery.com>
521
522 * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
523
eeea4660
DJ
5242006-02-01 Shaun Jackman <sjackman@gmail.com>
525
526 * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
527 call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
528
aba6488e
MM
5292005-11-23 Mark Mitchell <mark@codesourcery.com>
530
531 * wrapper.c (gdb/signals.h): Include it.
532 (SIGTRAP): Don't define.
533 (SIGBUS): Likewise.
534 (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
535
2be701a3
DJ
5362005-11-16 Shaun Jackman <sjackman@gmail.com>
537
eeea4660 538 * armos.c: Include limits.h
2be701a3
DJ
539 (unlink): Remove this macro. It is unused in this file and
540 conflicts with sim_callback->unlink.
541 (PATH_MAX): Define as 1024 if not already defined.
542 (ReadFileName): New function.
543 (SWIopen): Fix a potential buffer overflow.
544 (SWIremove): New function.
545 (SWIrename): Ditto.
546 (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
547 SWI_Remove, and SWI_Rename, as well as the RDI calls
548 AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
549 AngelSWI_Reason_Rename.
550
c4793bac
PB
5512005-09-19 Paul Brook <paul@codesourcery.com>
552
553 * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
554 available.
555 * armemu.c: Use them.
556 * armvirt.c (ARMul_MemoryInit): Use correct type for size.
557 * configure.ac: Check for stdint.h.
558 * config.in: Regenerate.
559 * configure: Regenerate.
560
546aee7a
NC
5612005-05-24 Nick Clifton <nickc@redhat.com>
562
563 * thumbemu.c (handle_v6_thumb_insn): New function.
564 (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
565 instruction binary is encountered.
566
380d9419
NC
5672005-05-12 Nick Clifton <nickc@redhat.com>
568
569 * Update the address and phone number of the FSF organization in
570 the GPL notices in the following files:
571 COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
572 armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
573 armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
574 communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
575 gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
576 maverick.c, parent.c, thumbemu.c, wrapper.c
577
8207e0f2
NC
5782005-04-20 Nick Clifton <nickc@redhat.com>
579
580 * armemu.c (handle_v6_insn): New function - emulate a few of the
581 v6 instructions - the ones now generated by GCC.
582 (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
583 found.
584 * armdefs.h (struct ARMul_State): Add new field: is_v6.
585 (ARM_v6_Prop): Define.
586 * arminit.c (ARMul_NewState): Initialise the v6 flag.
587 (ARMul_SelectProcessor): Determine if the v6 flag should be
588 set.
589 * wrapper.c (sim_create_inferior): For unknown architectures,
590 default to allowing the v6 instructions.
72f4393d 591
16d55f14
NC
5922005-04-18 Nick Clifton <nickc@redhat.com>
593
594 * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
595 operator to the RHS.
596 (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
597 indicate an unsigned long long constant.
598
2b193c4a
MK
5992005-03-23 Mark Kettenis <kettenis@gnu.org>
600
601 * configure: Regenerate.
602
35695fd6
AC
6032005-01-14 Andrew Cagney <cagney@gnu.org>
604
605 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
606 explicit call to AC_CONFIG_HEADER.
607 * configure: Regenerate.
608
f0569246
AC
6092005-01-12 Andrew Cagney <cagney@gnu.org>
610
611 * configure.ac: Update to use ../common/common.m4.
612 * configure: Re-generate.
613
38f48d72
AC
6142005-01-11 Andrew Cagney <cagney@localhost.localdomain>
615
616 * configure: Regenerated to track ../common/aclocal.m4 changes.
617
b7026657
AC
6182005-01-07 Andrew Cagney <cagney@gnu.org>
619
620 * configure.ac: Rename configure.in, require autoconf 2.59.
621 * configure: Re-generate.
622
379832de
HPN
6232004-12-08 Hans-Peter Nilsson <hp@axis.com>
624
625 * configure: Regenerate for ../common/aclocal.m4 update.
626
0aaa4a81
AC
6272004-06-28 Andrew Cagney <cagney@gnu.org>
628
629 * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
630
a4c9740c
MM
6312003-12-29 Mark Mitchell <mark@codesourcery.com>
632
633 * armos.c (fcntl.h): Do not include it.
634 (O_RDONLY): Do not define.
635 (O_WRONLY): Likewise.
636 (O_RDWR): Likewise.
637 (targ-vals.h): Include it.
638 (translate_open_mode): Use TARGET_O_* instead of O_*.
639 (SWIopen): Likewise.
640 * Makefile.in (armos.o): Depend on targ-vals.h.
641
c88931b0
NC
6422003-04-13 Nick Clifton <nickc@redhat.com>
643
644 * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
645 mode.
646 (PutWord): Likewise.
647
3a3d6f65
NC
6482003-03-30 Nick Clifton <nickc@redhat.com>
649
650 * configure.in (CON_FLAGS): Remove.
651 (COPRO): Unconditionally include iwmmxt.o.
652 * configure: Regenerate.
653 * Makefile.in (CON_FLAGS): Remove.
654 * armcopro.c: Remove use of __IWMMXT__ flag.
655 * wrapper.c: Likewise.
656 * armemu.c: Likewise.
657 Add explanatory comment for suppressed code.
658
6592003-03-27 Nick Clifton <nickc@redhat.com>
660
661 * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
662
0f026fd0
NC
6632003-03-27 Nick Clifton <nickc@redhat.com>
664
665 * configure.in: (CON_FLAGS): Define and intialise.
666 (COPRO): Add iwmmxt.o if configuring for XScale.
667 * configure: Regenerate.
668 * Makefile.in (iwmmxt.o): Add rule to build.
669 (COM_FLAGS): Define.
670 (ALL_FLAGS): Add CON_FLAGS.
671 * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
672 * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
673 (ARM_iWMMXt_Prop): Define.
674 * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
675 pass to coprocessor.
676 * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
677 (ARMul_Abort): Catch branches through uninitialised vectors.
678 * armos.c (softevtorcode): Update comment.
679 (ARMul_OsInit): Use ARMUndefinedInstrV.
0f026fd0
NC
680 * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
681 (sim_store_register): Handle iWMMXt registers.
682 (sim_fetch_register): Handle iWMMXt registers.
683 * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
684 functions.
685 * iwmmxt.c: New file: iWMMXt emulator.
686
dd97b6fd 6872003-03-20 Nick Clifton <nickc@redhat.com>
f603c8fe
NC
688
689 * Contribute support for Cirrus Maverick ARM co-processor,
72f4393d
L
690 written by Aldy Hernandez <aldyh@redhat.com> and
691 Andrew Cagney <cagney@redhat.com>:
f603c8fe
NC
692
693 * maverick.c: New file: Support for Maverick floating point
72f4393d
L
694 co-processor.
695 * Makefile.in: Add maverick.o target.
696 * configure.in (COPRO): Add maverick.o.
697 * configure: Regenerate.
698 * armcopro.c (ARMul_CoProInit): Only initialise co-processors
f603c8fe
NC
699 available on target processor. Add code to initialse Maverick
700 co-processor support code.
72f4393d
L
701 * armdefs.h (ARMul_state): Add is_ep9312 field.
702 (ARM_ep9312_Prop): Define.
703 * armemu.h: Add prototypes for Maverick co-processor
f603c8fe 704 functions.
72f4393d 705 * arminit.c (ARMul_SelectProcessor): Initialise the
f603c8fe 706 co-processor support once the chip has been selected.
72f4393d
L
707 * wrapper.c: Add support for Maverick co-processor.
708 (init): Do not call ARMul_CoProInit. Delays this until the
f603c8fe
NC
709 chip has been selected.
710
0d9fd8f1
NC
7112003-03-02 Nick Clifton <nickc@redhat.com>
712
713 * armos.c (SWIWrite0): Catch big-endian bug when printing
714 characters.
715
6b4a8935
AC
7162003-02-27 Andrew Cagney <cagney@redhat.com>
717
718 * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
72f4393d 719
45fdcabe
BE
7202003-01-10 Ben Elliston <bje@redhat.com>
721
722 * README.Cygnus: Rename from this ..
723 * README: .. to this.
724
058f270d
AC
7252002-09-27 Andrew Cagney <ac131313@redhat.com>
726
727 * wrapper.c (sim_open): Add support for -m<mem-size>.
728 (mem_size): Reduce to 2MB.
729 Fix PR gdb/433.
730
c7a7b500
NC
7312002-08-15 Nick Clifton <nickc@redhat.com>
732
733 * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
734 can be caused by an interrupted system call being resumed by GDB.
735
630ace25
NC
7362002-07-05 Nick Clifton <nickc@cambridge.redhat.com>
737
738 * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
739 and MIAxy instructions.
72f4393d 740
7b77dec6
NC
7412002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
742
743 * armos.h (ADP_Stopped_RunTimeError): Set correct value.
744
c8cca39f
AC
7452002-06-16 Andrew Cagney <ac131313@redhat.com>
746
747 * configure: Regenerated to track ../common/aclocal.m4 changes.
748
26216b98
AC
7492002-06-12 Andrew Cagney <ac131313@redhat.com>
750
751 * Makefile.in: Update copyright.
752 (wrapper.o): Specify dependencies.
753 * wrapper.c: Include "gdb/sim-arm.h".
754 (sim_store_register, sim_fetch_register): Rewrite using `enum
755 arm_sim_regs' and a switch.
756
3c25f8c7
AC
7572002-06-09 Andrew Cagney <cagney@redhat.com>
758
759 * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
760 * armos.c: Include "gdb/callback.h".
761
5aa682b2
NC
7622002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
763
764 * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
765 if a Data Abort is detected.
766
7378e198
NC
7672002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
768
10b57fcb
NC
769 * armvirt.c (GetWord): Only perform access checks if 'check'
770 is set.
771 (PutWord): Likewise.
772 * wrapper.c (sim_create_inferior): Report unknown machine
773 numbers.
7378e198
NC
774 * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
775 2, it has already been advanced.
776
2984e114
NC
7772002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
778
779 * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
780 instruction do not add in the second bit of the base address -
781 this has already been accounted for.
782
8b2440b7
NC
7832002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
784
785 * armcopro.c (check_cp13_access): Allow access to register 1 when
786 CRm is 1.
787 (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
788
de4112fa
NC
7892002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
790
7f53bce4 791 * Makefile.in (SIM_TARGET_SWITCHES): Define.
de4112fa
NC
792 * armos.c (swi_mask): Define. Initialise to supporting all
793 SWI emulations.
794 (ARMul_OSInit): For XScale targets, only support the ANGEL
795 SWI interface. (This is at the request if Intel).
796 (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
72f4393d 797 SWI call should be emulated.
de4112fa
NC
798 Do not fall through from AngelSWI_Reason_WriteC.
799 Propagate exit code from RedBoot Exit SWI.
800 * rdi-dgb.h (swi_mask): Prototype.
801 (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
802 * wrapper.c (sim_target_parse_command_line): New function.
803 Look for and handle --swi-support switch.
804 (sim_target_parse_arg_array): New function. Process an argv
805 array for parsing by sim_target_parse_command_line.
806 (sim_target_display_usage): New function. Describe syntax of
807 --swi-suppoort switch.
808 (sim_open): Add call to sim_target_parse_arg_array).
809
d8512e6a
NC
8102002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
811
812 * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
813 mode and some of its system calls.
814
ae60d3dd
AG
8152002-03-17 Anthony Green <green@redhat.com>
816
817 * wrapper.c (mem_size): Increase the default target memory to 8MB.
818
b3ba81f8
KS
8192002-02-21 Keith Seitz <keiths@redhat.com>
820
821 * armos.c (SWIWrite0): Use generic host_callback mechanism
822 for supported OS functions "open", "close", "write", etc.
823 (SWIopen): Likewise.
824 (SWIread): Likewise.
825 (SWIwrite): Likewise.
826 (SWIflen): Likewise.
827 (ARMul_OSHandleSWI): Likewise.
828
c17aa318
NC
8292002-02-05 Nick Clifton <nickc@cambridge.redhat.com>
830
831 * wrapper.c (sim_create_inferior): Modify previous patch so that
832 it is only triggered for COFF format executables.
833
25180f8a
NC
8342002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
835
c17aa318
NC
836 * wrapper.c (sin_create_inferior): If a v5 architecture is
837 detected, assume it might be an XScale binary, since there is no
838 way to distinguish between the two in the COFF file format.
25180f8a 839
57165fb4
NC
8402002-01-10 Nick Clifton <nickc@cambridge.redhat.com>
841
842 * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
843 * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
844 and CPRead[14].
845 Fix formatting. Improve layout.
846 * armemu.h: Fix formatting. Improve layout.
847
272fcdcd
NC
8482002-01-09 Nick Clifton <nickc@cambridge.redhat.com>
849
850 * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
851 return zeroes in the other words.
86c735a5 852 General formatting tidy ups.
272fcdcd 853
6746a76a
BH
8542001-11-16 Ben Harris <bjh21@netbsd.org>
855
856 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
857 $(srcdir)/....
858 (armemu26.o): Ditto.
859
ff44f8e3
NC
8602001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
861
862 * armemu.h (CP_ACCESS_ALLOWED): New macro.
863 Fix formatting.
864 * armcopro.c (read_cp14_reg): Make static.
865 (write_cp14_reg): Make static.
866 (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
867 Fix formatting.
868 * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
869 (ARMul_STC): Check CP_ACCESS_ALLOWED.
870 (ARMul_MCR): Check CP_ACCESS_ALLOWED.
871 (ARMul_MRC): Check CP_ACCESS_ALLOWED.
872 (ARMul_CDP): Check CP_ACCESS_ALLOWED.
873 Fix formatting.
874 * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not
875 equal to 15.
876 (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15.
877 Fix formatting.
878
fb7a8ef0
NC
8792001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
880
881 * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
882 instructions with post indexed addressing modes.
883
dac07255
NC
8842001-05-08 Jens-Christian Lache <lache@tu-harburg.de>
885
886 * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
887 determine rocesor mode.
888
c3ae2f98
MG
8892001-04-18 matthew green <mrg@redhat.com>
890
891 * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
892 (read_cp15_reg): Make non-static.
893 (XScale_cp15_LDC): Update for write_cp15_reg() change.
894 (XScale_cp15_MCR): Likewise.
895 (XScale_cp15_write_reg): Likewise.
896 (XScale_check_memacc): New function. Check for breakpoints being
897 activated by memory accesses. Does not support the Branch Target
898 Buffer.
899 (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
900 (XScale_debug_moe): New function. Set the debug Method Of Entry,
901 if configured.
902 (write_cp14_reg): Reset count counter if requested.
903 * armdefs.h (struct ARMul_State): New members `LastTime' and
904 `CP14R0_CCD' used for the timer/counters.
905 (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
906 ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
907 ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
908 ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
909 ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
910 ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
911 ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
912 ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
913 defines for XScale registers.
914 (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
915 (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
916 (ARMul_Emulate32): Handle the clock counter and hardware instruction
917 breakpoints. Call XScale_set_fsr_far() for software breakpoints and
918 software interrupts.
919 (LoadMult): Call XScale_set_fsr_far() for data aborts.
920 (LoadSMult): Likewise.
921 (StoreMult): Likewise.
922 (StoreSMult): Likewise.
923 * armemu.h (write_cp15_reg): Update prototype.
924 * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
925 (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
926 register 0.
927 * armvirt.c (GetWord): Call XScale_check_memacc().
928 (PutWord): Likewise.
929
3cf84db9
NC
9302001-03-20 Nick Clifton <nickc@redhat.com>
931
932 * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
933 when loading unaligned thumb instructions.
934
4f3c3dbb
NC
9352001-03-06 Nick Clifton <nickc@redhat.com>
936
937 * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
72f4393d
L
938 Compute destination address of BLX(1) instruction by
939 taking bit 1 from PC and not from bit 0 of the offset.
4f3c3dbb 940
917bca4f
NC
9412001-02-27 Nick Clifton <nickc@redhat.com>
942
943 * armvirt.c (GetWord): Add new parameter - check - to enable or
944 disable the alignment checking.
945 (PutWord): Add new parameter - check - to enable or disable the
946 alignment checking.
947 (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
948 (ARMul_ReadWord): Pass extra parameter to GetWord.
949 (ARMul_WriteWord): Pass extra parameter to PutWord.
950 (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
951 (ARMul_WriteByte): Pass extra parameter to GetWord.
952 (ARMul_SwapWord): Pass extra parameter to PutWord.
953 (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
954 (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
72f4393d 955
917bca4f
NC
956 * armdefs.h: Add prototypes for ARMul_SafeReadByte and
957 ARMul_SafeWriteByte.
72f4393d 958
917bca4f
NC
959 * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
960 (sim_read): Use ARMul_SafeReadByte.
961
962 * armos.c (in_SWI_handler): Remove.
963 (SWIWrite0): Use ARMul_SafeReadByte.
964 (WriteCommandLineTo): Use ARMul_SafeWriteByte.
965 (SWIopen): Use ARMul_SafeReadByte.
966 (SWIread): Use ARMul_SafeWriteByte.
967 (SWIwrite): Use ARMul_SafeReadByte.
968 (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
969 (ARMul_OSException): Remove use of is_SWI_handler.
72f4393d 970
2ef048fc
NC
9712001-02-16 Nick Clifton <nickc@redhat.com>
972
973 * armemu.c: Remove Prefetch abort for breakpoints. Instead set
974 the state to RESUME.
975
5f7d0a33
NC
9762001-02-14 Nick Clifton <nickc@redhat.com>
977
44e23e57
NC
978 * armemu.c: Add code to preserve processor mode when a prefetch
979 abort is signalled after processing a breakpoint.
980
5f7d0a33
NC
981 * wrapper.c (sim_create_inferior): Reset processor into ARM mode
982 for any machine type except the early ARMs.
983
1e5d4e46
NC
9842001-02-13 Nick Clifton <nickc@redhat.com>
985
986 * armos.c (in_SWI_handler): New static variable.
987 (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
988 (ARMul_OSException): Ignore exceptions generated whilst emulating
989 a SWI.
990
179ae6ea
NC
9912001-02-12 Nick Clifton <nickc@redhat.com>
992
993 * armemu.h (NEGBRANCH): Fix defintion.
994
dda308f5
NC
9952001-02-01 Nick Clifton <nickc@redhat.com>
996
997 * armemu.c (LoadSMult): Update base address register after
998 restoring register bank.
999 (StoreMult): Update base address register after restoring register
1000 bank.
1001
88694af3
NC
10022001-01-31 Nick Clifton <nickc@redhat.com>
1003
1004 * armvirt.c (PutWord): Detect installation of SWI vector.
1005 (SWI_vector_installed): Define.
1006 * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
1007 * armos.h (SWI_vector_installed): Declare.
1008 * wrapper.c (SWI_vector_installed): Remove definition.
1009 (sim_write): Remove check of SWI vector installation
1010
ac1c9d3a
NC
10112000-12-18 Nick Clifton <nickc@redhat.com>
1012
1013 * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
1014 instruction.
1015
9a6b6a66
NC
10162000-12-10 Nick Clifton <nickc@redhat.com>
1017
1018 * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
1019
760a7bbe
NC
10202000-12-07 Nick Clifton <nickc@redhat.com>
1021
1022 * armemu.c (ARMul_Emulate26): Detect double word load and
1023 store instructions and call emulation routines.
1024 (Handle_Load_Double): Emulate a double word load instruction.
1025 (Handle_Store_Double): Emulate a double word store
1026 instruction.
1027
7f53bc35
NC
10282000-12-03 Nick Clifton <nickc@redhat.com>
1029
1030 * armos.c: Fix formatting.
1031 (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
1032 mode.
1033
f1129fb8
NC
10342000-11-29 Nick Clifton <nickc@redhat.com>
1035
1036 * armdefs.h (State): Add 'v5e' and 'xscale' fields.
1037 (ARM_v5e_Prop): Define.
1038 (ARM_XScale_Prop): Define.
72f4393d 1039
f1129fb8
NC
1040 * wrapper.c (sim_create_inferior): Select processor based on
1041 machine number.
1042 (SWI_vector_installed): New boolean. Set to true if the SWI
1043 vector address is written to by the executable.
72f4393d 1044
f1129fb8
NC
1045 * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
1046 (ARMul_SelectProcessor): Initialise v5e and xscale signals.
1047 (ARMul_Abort): Fix calculation of LR address.
1048
1049 * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
1050 and a SWI is not handled by the simulator, pass the SWI off to the
1051 vector, otherwise issue a warning message and continue.
1052
1053 * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
72f4393d 1054
f1129fb8
NC
1055 * thumbemu.c: Add v5 instruction simulation.
1056 * armemu.c: Add v5, XScale and El Segundo instruction simulation.
1057
1058 * armcopro.c: Add XScale co-processor emulation.
1059 * armemu.h: Add exported XScale co-processor functions.
72f4393d 1060
3943c96b
NC
10612000-09-15 Nick Clifton <nickc@redhat.com>
1062
1063 * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
1064 property. Delete unnecessary processor names.
1065 (ARM_Strong_Prop): Delete.
1066 (STRONGARM): Delete.
1067 (ARM_v4_Prop): Add.
1068 (ARM_v5_Prop): Add
1069 (State): Delete is_StrongARM boolean. Add is_v4 and is_v5
1070 booleans.
1071
1072 * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
1073 (BUSUSEDINCPCN): Use is_v4 boolean.
1074
1075 * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
1076 (ARMul_SelectProcessor): Change second parameter from 'processor'
1077 to 'properties'. Set is_v4 and is_v5 booleans in State.
1078
1079 * armrdi.c: Remove use of ARM processor names. Replace with ARM
1080 processor properties.
1081
1082 * wrapper.c (sim_create_inferior): Choose properties passed to
1083 ARMul_SelectProcessor based on machine number.
1084
4bc1de7b
NC
10852000-08-14 Nick Clifton <nickc@redhat.com>
1086
1087 * armemu.c (LHPOSTDOWN): Compute write back value before
1088 performing load in case the offset register is overwritten.
1089 (LHPOSTUP): Ditto.
1090
0a4321b9
FN
10912000-07-14 Fernando Nasser <fnasser@cygnus.com>
1092
1093 * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
1094
64a10675
FN
10952000-07-14 Fernando Nasser <fnasser@cygnus.com>
1096
1097 * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
1098 new inferior.
1099
b0eae074
AO
11002000-07-04 Alexandre Oliva <aoliva@redhat.com>
1101
ae3c7619
AO
1102 * armvirt.c (ABORTS): Do not define.
1103
1e6b544a
AO
1104 * armdefs.h (struct ARMul_State): Add is_StrongARM.
1105 (ARM_Strong_Prop, STRONGARM): Define.
1106 * arminit.c (ARMul_NewState): Reset is_StrongARM.
1107 (ARMul_SelectProcessor): Set is_StrongARM.
1108 * wrapper.c (sim_create_inferior): Use bfd machine type to
1109 determine processor type to emulate.
1110 * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
1111 when emulating StrongARM.
1112
66210567
AO
1113 * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
1114
e063aa3b
AO
1115 * armemu.h (INSN_SIZE): New macro.
1116 (SET_ABORT): Save CPSR in SPSR and set LR.
1117 * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
1118 (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
1119 * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
1120
13b6dd6f
AO
1121 * armemu.c (LoadSMult): Use WriteR15() to discard the least
1122 significant bits of PC.
1123
892c6b9d
AO
1124 * armemu.h (WRITEDESTB): New macro.
1125 * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
1126 modify PC. Moved the existing logic...
1127 (WriteR15Branch): ... here. New function.
1128 (WriteR15, WriteSR15): Drop the two least significant bits.
1129 (LoadSMult): Use WriteR15Branch() to modify PC.
1130 (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
1131
cf52c765
AO
1132 * armemu.h (GETSPSR): Call ARMul_GetSPSR().
1133 * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
1134 extracted from state->Cpsr, but preserve the unused bits.
1135 (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
1136 (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
1137 get the full CPSR word.
1138
4ef2594f
AO
1139 * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
1140 (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
1141 (SETPSR, SET_INTMODE, SETCC): Removed.
1142 * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
1143 mask. Use SETPSR_* to modify PSR.
1144 (ARMul_SetCPSR): Load all bits from value.
1145 * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
1146
e62263b8
AO
1147 * armemu.c (ARMul_Emulate): Compute writeback value before
1148 loading, since the offset register may be the destination
1149 register.
1150
b0eae074
AO
1151 * armdefs.h (SYSTEMBANK): Define as USERBANK.
1152 * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
1153
ee9a7772
AO
11542000-06-22 Alexandre Oliva <aoliva@cygnus.com>
1155
f9c22bc3
AO
1156 * armemu.c (Multiply64): Fix computation of flag N.
1157
ee9a7772
AO
1158 * armemu.c (MultiplyAdd64): Fix computation of flag N.
1159
fe47e8df
AO
11602000-06-20 Alexandre Oliva <aoliva@cygnus.com>
1161
1162 * armemu.h (NEGBRANCH): Do not overwrite the two most significant
1163 bits of the offset.
1164
c1a72ffd
NC
11652000-05-25 Nick Clifton <nickc@cygnus.com>
1166
1167 * armcopro.c (MMUMCR): Only indicate mode change if a singal has
1168 really changed.
1169 (MMUWrite): Only indicate mode change if a singal has really
1170 changed.
1171
1172 * armdefs.h (SYSTEMMODE): Define.
1173 (BANK_CAN_ACEESS_SPSR): Define.
1174
1175 * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
1176 to advance before stopping the emulation.
1177
1178 * arminit.c (ARMul_Reset): Ensure Mode field of State is set
1179 correctly.
1180
1181 * armos.c (ARMul_OSInit): Create a initial stack pointer for
1182 System mode.
1183
1184 * armsupp.c (ModeToBank): Remove unused first parameter.
1185 Add support for System Mode.
1186 (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1187 (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1188 (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1189 (ARMulSwitchMode): Add support for System Mode.
1190
1191Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
eb2d80b4
AC
1192
1193 * configure: Regenerated to track ../common/aclocal.m4 changes.
1194
3463c3fb
NC
11952000-05-23 Nick Clifton <nickc@cygnus.com>
1196
1197 * wrapper.c (sim_store_register): Special handling for CPSR
1198 register.
1199
5d0d395e
FCE
12002000-03-11 Philip Blundell <philb@gnu.org>
1201
1202 * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
1203 Patch from Allan Skillman <Allan.Skillman@arm.com>.
1204
6c9e0292
FCE
1205Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
1206
1207 * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
1208
6d358e86
NC
12092000-02-08 Nick Clifton <nickc@cygnus.com>
1210
1211 * wrapper.c: Fix compile time warning messages.
1212 * armcopro.c: Fix compile time warning messages.
1213 * armdefs.h: Fix compile time warning messages.
1214 * armemu.c: Fix compile time warning messages.
1215 * armemu.h: Fix compile time warning messages.
1216 * armos.c: Fix compile time warning messages.
1217 * armsupp.c: Fix compile time warning messages.
1218 * armvirt.c: Fix compile time warning messages.
d0187574 1219 * bag.c: Fix compile time warning messages.
72f4393d 1220
dfcd3bfb
JM
12212000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
1222
1223 * *.[ch]: Use indent to make readable.
1224
c2d11a7d
JM
12251999-11-22 Nick Clifton <nickc@cygnus.com>
1226
1227 * armos.c (SWIread): Generate an error message if a huge read is
1228 performed.
1229 (SWIwrite): Generate an error message if a huge write is
1230 performed.
1231
5c44784c
JM
12321999-10-27 Nick Clifton <nickc@cygnus.com>
1233
1234 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
72f4393d 1235 breakpoint.
5c44784c 1236
2df3850c
JM
12371999-10-08 Ulrich Drepper <drepper@cygnus.com>
1238
1239 * armos.c (SWIopen): Always pass third parameter with 0666 since
1240 otherwise uninitialized memory gets access if the O_CREAT bit is
1241 set and so we possibly cannot access the file afterwards.
1242
2acceee2
JM
12431999-09-29 Doug Evans <devans@casey.cygnus.com>
1244
1245 * armos.c (SWIWrite0): Send output to stdout instead of stderr.
1246 (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
1247
d4f3574e
SS
1248Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
1249
1250 * configure: Regenerated to track ../common/aclocal.m4 changes.
1251
cd0fc7c3
SS
12521999-05-08 Felix Lee <flee@cygnus.com>
1253
1254 * configure: Regenerated to track ../common/aclocal.m4 changes.
72f4393d 1255
7a292a7a
SS
12561999-04-06 Keith Seitz <keiths@cygnus.com>
1257
1258 * wrapper.c (stop_simulator): New global.
1259 (sim_stop): Set sim state to STOP and set
1260 stop_simulator.
1261 (sim_resume): Reset stop_simulator.
1262 (sim_stop_reason): If stop_simulator is set, tell gdb
1263 that the we took SIGINT.
1264 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
1265 stop_simulator is set.
1266
12671999-04-02 Keith Seitz <keiths@cygnus.com>
1268
1269 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
1270 whenever the counter expires.
1271 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
1272
12731999-03-24 Nick Clifton <nickc@cygnus.com>
1274
1275 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
1276 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
1277
c906108c
SS
1278Mon Sep 14 09:00:05 1998 Nick Clifton <nickc@cygnus.com>
1279
1280 * wrapper.c (sim_open): Set endianness according to BFD or command
1281 line switch.
1282
1283 * tconfig.in: Define SIM_HAVE_BIENDIAN.
1284
1285Thu Aug 27 11:00:05 1998 Nick Clifton <nickc@cygnus.com>
1286
1287 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
1288 the same as either RdHi or RdLo.
1289
1290Thu Jul 2 10:24:35 1998 Nick Clifton <nickc@cygnus.com>
1291
1292 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
1293 Set Reg[0] based on reason for for the exception.
1294
1295Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com)
1296
1297 * armos.c (SWIwrite0): New function.
1298 (WriteCommandLineTo): New function.
1299 (SWIopen): New function.
1300 (SWIread): New function.
1301 (SWIwrite): New function.
1302 (SWIflen): New function.
72f4393d 1303 (ARMul_OSHandleSWI): Call new functions instead of handling
c906108c
SS
1304 these here.
1305 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
1306 (*): Reformat spacing to be a bit more GNUly.
72f4393d 1307 Most code taken from a patch by Anthony Thompson
c906108c
SS
1308 (athompso@cambridge.arm.com)
1309
1310Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
1311
1312 * armos.h: Add Angel SWI and its reason codes.
1313 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
1314
1315Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
1316
1317 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
1318 of ":tt" to catch stdin in addition to stdout.
1319 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
1320 or success of lseek().
1321
1322Wed May 20 17:36:25 1998 Nick Clifton <nickc@cygnus.com>
1323
1324 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
1325 to open stdout.
1326
1327Wed Apr 29 15:29:55 1998 Jeff Johnston <jjohnstn@cygnus.com>
1328
1329 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
1330 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
1331 seek from offset 0 and not to use R2 for whence since it is
1332 not passed as part of the SWI call.
1333
1334Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1335
1336 * configure: Regenerated to track ../common/aclocal.m4 changes.
1337
1338Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
1339
1340 * configure: Regenerated to track ../common/aclocal.m4 changes.
1341 * config.in: Ditto.
1342
1343Sun Apr 26 15:20:26 1998 Tom Tromey <tromey@cygnus.com>
1344
1345 * acconfig.h: New file.
1346 * configure.in: Reverted change of Apr 24; use sinclude again.
1347
1348Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1349
1350 * configure: Regenerated to track ../common/aclocal.m4 changes.
1351 * config.in: Ditto.
1352
1353Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
1354
1355 * configure.in: Don't call sinclude.
1356
1357Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1358
1359 * configure: Regenerated to track ../common/aclocal.m4 changes.
1360
1361Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1362
1363 * configure: Regenerated to track ../common/aclocal.m4 changes.
1364
1365Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1366
1367 * configure: Regenerated to track ../common/aclocal.m4 changes.
1368
1369Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1370
1371 * configure: Regenerated to track ../common/aclocal.m4 changes.
1372
1373Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
1374
1375 * armopts.h: Remove definition of LITTLEND - it is not used.
1376
1377Tue Feb 17 12:35:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
1378
1379 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
1380 length parameter. Return -1.
1381
1382Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1383
1384 * configure: Regenerated to track ../common/aclocal.m4 changes.
1385
1386Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1387
1388 * configure: Regenerated to track ../common/aclocal.m4 changes.
1389
1390Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1391
1392 * configure: Regenerated to track ../common/aclocal.m4 changes.
1393
1394Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1395
1396 * configure: Regenerated to track ../common/aclocal.m4 changes.
1397 * config.in: Ditto.
1398
1399Tue Dec 9 11:30:48 1997 Nick Clifton <nickc@cygnus.com>
1400
1401 * Makefile.in: Updated with changes from branch.
1402 * armdefs.h: ditto
1403 * armemu.c: ditto these changes
1404 * armemu.h: ditto add support for
1405 * armos.c: ditto the Thumb instruction
1406 * armsupp.c: ditto set and the new v4
1407 * armvirt.c: ditto architecture.
1408 * wrapper.c: ditto
1409 * thumbemu.c: New file from branch.
1410
1411
1412Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1413
1414 * configure: Regenerated to track ../common/aclocal.m4 changes.
1415
1416Thu Oct 30 13:54:06 1997 Nick Clifton <nickc@cygnus.com>
1417
1418 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
72f4393d 1419 from Tony Thompson at ARM: athompso@arm.com
c906108c
SS
1420
1421 * wrapper.c (sim_create_inferior): Add code to create an execution
1422 environment. Patch from Tony Thompson at ARM: athompso@arm.com
1423
1424Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1425
1426 * wrapper.c (sim_load): Pass lma_p and sim_write args to
1427 sim_load_file.
1428
1429Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1430
1431 * configure: Regenerated to track ../common/aclocal.m4 changes.
1432
1433Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1434
1435 * configure: Regenerated to track ../common/aclocal.m4 changes.
1436
1437Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1438
1439 * configure: Regenerated to track ../common/aclocal.m4 changes.
1440
1441Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1442
1443 * configure: Regenerated to track ../common/aclocal.m4 changes.
1444
1445Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1446
1447 * configure: Regenerated to track ../common/aclocal.m4 changes.
1448
1449Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1450
1451 * configure: Regenerated to track ../common/aclocal.m4 changes.
1452
1453Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1454
1455 * configure: Regenerated to track ../common/aclocal.m4 changes.
1456
1457Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1458
1459 * configure: Regenerated to track ../common/aclocal.m4 changes.
1460 * config.in: Ditto.
1461
1462Tue Aug 26 10:37:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
1463
1464 * wrapper.c (sim_kill): Delete.
1465 (sim_create_inferior): Add ABFD argument.
1466 (sim_load): Move setting of PC from here.
1467 (sim_create_inferior): To here.
1468
1469Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1470
1471 * configure: Regenerated to track ../common/aclocal.m4 changes.
1472 * config.in: Ditto.
1473
1474Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
1475
1476 * wrapper.c (sim_open): Add ABFD argument.
1477
1478Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
1479
1480 * wrapper.c (sim_open): Add callback argument.
1481 (sim_set_callbacks): Drop SIM_DESC argument.
1482
1483Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1484
1485 * configure: Regenerated to track ../common/aclocal.m4 changes.
1486
1487Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
1488
1489 * wrapper.c (sim_stop): Stub sim_stop function.
1490
1491Thu Apr 17 18:33:01 1997 Fred Fish <fnf@cygnus.com>
1492
1493 * arminit.c (ARMul_NewState): Preinitialize the state to
1494 all zero/NULL.
1495
1496Thu Apr 17 02:39:02 1997 Doug Evans <dje@canuck.cygnus.com>
1497
1498 * Makefile.in (SIM_OBJS): Add sim-load.o.
1499 * wrapper.c (sim_kind,myname): New static locals.
1500 (sim_open): Set sim_kind, myname.
1501 (sim_load): Call sim_load_file to do work. Set start address from bfd.
1502 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
1503
1504Thu Apr 17 11:48:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1505
1506 * wrapper.c (sim_trace): Update so that it matches prototype.
1507
1508Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1509
1510 * configure: Regenerated to track ../common/aclocal.m4 changes.
1511 * config.in: Ditto.
1512
1513Mon Apr 7 12:01:17 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1514
1515 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1516 $(srcdir)/....
1517 (armemu26.o): Ditto.
1518
1519Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1520
1521 * wrapper.c (sim_open): New arg `kind'.
1522
1523 * configure: Regenerated to track ../common/aclocal.m4 changes.
1524
1525Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
1526
1527 * COPYING: Update FSF address.
1528
1529Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1530
1531 * configure: Regenerated to track ../common/aclocal.m4 changes.
1532
1533Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1534
1535 * configure: Regenerated to track ../common/aclocal.m4 changes.
1536
1537Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1538
1539 * configure: Re-generate.
1540
1541Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1542
1543 * configure: Regenerate to track ../common/aclocal.m4 changes.
1544
1545Thu Mar 13 12:38:56 1997 Doug Evans <dje@canuck.cygnus.com>
1546
1547 * wrapper.c (sim_open): Has result now.
1548 (sim_*): New SIM_DESC argument.
1549
1550Tue Feb 4 13:22:21 1997 Doug Evans <dje@canuck.cygnus.com>
1551
1552 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
1553 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1554 * configure.in: sinclude ../common/aclocal.m4.
1555 * configure: Regenerated.
1556
1557Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1558
1559 * configure configure.in Makefile.in: Update to new configure
1560 scheme which is more compatible with WinGDB builds.
1561 * configure.in: Improve comment on how to run autoconf.
1562 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1563 * Makefile.in: Use autoconf substitution to install common
1564 makefile fragment.
1565
1566Wed Nov 20 01:05:10 1996 Doug Evans <dje@canuck.cygnus.com>
1567
1568 * run.c: Deleted, use one in ../common now.
1569 * Makefile.in: Delete everything that's been moved to
1570 ../common/Make-common.in.
1571 (SIM_OBJS): Define.
1572 * configure.in: Simplify using macros in ../common/aclocal.m4.
1573 * configure: Regenerated.
1574 * config.in: New file.
1575 * armos.c: #include config.h.
1576 * wrapper.c (mem_size): Value is in bytes now.
1577 (sim_callback): New global.
1578 (arm_sim_set_profile{,_size}): Delete.
1579 (arm_sim_set_mem_size): Rename to sim_size.
1580 (sim_do_command): Call printf_filtered via callback.
1581 (sim_set_callbacks): Record callback.
1582
1583Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1584
1585 * Makefile.in (mostlyclean): Remove config.log.
1586
1587Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1588
72f4393d
L
1589 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1590 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1591 (docdir): Removed.
1592 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1593 (AC_PROG_INSTALL): Added.
1594 * configure: Rebuilt.
c906108c
SS
1595
1596Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
1597
1598 * configure: Regenerate with autoconf 2.7.
1599
1600Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
1601
1602 * run.c (main): Use new bfd_big_endian macro.
1603
1604Mon Nov 20 17:40:38 1995 Doug Evans <dje@canuck.cygnus.com>
1605
1606 * run.c: Include "getopt.h".
1607 (verbose): Delete.
1608 (usage): Make static.
1609 (main): Call arm_sim_set_verbosity.
1610 Only load sections marked SEC_LOAD.
1611 * wrapper.c (mem_size, verbosity): New static global.
1612 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
1613 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
72f4393d 1614
c906108c
SS
1615Fri Nov 17 19:35:11 1995 Doug Evans <dje@canuck.cygnus.com>
1616
1617 * armdefs.h (ARMul_State): New member `verbose'.
1618 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
1619 * run.c (verbose): Make global.
1620 * wrapper.c (init): Set state->verbose.
1621 (ARMul_ConsolePrint): Don't print anything if !verbose.
1622
1623Fri Oct 13 15:30:30 1995 Doug Evans <dje@canuck.cygnus.com>
1624
1625 * armos.c: #include dbg_rdi.h.
1626 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
1627 * armos.h (SWI_Breakpoint): Define.
1628 * wrapper.c: #include armemu.h, dbg_rdi.h.
1629 (rc): Delete.
1630 (sim_resume): Use state->EndCondition to record stop state.
1631 Call FLUSHPIPE before returning.
1632 (sim_stop_reason): Determine reason from state->EndCondition.
1633
1634Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
1635
1636 * wrapper.c (sim_set_callbacks): New.
1637
1638Thu Sep 28 19:45:56 1995 Doug Evans <dje@deneb.cygnus.com>
1639
1640 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
1641 number of bytes not read/written (or -1).
1642
1643Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
1644
1645 * Makefile.in (maintainer-clean): New synonym for realclean.
1646
1647Fri Sep 8 14:27:20 1995 Ian Lance Taylor <ian@cygnus.com>
1648
1649 * configure.in: Remove AC_PROG_INSTALL.
1650 * configure: Rebuild.
1651 * Makefile.in (INSTALL): Revert to using install.sh.
1652 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
1653 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
1654 (mostlyclean): Make the same as clean, not distclean.
1655 (clean): Remove config.log.
1656 (install): Don't install in $(tooldir).
1657
1658Thu Sep 7 12:00:17 1995 Doug Evans <dje@canuck.cygnus.com>
1659
1660 (Try to) Update to new bfd autoconf scheme.
1661 * run.c: Don't include sysdep.h.
1662 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
1663 (CC, CFLAGS, AR, RANLIB): Likewise.
1664 (HDEFINES, TDEFINES): Define.
1665 (CC_FOR_BUILD): Delete.
1666 (host_makefile_frag): Delete.
1667 (Makefile): Don't depend on frags.
1668 * configure.in (sysdep.h): Don't create symlink.
1669 (host_makefile_frag, frags): Deleted.
1670 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
1671 * configure: Regenerated.
1672
1673Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1674
1675 * Update all FSF addresses except those in COPYING* files.
1676
1677Wed Jul 5 16:15:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1678
1679 * Makefile.in (clean): Remove run, libsim.a.
1680
1681 * Makefile.in, configure.in: converted to autoconf.
1682 * configure: New file, generated with autconf 2.4.
1683
1684 * arm.mt: Removed.
1685
1686Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
1687
1688 * wrapper.c (sim_do_command): New function.
1689
1690Tue Jun 13 10:57:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
1691
1692 * armos.c (ARMul_OSHandleSWI): New version to work with
1693 newlib simply.
1694
1695Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
1696
1697 * run.c (main): Grab return value from right register.
1698
1699Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
1700
1701 * New.
1702
1703