]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/arm/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / sim / arm / ChangeLog
CommitLineData
ebe9564b
MF
12021-02-28 Mike Frysinger <vapier@gentoo.org>
2
3 * configure: Regenerate.
4
760b3e8b
MF
52021-02-21 Mike Frysinger <vapier@gentoo.org>
6
7 * configure.ac (AC_CONFIG_MACRO_DIRS): Replace common with m4.
8 * aclocal.m4, configure: Regenerate.
9
136da8cd
MF
102021-02-13 Mike Frysinger <vapier@gentoo.org>
11
12 * configure.ac: Replace sinclude with AC_CONFIG_MACRO_DIRS.
13 * aclocal.m4, configure: Regenerate.
14
aa09469f
MF
152021-02-06 Mike Frysinger <vapier@gentoo.org>
16
17 * configure: Regenerate.
18
68ed2854
MF
192021-01-11 Mike Frysinger <vapier@gentoo.org>
20
21 * config.in, configure: Regenerate.
22
bf470982
MF
232021-01-09 Mike Frysinger <vapier@gentoo.org>
24
25 * configure: Regenerate.
26
46f900c0
MF
272021-01-08 Mike Frysinger <vapier@gentoo.org>
28
29 * configure: Regenerate.
30
3d52735b
MF
312021-01-04 Mike Frysinger <vapier@gentoo.org>
32
33 * wrapper.c: Include stdlib.h.
34
9416af6e
MF
352021-01-04 Mike Frysinger <vapier@gentoo.org>
36
37 * iwmmxt.c: Include stdlib.h.
38
dfb856ba
MF
392021-01-04 Mike Frysinger <vapier@gentoo.org>
40
41 * configure: Regenerate.
42
9f132af9
JB
432020-12-15 Nick Clifton <nickc@redhat.com>
44
45 * wrapper.c (sim_create_inferior): Accept some more ARM machine numbers.
46
472020-12-15 Jens Bauer <jens@plustv.dk>
48
49 * armemu.c (handle_v6_insn): Add support for SDIV and UDIV.
50 * thumbemu.c (handle_T2_insn): Likewise.
51
63aa0ac0
AB
522020-10-20 Dr. David Alan Gilbert <dgilbert@redhat.com>
53
54 * armos.c (SWIread): Fix printf format.
55
a5353ae6
LM
562020-08-13 Luis Machado <luis.machado@linaro.org>
57
58 PR sim/26365
59
60 * wrapper.c (sim_target_parse_command_line): Free discarded argv
61 entries.
62 (sim_open): Use a duplicate of argv instead of the original argv.
63
07f1f3aa
CB
642020-01-17 Christian Biesinger <cbiesinger@google.com>
65
66 * iwmmxt.c: Fix spelling error (seperate).
67
851c0536
LM
682019-12-06 Luis Machado <luis.machado@linaro.org>
69
70 * armemu.c (isize): Move this declaration ...
71 * arminit.c (isize): ... here.
72 * maverick.h: New file.
73 * wrapper.c: Include "maverick.h".
74 (<struct maverick_regs>, <union maverick_acc_regs>): Remove and update
75 comment.
76 (sim_create_inferior): Cast variables to proper type.
77 * maverick.c: Include "maverick.h".
78 (<struct maverick_regs>, <union maverick_acc_regs>): Move
79 declarations to maverick.h and update comment.
80 (DSPsc, DSPacc, DSPregs): Adjust comment.
81
43724d16
NC
822018-01-02 Nick Clifton <nickc@redhat.com>
83
84 PR 22663
85 * maverick.c (DSPCDP4): Add missing parameter to debug print
86 statement.
87
88240b18
YQ
882017-09-21 Yao Qi <yao.qi@linaro.org>
89
90 * wrapper.c (print_insn): Use disassembler instead of
91 print_insn_little_arm.
92
5c887dd5
JB
932017-09-06 John Baldwin <jhb@FreeBSD.org>
94
95 * configure: Regenerate.
96
13a590ca
MF
972017-02-13 Mike Frysinger <vapier@gentoo.org>
98
99 * armos.c: Include libiberty.h.
100 (SWIopen): Use ARRAY_SIZE.
101 * armsupp.c: Include libiberty.h.
102 (ModeToBank): Use ARRAY_SIZE.
103 * wrapper.c (sim_target_parse_command_line): Likewise.
104
7df94786
NC
1052016-07-14 Nick Clifton <nickc@redhat.com>
106
107 * armemu.c (Multiply64): Only issue error messages about invalid
108 arguments if debugging is enabled.
109 * armos.c (ARMul_OSHandleSWI): Ignore invalid flags.
110
ce39bd38
MF
1112016-01-10 Mike Frysinger <vapier@gentoo.org>
112
113 * config.in, configure: Regenerate.
114
e19418e0
MF
1152016-01-10 Mike Frysinger <vapier@gentoo.org>
116
117 * configure: Regenerate.
118
16f7876d
MF
1192016-01-10 Mike Frysinger <vapier@gentoo.org>
120
121 * configure.ac (SIM_AC_OPTION_ENVIRONMENT): Delete call.
122 * configure: Regenerate.
123
99d8e879
MF
1242016-01-10 Mike Frysinger <vapier@gentoo.org>
125
126 * configure: Regenerate.
127
35656e95
MF
1282016-01-10 Mike Frysinger <vapier@gentoo.org>
129
130 * configure: Regenerate.
131
347fe5bb
MF
1322016-01-10 Mike Frysinger <vapier@gentoo.org>
133
134 * configure.ac (SIM_AC_OPTION_INLINE): Delete call.
135 * configure: Regenerate.
136
22be3fbe
MF
1372016-01-10 Mike Frysinger <vapier@gentoo.org>
138
139 * configure: Regenerate.
140
0dc73ef7
MF
1412016-01-10 Mike Frysinger <vapier@gentoo.org>
142
143 * configure: Regenerate.
144
936df756
MF
1452016-01-09 Mike Frysinger <vapier@gentoo.org>
146
147 * config.in, configure: Regenerate.
148
2e3d4f4d
MF
1492016-01-06 Mike Frysinger <vapier@gentoo.org>
150
151 * wrapper.c (sim_create_inferior): Mark argv and env const.
152 (sim_open): Mark argv const.
153
9bbf6f91
MF
1542016-01-04 Mike Frysinger <vapier@gentoo.org>
155
156 * configure: Regenerate.
157
77cf2ef5
MF
1582016-01-03 Mike Frysinger <vapier@gentoo.org>
159
160 * wrapper.c (sim_open): Update sim_parse_args comment.
161
34fed699
MF
1622016-01-03 Mike Frysinger <vapier@gentoo.org>
163
164 * wrapper.c (sim_target_parse_arg_array): Replace for loop with
165 a call to countargv.
166
0cb8d851
MF
1672016-01-03 Mike Frysinger <vapier@gentoo.org>
168
169 * configure.ac (SIM_AC_OPTION_HOSTENDIAN): Delete.
170 * configure: Regenerate.
171
1ac72f06
MF
1722016-01-02 Mike Frysinger <vapier@gentoo.org>
173
174 * configure: Regenerate.
175 * wrapper.c (init): Change BIG_ENDIAN to BFD_ENDIAN_BIG.
176
e1211e55
MF
1772015-12-30 Mike Frysinger <vapier@gentoo.org>
178
179 * wrapper.c (sim_store_register): Rename to ...
180 (arm_reg_store): ... this.
181 (sim_fetch_register): Rename to ...
182 (arm_reg_fetch): ... this.
183 (sim_open): Call CPU_REG_FETCH/CPU_REG_STORE.
184
5e744ef8
MF
1852015-12-27 Mike Frysinger <vapier@gentoo.org>
186
187 * Makefile.in (SIM_OBJS): Delete sim-hload.o.
188
1b393626
MF
1892015-12-26 Mike Frysinger <vapier@gentoo.org>
190
191 * config.in, configure: Regenerate.
192
91d6df78
MF
1932015-12-25 Mike Frysinger <vapier@gentoo.org>
194
195 * Makefile.in (SIM_OBJS): Delete bag.o.
196 * armdefs.h (struct ARMul_State): Delete ErrorCode.
197 (ResetPin, FIQPin, IRQPin, AbortPin, TransPin, BigEndPin, Prog32Pin,
198 Data32Pin, LateAbortPin, ARMul_OSExit, ARMul_OSLastErrorP,
199 ARMul_Debug, ARMul_OSException,rdi_log, SpinCursor, HOURGLASS,
200 HOURGLASS_RATE): Delete.
201 * armemu.c (ARMul_Emulate26): Delete ARMul_Debug call.
202 * arminit.c (ARMul_Reset): Do not set state->ErrorCode.
203 (ARMul_Abort): Delete ARMul_OSException call.
204 * armopts.h: Delete file.
205 * armos.c (isatty_, ARMul_OSExit, ARMul_OSException,
206 ARMul_OSLastErrorP, ARMul_Debug, BUFFERSIZE, UNIQUETEMPS, NOOP,
207 BINARY, READOP, WRITEOP, FIXCRLF): Delete.
208 (struct OSblock): Delete Time0, ErrorP, FileTable, FileFlags, and
209 tempnames.
210 (ARMul_OSInit): Do not set OSptr->ErrorP, OSptr->FileTable, or
211 OSptr->tempnames.
212 * armrdi.c: Delete file.
213 * armvirt.c: Delete armopts.h include.
214 (ARMul_LoadInstrS): Delete HOURGLASS logic.
215 * bag.c, bag.h, communicate.c, communicate.h, dbg_conf.h, dbg_cp.h,
216 dbg_hif.h: Delete files.
217 * dbg_rdi.h (RDP_*, RDI*): Delete defines.
218 (PointHandle, ThreadHandle, Dbg_ConfigBlock, Dbg_HostosInterface,
219 Dbg_MCState, getbufferproc): Delete.
220 (rdi_*): Delete Functions.
221 (RDI_ConfigAspect, RDI_ConfigMatchType, RDI_NameList): Delete
222 (struct RDIProcVec): Delete.
223 * gdbhost.c, gdbhost.h, kid.c, main.c, parent.c: Delete files.
224 * wrapper.c (ARMul_Debug): Delete.
225
1d19cae7
DV
2262015-12-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
227
228 * thumbemu.c (handle_T2_insn): Fix left shift of negative value.
229 * armemu.c (handle_v6_insn): Likewise.
230
6e4f085c
MF
2312015-11-14 Mike Frysinger <vapier@gentoo.org>
232
233 * wrapper.c (sim_close): Delete.
234
454de2ee
NC
2352015-07-14 Nick Clifton <nickc@redhat.com>
236
237 * armcopro.c: Remove extraneous whitespace.
238 * armdefs.h: Likewise.
239 * armfpe.h: Likewise.
240 * arminit.c: Likewise.
241 * armopts.h: Likewise.
242 * armos.c: Likewise.
243 * armos.h: Likewise.
244 * armrdi.c: Likewise.
245 * armsupp.c: Likewise.
246 * armvirt.c: Likewise.
247 * bag.c: Likewise.
248 * bag.h: Likewise.
249 * communicate.c: Likewise.
250 * communicate.h: Likewise.
251 * dbg_conf.h: Likewise.
252 * dbg_cp.h: Likewise.
253 * dbg_hif.h: Likewise.
254 * dbg_rdi.h: Likewise.
255 * gdbhost.c: Likewise.
256 * gdbhost.h: Likewise.
257 * iwmmxt.c: Likewise.
258 * iwmmxt.h: Likewise.
259 * kid.c: Likewise.
260 * main.c: Likewise.
261 * maverick.c: Likewise.
262 * parent.c: Likewise.
263 * thumbemu.c: Likewise.
264 * wrapper.c: Likewise.
265
db49d3d0
NC
2662015-07-02 Nick Clifton <nickc@redhat.com>
267
268 * Makefile.in (SIM_EXTRA_CFLAGS): Revert previous delta.
269 (SIM_EXTRA_LIBS): Add -lm.
270
73cb0348
NC
2712015-06-28 Nick Clifton <nickc@redhat.com>
272
273 * Makefile.in (SIM_EXTRA_CFLAGS): Add -lm.
274 * armdefs.h (ARMdval, ARMfval): New types.
275 (ARM_VFP_reg): New union.
276 (struct ARMul_State): Add VFP_Reg and FPSCR fields.
277 (VFP_fval, VFP_uword, VFP_sword, VFP_dval, VFP_dword): Accessor
278 macros for the new VFP_Reg field.
279 * armemu.c (handle_v6_insn): Add code to handle MOVW, MOVT,
280 QADD16, QASX, QSAX, QSUB16, QADD8, QSUB8, UADD16, USUB16, UADD8,
281 USUB8, SEL, REV, REV16, RBIT, BFC, BFI, SBFX and UBFX
282 instructions.
283 (handle_VFP_move): New function.
284 (ARMul_Emulate16): Add checks for newly supported v6
285 instructions. Add support for VMRS, VMOV and MRC instructions.
286 (Multiply64): Allow nRdHi == nRm and/or nRdLo == nRm when
287 operating in v6 mode.
288 * armemu.h (t_resolved): Define.
289 * armsupp.c: Include math.h.
290 (handle_VFP_xfer): New function. Handles VMOV, VSTM, VSTR, VPUSH,
291 VSTM, VLDM and VPOP instructions.
292 (ARMul_LDC): Test for co-processor 10 or 11 and pass call to the
293 new handle_VFP_xfer function.
294 (ARMul_STC): Likewise.
295 (handle_VFP_op): New function. Handles VMLA, VMLS, VNMLA, VNMLS,
296 VNMUL, VMUL, VADD, VSUB, VDIV, VMOV, VABS, VNEG, VSQRT, VCMP,
297 VCMPE and VCVT instructions.
298 (ARMul_CDP): Test for co-processor 10 or 11 and pass call to the
299 new handle_VFP_op function.
300 * thumbemu.c (tBIT, tBITS, ntBIT, ntBITS): New macros.
301 (test_cond): New function. Tests a condition and returns non-zero
302 if the condition has been met.
303 (handle_IT_block): New function.
304 (in_IT_block): New function.
305 (IT_block_allow): New function.
306 (ThumbExpandImm): New function.
307 (handle_T2_insn): New function. Handles T2 thumb instructions.
308 (handle_v6_thumb_insn): Add next_instr and pc parameters.
309 (ARMul_ThumbDecode): Add support for IT blocks. Add support for
310 v6 instructions.
311 * wrapper.c (sim_create_inferior): Detect a thumb address and call
312 SETT appropriately.
313
8d0978fb
MF
3142015-06-23 Mike Frysinger <vapier@gentoo.org>
315
316 * configure: Regenerate.
317
b50a1532
MF
3182015-06-23 Mike Frysinger <vapier@gentoo.org>
319
320 * armdefs.h: Always include stdint.h.
321 [!__STDC__]: Delete.
322 [!HAVE_STDINT_H]: Delete.
323 * dbg_hif.h [!__STDC__]: Delete.
324
a3487082
MF
3252015-06-12 Mike Frysinger <vapier@gentoo.org>
326
327 * configure: Regenerate.
328
306f4178
MF
3292015-06-12 Mike Frysinger <vapier@gentoo.org>
330
331 * configure: Regenerate.
332
20bca71d
MF
3332015-04-18 Mike Frysinger <vapier@gentoo.org>
334
335 * sim-main.h (SIM_CPU): Delete.
336
7e83aa92
MF
3372015-04-18 Mike Frysinger <vapier@gentoo.org>
338
339 * sim-main.h (sim_cia): Delete.
340
034685f9
MF
3412015-04-17 Mike Frysinger <vapier@gentoo.org>
342
343 * sim-main.h (CIA_GET, CIA_SET): Delete.
344
27b97b40
MF
3452015-04-17 Mike Frysinger <vapier@gentoo.org>
346
347 * wrapper.c (arm_pc_get, arm_pc_set): New functions.
348 (sim_open): Declare new local var i. Call CPU_PC_FETCH &
349 CPU_PC_STORE for all cpus.
350
78e9aa70
MF
3512015-04-15 Mike Frysinger <vapier@gentoo.org>
352
353 * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
354 * sim-main.h (STATE_CPU): Delete.
355
bf12d44e
MF
3562015-04-13 Mike Frysinger <vapier@gentoo.org>
357
358 * configure: Regenerate.
359
e787f858
MF
3602015-04-12 Mike Frysinger <vapier@gentoo.org>
361
362 * Makefile.in (SIM_OBJS): Move wrapper.o to the start of the list.
363
122bbfb5
MF
3642015-04-06 Mike Frysinger <vapier@gentoo.org>
365
366 * Makefile.in (SIM_OBJS): Delete sim-engine.o.
367
0fe84f3f
MF
3682015-04-01 Mike Frysinger <vapier@gentoo.org>
369
370 * Makefile.in (armos.o, armcopro.o, maverick.o, iwmmxt.o, arminit.o,
371 armrdi.o, armsupp.o, thumbemu.o, bag.o, wrapper.o): Delete rules.
372 * tconfig.h: Delete file.
373
aadc9410
MF
3742015-03-31 Mike Frysinger <vapier@gentoo.org>
375
376 * config.in, configure: Regenerate.
377
49d62f89
MF
3782015-03-30 Mike Frysinger <vapier@gentoo.org>
379
380 * Makefile.in (SIM_RUN_OBJS): Delete.
381 (SIM_EXTRA_CFLAGS): Delete -DSIM_TARGET_SWITCHES and
382 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
383 (SIM_OBJS): Change to $(SIM_NEW_COMMON_OBJS).
384 * sim-main.h: New file.
385 * wrapper.c: Delete armdefs.h, sim-utils.h, and run-sim.h includes.
386 Add sim-main.h and sim-options.h includes.
387 (sim_callback, mem_size, trace): Add TODO comments.
388 (state): Delete static and add TODO comment.
389 (sim_kind, myname, big_endian): Delete.
390 (init): Change big_endian to CURRENT_TARGET_BYTE_ORDER check.
391 (sim_size, sim_trace, sim_info, sim_target_display_usage, sim_load,
392 sim_do_command, sim_set_callbacks, sim_complete_command): Delete.
393 (sim_target_parse_command_line): Mark static.
394 (free_state): New function.
395 (sim_open): Rewrite to use new common logic.
396 (sim_close): Delete body.
397
dbf8e8af
MF
3982015-03-30 Mike Frysinger <vapier@gentoo.org>
399
400 * Makefile.in (SIM_EXTRA_CFLAGS): Delete -DNEED_UI_LOOP_HOOK.
401 * interp.c [NEED_UI_LOOP_HOOK] (UI_LOOP_POLL_INTERVAL,
402 ui_loop_hook_counter, deprecated_ui_loop_hook): Delete.
403 (sim_resume) [NEED_UI_LOOP_HOOK]: Delete ui code.
404
58b991b1
MF
4052015-03-30 Mike Frysinger <vapier@gentoo.org>
406
407 * armemu.c [MODE32] (handle_v6_insn): Move definition.
408 (ARMul_Emulate26): Initialize do_int after label target.
409 * armemu.h (UNDEF_Test, UNDEF_Shift, UNDEF_MSRPC, UNDEF_MRSPC,
410 UNDEF_MULPCDest, UNDEF_MULDestEQOp1, UNDEF_LSRBPC,
411 UNDEF_LSRBaseEQOffWb, UNDEF_LSRBaseEQDestWb, UNDEF_LSRPCBaseWb,
412 UNDEF_LSRPCOffWb, UNDEF_LSMNoRegs, UNDEF_LSMPCBase,
413 UNDEF_LSMUserBankWb, UNDEF_LSMBaseInListWb, UNDEF_SWPPC,
414 UNDEF_CoProHS, UNDEF_MCRPC, UNDEF_LSCPCBaseWb,
415 UNDEF_UndefNotBounced, UNDEF_ShortInt, UNDEF_IllegalMode,
416 UNDEF_Prog32SigChange, UNDEF_Data32SigChange): Define to while(0).
417 * armsupp.c (ARMul_Align): Convert old style prototype.
418 * bag.c (addtolist, killwholelist): Mark static.
419 (BAG_newbag): Convert old style prototype.
420 * maverick.c (mv_compute_host_endianness): Delete.
421 * wrapper.c (verbosity, sim_set_verbose): Delete.
422 (init): Set state->verbose to 0.
423
c4c9c44f
MF
4242015-03-30 Mike Frysinger <vapier@gentoo.org>
425
426 * configure.ac: Call SIM_AC_OPTION_ENDIAN, SIM_AC_OPTION_ALIGNMENT,
427 SIM_AC_OPTION_HOSTENDIAN, SIM_AC_OPTION_ENVIRONMENT,
428 SIM_AC_OPTION_INLINE, and SIM_AC_OPTION_WARNINGS.
429 * config.in, configure: Regenerate.
430
457983e3
MF
4312015-03-30 Mike Frysinger <vapier@gentoo.org>
432
433 * Makefile.in (COPRO): Delete.
434 (SIM_OBJS): Expand COPRO.
435 * configure.ac: Deletd stdint.h check.
436 (COPRO): Delete.
437 * configure: Regenerate.
438
ae7d0cac
MF
4392015-03-16 Mike Frysinger <vapier@gentoo.org>
440
441 * config.in, configure: Regenerate.
442 * tconfig.in: Rename file ...
443 * tconfig.h: ... here.
444
465fb143
MF
4452015-03-14 Mike Frysinger <vapier@gentoo.org>
446
447 * Makefile.in (SIM_EXTRA_CFLAGS): Add
448 -DSIM_USE_DEPRECATED_RUN_FRONTEND.
449 (SIM_RUN_OBJS): Set to run.o.
450
5cddc23a
MF
4512015-03-14 Mike Frysinger <vapier@gentoo.org>
452
453 * configure.ac (AC_CHECK_HEADERS): Delete unistd.h.
454 * aclocal.m4, configure: Regenerate.
455
2974be62
AM
4562014-08-19 Alan Modra <amodra@gmail.com>
457
458 * configure: Regenerate.
459
faa743bb
RM
4602014-08-15 Roland McGrath <mcgrathr@google.com>
461
462 * configure: Regenerate.
463 * config.in: Regenerate.
464
1d63324c
NC
4652014-03-18 Nick Clifton <nickc@redhat.com>
466
467 * wrapper.c: Convert function declarations to ISO C format.
468 (sim_open): Delete code for handling t,d and z command line
469 options.
470
8d052926
NC
4712014-03-14 Nick Clifton <nickc@redhat.com>
472
473 * wrapper.c (op_print): New function.
474 (sim_dis_read): New function.
475 (print_insn): New function - disassembles the given instruction.
476 (sim_trace): Note that tracing is now allowed.
477 (sim_create_inferior): Default to emulating v6.
478 Initialise the disassembler machinery.
479 (sim_target_parse_command_line): Add support for -t -d and -z
480 options.
481 (sim_target_display_usage): Note existence of -d and -z options.
482 (sim_open): Parse -t -d and -z options.
483 * armemu.h: Add exports of trace, disas and trace_funcs.
484 Add prototype for print_insn.
485 * armemu.c (ARMul_Emulate26): Add tracing code.
486 Delete unused variables.
487 * thumbemu (handle_v6_thumb_insn): Delete unused variable Rd.
488 Move Rm variable into switch cases.
489 Add tracing code.
490
491 * armcopro.c (XScale_cp15_init): Add a return value.
492 (XScale_cp13_init): Likewise.
493 (XScale_cp14_init): Likewise.
494 (XScale_cp15_LDC): Delete unused function.
495 (XScale_cp15_STC): Likewise.
496 * maverick.c: Delete comment inside comment.
497 (DSPInit): Delete unused function.
498 (DSPMCR4): Fix compile time warning about missing parenthesis.
499 (DSPMCR5): Likewise.
500 (DSPCDP6): Delete unused variable opcode2.
501
b9366cf3
DM
5022014-03-14 David McQuillan <dmcq@tao-group.com>
503
504 PR sim/8388
505 * armemu.c (WriteR15Load): New function. Determines if the state
506 can be changed upon a write to R15.
507 (LoadMult): Use WriteR15Load.
508 * armemu.h (WRITEDESTB): Use WriteR15Load.
509
60d847df
MF
5102014-03-10 Mike Frysinger <vapier@gentoo.org>
511
512 * wrapper.c (sim_do_command): Add const to cmd.
513
b2b255bd
MF
5142014-03-05 Mike Frysinger <vapier@gentoo.org>
515
516 * wrapper.c (sim_load): Add const to prog.
517
bf3d9781
AM
5182013-09-23 Alan Modra <amodra@gmail.com>
519
520 * configure: Regenerate.
521
31e6ad7d
MF
5222013-06-03 Mike Frysinger <vapier@gentoo.org>
523
524 * aclocal.m4, configure: Regenerate.
525
590919de
MF
5262013-05-07 Jayant Sonar <jayant.sonar@kpitcummins.com>
527 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
528
529 * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT.
530
19a3671c
JB
5312012-12-19 Joel Brobecker <brobecker@adacore.com>
532
533 * COPYING: Update to GPL version 3.
534
f253d86d
NC
5352012-09-03 Nick Clifton <nickc@redhat.com>
536
537 PR sim/14540
538 * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction
539 is denied.
540
9256caa6
KB
5412012-08-01 Kevin Buettner <kevinb@redhat.com>
542
543 * wrapper.c (libiberty.h): Include.
544 (sim_store_register, sim_fetch_register): On success, return
545 length, instead of -1.
546
5f3ef9d0
JB
5472012-06-15 Joel Brobecker <brobecker@adacore.com>
548
549 * config.in, configure: Regenerate.
550
b0f05691
NC
5512012-06-13 Nick Clifton <nickc@redhat.com>
552
553 * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
554 binaries (for now).
555
a493e3e2
PA
5562012-05-24 Pedro Alves <palves@redhat.com>
557
558 PR gdb/7205
559
72f4393d 560 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
a493e3e2 561
a6ff997c
NC
5622012-05-18 Nick Clifton <nickc@redhat.com>
563
564 PR 14072
565 * wrapper.c: Include config.h before system header files.
566
2232061b
MF
5672012-03-24 Mike Frysinger <vapier@gentoo.org>
568
569 * aclocal.m4, config.in, configure: Regenerate.
570
db2e4d67
MF
5712011-12-03 Mike Frysinger <vapier@gentoo.org>
572
573 * aclocal.m4: New file.
574 * configure: Regenerate.
575
9c082ca8
MF
5762011-10-17 Mike Frysinger <vapier@gentoo.org>
577
578 * configure.ac: Change include to common/acinclude.m4.
579
6ffe910a
MF
5802011-10-17 Mike Frysinger <vapier@gentoo.org>
581
582 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
583 call. Replace common.m4 include with SIM_AC_COMMON.
584 * configure: Regenerate.
585
161fc452
NC
5862011-07-01 Nick Clifton <nickc@redhat.com>
587
588 PR sim/12737
589 * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a
590 signed compare.
591 (WMAC): Extend computed result before adding to result register.
592 (WRSA): Sign extend 32-bit values before shifting.
593
af9f7da7
MF
5942011-04-16 Mike Frysinger <vapier@gentoo.org>
595
596 * wrapper.c (sim_complete_command): New stub function.
597
363a6e9f
OS
5982010-05-26 Ozkan Sezer <sezeroz@gmail.com>
599
600 * communicate.c (MYread_char): Check error return from accept() call
601 by its equality to -1 not by it being negative.
602 (MYread_charwait): Likewise.
603 * main.c (main): Likewise for both socket() and accept() calls.
604
5558e7e6
MF
6052010-04-14 Mike Frysinger <vapier@gentoo.org>
606
607 * wrapper.c (sim_write): Add const to buffer arg.
608
3725885a
RW
6092010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
610
611 * configure: Regenerate.
612
d6416cdc
RW
6132009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
614
81ecdfbb
RW
615 * config.in: Regenerate.
616 * configure: Likewise.
617
d6416cdc
RW
618 * configure: Regenerate.
619
a85c0b49
JS
6202008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
621
622 * arminit.c, iwmmxt.c: Include <string.h> to
623 eliminate warning.
b5bd9624
HPN
6242008-07-11 Hans-Peter Nilsson <hp@axis.com>
625
626 * configure: Regenerate to track ../common/common.m4 changes.
627 * config.in: Ditto.
628
6efef468 6292008-06-06 Vladimir Prus <vladimir@codesourcery.com>
72f4393d
L
630 Daniel Jacobowitz <dan@codesourcery.com>
631 Joseph Myers <joseph@codesourcery.com>
6efef468
JM
632
633 * configure: Regenerate.
634 * wrapper.c (sim_target_display_usage): Add help parameter.
635
e1c9b6f1
MM
6362007-02-27 Mark Mitchell <mark@codesourcery.com>
637
638 * armos.c (SWIflen): Do not treate file descriptor zero as
639 special.
640
1306df90
NC
6412007-02-15 Nick Clifton <nickc@redhat.com>
642
643 * armemu.c (handle_v6_insn): Fix typo in sign extension test of
644 the sext and sxtah instructions.
645
8944021f
DJ
6462007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
647
648 Reported by timeless@gmail.com:
649 * wrapper.c (sim_target_parse_arg_array): Do not return void value.
650
edc5d9ec
HPN
6512006-12-21 Hans-Peter Nilsson <hp@axis.com>
652
653 * acconfig.h: Remove.
654 * config.in: Regenerate.
655
e85e3205
RE
6562006-06-13 Richard Earnshaw <rearnsha@arm.com>
657
658 * configure: Regenerated.
659
2f0122dc
DJ
6602006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
661
662 * configure: Regenerated.
663
20e95c23
DJ
6642006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
665
666 * configure: Regenerated.
667
4b1d9c58
PB
6682006-03-07 Paul Brook <paul@codesourcery.com>
669
670 * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
671
eeea4660
DJ
6722006-02-01 Shaun Jackman <sjackman@gmail.com>
673
674 * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
675 call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
676
aba6488e
MM
6772005-11-23 Mark Mitchell <mark@codesourcery.com>
678
679 * wrapper.c (gdb/signals.h): Include it.
680 (SIGTRAP): Don't define.
681 (SIGBUS): Likewise.
682 (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
683
2be701a3
DJ
6842005-11-16 Shaun Jackman <sjackman@gmail.com>
685
eeea4660 686 * armos.c: Include limits.h
2be701a3
DJ
687 (unlink): Remove this macro. It is unused in this file and
688 conflicts with sim_callback->unlink.
689 (PATH_MAX): Define as 1024 if not already defined.
690 (ReadFileName): New function.
691 (SWIopen): Fix a potential buffer overflow.
692 (SWIremove): New function.
693 (SWIrename): Ditto.
694 (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
695 SWI_Remove, and SWI_Rename, as well as the RDI calls
696 AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
697 AngelSWI_Reason_Rename.
698
c4793bac
PB
6992005-09-19 Paul Brook <paul@codesourcery.com>
700
701 * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
702 available.
703 * armemu.c: Use them.
704 * armvirt.c (ARMul_MemoryInit): Use correct type for size.
705 * configure.ac: Check for stdint.h.
706 * config.in: Regenerate.
707 * configure: Regenerate.
708
546aee7a
NC
7092005-05-24 Nick Clifton <nickc@redhat.com>
710
711 * thumbemu.c (handle_v6_thumb_insn): New function.
712 (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
713 instruction binary is encountered.
714
380d9419
NC
7152005-05-12 Nick Clifton <nickc@redhat.com>
716
717 * Update the address and phone number of the FSF organization in
718 the GPL notices in the following files:
719 COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
720 armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
721 armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
722 communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
723 gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
724 maverick.c, parent.c, thumbemu.c, wrapper.c
725
8207e0f2
NC
7262005-04-20 Nick Clifton <nickc@redhat.com>
727
728 * armemu.c (handle_v6_insn): New function - emulate a few of the
729 v6 instructions - the ones now generated by GCC.
730 (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
731 found.
732 * armdefs.h (struct ARMul_State): Add new field: is_v6.
733 (ARM_v6_Prop): Define.
734 * arminit.c (ARMul_NewState): Initialise the v6 flag.
735 (ARMul_SelectProcessor): Determine if the v6 flag should be
736 set.
737 * wrapper.c (sim_create_inferior): For unknown architectures,
738 default to allowing the v6 instructions.
72f4393d 739
16d55f14
NC
7402005-04-18 Nick Clifton <nickc@redhat.com>
741
742 * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
743 operator to the RHS.
744 (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
745 indicate an unsigned long long constant.
746
2b193c4a
MK
7472005-03-23 Mark Kettenis <kettenis@gnu.org>
748
749 * configure: Regenerate.
750
35695fd6
AC
7512005-01-14 Andrew Cagney <cagney@gnu.org>
752
753 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
754 explicit call to AC_CONFIG_HEADER.
755 * configure: Regenerate.
756
f0569246
AC
7572005-01-12 Andrew Cagney <cagney@gnu.org>
758
759 * configure.ac: Update to use ../common/common.m4.
760 * configure: Re-generate.
761
38f48d72
AC
7622005-01-11 Andrew Cagney <cagney@localhost.localdomain>
763
764 * configure: Regenerated to track ../common/aclocal.m4 changes.
765
b7026657
AC
7662005-01-07 Andrew Cagney <cagney@gnu.org>
767
768 * configure.ac: Rename configure.in, require autoconf 2.59.
769 * configure: Re-generate.
770
379832de
HPN
7712004-12-08 Hans-Peter Nilsson <hp@axis.com>
772
773 * configure: Regenerate for ../common/aclocal.m4 update.
774
0aaa4a81
AC
7752004-06-28 Andrew Cagney <cagney@gnu.org>
776
777 * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
778
a4c9740c
MM
7792003-12-29 Mark Mitchell <mark@codesourcery.com>
780
781 * armos.c (fcntl.h): Do not include it.
782 (O_RDONLY): Do not define.
783 (O_WRONLY): Likewise.
784 (O_RDWR): Likewise.
785 (targ-vals.h): Include it.
786 (translate_open_mode): Use TARGET_O_* instead of O_*.
787 (SWIopen): Likewise.
788 * Makefile.in (armos.o): Depend on targ-vals.h.
789
c88931b0
NC
7902003-04-13 Nick Clifton <nickc@redhat.com>
791
792 * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
793 mode.
794 (PutWord): Likewise.
795
3a3d6f65
NC
7962003-03-30 Nick Clifton <nickc@redhat.com>
797
798 * configure.in (CON_FLAGS): Remove.
799 (COPRO): Unconditionally include iwmmxt.o.
800 * configure: Regenerate.
801 * Makefile.in (CON_FLAGS): Remove.
802 * armcopro.c: Remove use of __IWMMXT__ flag.
803 * wrapper.c: Likewise.
804 * armemu.c: Likewise.
805 Add explanatory comment for suppressed code.
806
8072003-03-27 Nick Clifton <nickc@redhat.com>
808
809 * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
810
0f026fd0
NC
8112003-03-27 Nick Clifton <nickc@redhat.com>
812
813 * configure.in: (CON_FLAGS): Define and intialise.
814 (COPRO): Add iwmmxt.o if configuring for XScale.
815 * configure: Regenerate.
816 * Makefile.in (iwmmxt.o): Add rule to build.
817 (COM_FLAGS): Define.
818 (ALL_FLAGS): Add CON_FLAGS.
819 * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
820 * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
821 (ARM_iWMMXt_Prop): Define.
822 * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
823 pass to coprocessor.
824 * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
825 (ARMul_Abort): Catch branches through uninitialised vectors.
826 * armos.c (softevtorcode): Update comment.
827 (ARMul_OsInit): Use ARMUndefinedInstrV.
0f026fd0
NC
828 * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
829 (sim_store_register): Handle iWMMXt registers.
830 (sim_fetch_register): Handle iWMMXt registers.
831 * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
832 functions.
833 * iwmmxt.c: New file: iWMMXt emulator.
834
dd97b6fd 8352003-03-20 Nick Clifton <nickc@redhat.com>
f603c8fe
NC
836
837 * Contribute support for Cirrus Maverick ARM co-processor,
72f4393d
L
838 written by Aldy Hernandez <aldyh@redhat.com> and
839 Andrew Cagney <cagney@redhat.com>:
f603c8fe
NC
840
841 * maverick.c: New file: Support for Maverick floating point
72f4393d
L
842 co-processor.
843 * Makefile.in: Add maverick.o target.
844 * configure.in (COPRO): Add maverick.o.
845 * configure: Regenerate.
846 * armcopro.c (ARMul_CoProInit): Only initialise co-processors
f603c8fe
NC
847 available on target processor. Add code to initialse Maverick
848 co-processor support code.
72f4393d
L
849 * armdefs.h (ARMul_state): Add is_ep9312 field.
850 (ARM_ep9312_Prop): Define.
851 * armemu.h: Add prototypes for Maverick co-processor
f603c8fe 852 functions.
72f4393d 853 * arminit.c (ARMul_SelectProcessor): Initialise the
f603c8fe 854 co-processor support once the chip has been selected.
72f4393d
L
855 * wrapper.c: Add support for Maverick co-processor.
856 (init): Do not call ARMul_CoProInit. Delays this until the
f603c8fe
NC
857 chip has been selected.
858
0d9fd8f1
NC
8592003-03-02 Nick Clifton <nickc@redhat.com>
860
861 * armos.c (SWIWrite0): Catch big-endian bug when printing
862 characters.
863
6b4a8935
AC
8642003-02-27 Andrew Cagney <cagney@redhat.com>
865
866 * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
72f4393d 867
45fdcabe
BE
8682003-01-10 Ben Elliston <bje@redhat.com>
869
870 * README.Cygnus: Rename from this ..
871 * README: .. to this.
872
058f270d
AC
8732002-09-27 Andrew Cagney <ac131313@redhat.com>
874
875 * wrapper.c (sim_open): Add support for -m<mem-size>.
876 (mem_size): Reduce to 2MB.
877 Fix PR gdb/433.
878
c7a7b500
NC
8792002-08-15 Nick Clifton <nickc@redhat.com>
880
881 * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
882 can be caused by an interrupted system call being resumed by GDB.
883
630ace25
NC
8842002-07-05 Nick Clifton <nickc@cambridge.redhat.com>
885
886 * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
887 and MIAxy instructions.
72f4393d 888
7b77dec6
NC
8892002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
890
891 * armos.h (ADP_Stopped_RunTimeError): Set correct value.
892
c8cca39f
AC
8932002-06-16 Andrew Cagney <ac131313@redhat.com>
894
895 * configure: Regenerated to track ../common/aclocal.m4 changes.
896
26216b98
AC
8972002-06-12 Andrew Cagney <ac131313@redhat.com>
898
899 * Makefile.in: Update copyright.
900 (wrapper.o): Specify dependencies.
901 * wrapper.c: Include "gdb/sim-arm.h".
902 (sim_store_register, sim_fetch_register): Rewrite using `enum
903 arm_sim_regs' and a switch.
904
3c25f8c7
AC
9052002-06-09 Andrew Cagney <cagney@redhat.com>
906
907 * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
908 * armos.c: Include "gdb/callback.h".
909
5aa682b2
NC
9102002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
911
912 * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
913 if a Data Abort is detected.
914
7378e198
NC
9152002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
916
10b57fcb
NC
917 * armvirt.c (GetWord): Only perform access checks if 'check'
918 is set.
919 (PutWord): Likewise.
920 * wrapper.c (sim_create_inferior): Report unknown machine
921 numbers.
7378e198
NC
922 * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
923 2, it has already been advanced.
924
2984e114
NC
9252002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
926
927 * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
928 instruction do not add in the second bit of the base address -
929 this has already been accounted for.
930
8b2440b7
NC
9312002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
932
933 * armcopro.c (check_cp13_access): Allow access to register 1 when
934 CRm is 1.
935 (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
936
de4112fa
NC
9372002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
938
7f53bce4 939 * Makefile.in (SIM_TARGET_SWITCHES): Define.
de4112fa
NC
940 * armos.c (swi_mask): Define. Initialise to supporting all
941 SWI emulations.
942 (ARMul_OSInit): For XScale targets, only support the ANGEL
943 SWI interface. (This is at the request if Intel).
944 (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
72f4393d 945 SWI call should be emulated.
de4112fa
NC
946 Do not fall through from AngelSWI_Reason_WriteC.
947 Propagate exit code from RedBoot Exit SWI.
948 * rdi-dgb.h (swi_mask): Prototype.
949 (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
950 * wrapper.c (sim_target_parse_command_line): New function.
951 Look for and handle --swi-support switch.
952 (sim_target_parse_arg_array): New function. Process an argv
953 array for parsing by sim_target_parse_command_line.
954 (sim_target_display_usage): New function. Describe syntax of
955 --swi-suppoort switch.
956 (sim_open): Add call to sim_target_parse_arg_array).
957
d8512e6a
NC
9582002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
959
960 * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
961 mode and some of its system calls.
962
ae60d3dd
AG
9632002-03-17 Anthony Green <green@redhat.com>
964
965 * wrapper.c (mem_size): Increase the default target memory to 8MB.
966
b3ba81f8
KS
9672002-02-21 Keith Seitz <keiths@redhat.com>
968
969 * armos.c (SWIWrite0): Use generic host_callback mechanism
970 for supported OS functions "open", "close", "write", etc.
971 (SWIopen): Likewise.
972 (SWIread): Likewise.
973 (SWIwrite): Likewise.
974 (SWIflen): Likewise.
975 (ARMul_OSHandleSWI): Likewise.
976
c17aa318
NC
9772002-02-05 Nick Clifton <nickc@cambridge.redhat.com>
978
979 * wrapper.c (sim_create_inferior): Modify previous patch so that
980 it is only triggered for COFF format executables.
981
25180f8a
NC
9822002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
983
c17aa318
NC
984 * wrapper.c (sin_create_inferior): If a v5 architecture is
985 detected, assume it might be an XScale binary, since there is no
986 way to distinguish between the two in the COFF file format.
25180f8a 987
57165fb4
NC
9882002-01-10 Nick Clifton <nickc@cambridge.redhat.com>
989
990 * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
991 * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
992 and CPRead[14].
993 Fix formatting. Improve layout.
994 * armemu.h: Fix formatting. Improve layout.
995
272fcdcd
NC
9962002-01-09 Nick Clifton <nickc@cambridge.redhat.com>
997
998 * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
999 return zeroes in the other words.
86c735a5 1000 General formatting tidy ups.
272fcdcd 1001
6746a76a
BH
10022001-11-16 Ben Harris <bjh21@netbsd.org>
1003
1004 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1005 $(srcdir)/....
1006 (armemu26.o): Ditto.
1007
ff44f8e3
NC
10082001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
1009
1010 * armemu.h (CP_ACCESS_ALLOWED): New macro.
1011 Fix formatting.
1012 * armcopro.c (read_cp14_reg): Make static.
1013 (write_cp14_reg): Make static.
1014 (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
1015 Fix formatting.
1016 * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
1017 (ARMul_STC): Check CP_ACCESS_ALLOWED.
1018 (ARMul_MCR): Check CP_ACCESS_ALLOWED.
1019 (ARMul_MRC): Check CP_ACCESS_ALLOWED.
1020 (ARMul_CDP): Check CP_ACCESS_ALLOWED.
1021 Fix formatting.
1022 * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not
1023 equal to 15.
1024 (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15.
1025 Fix formatting.
1026
fb7a8ef0
NC
10272001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
1028
1029 * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
1030 instructions with post indexed addressing modes.
1031
dac07255
NC
10322001-05-08 Jens-Christian Lache <lache@tu-harburg.de>
1033
1034 * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
1035 determine rocesor mode.
1036
c3ae2f98
MG
10372001-04-18 matthew green <mrg@redhat.com>
1038
1039 * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
1040 (read_cp15_reg): Make non-static.
1041 (XScale_cp15_LDC): Update for write_cp15_reg() change.
1042 (XScale_cp15_MCR): Likewise.
1043 (XScale_cp15_write_reg): Likewise.
1044 (XScale_check_memacc): New function. Check for breakpoints being
1045 activated by memory accesses. Does not support the Branch Target
1046 Buffer.
1047 (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
1048 (XScale_debug_moe): New function. Set the debug Method Of Entry,
1049 if configured.
1050 (write_cp14_reg): Reset count counter if requested.
1051 * armdefs.h (struct ARMul_State): New members `LastTime' and
1052 `CP14R0_CCD' used for the timer/counters.
1053 (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
1054 ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
1055 ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
1056 ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
1057 ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
1058 ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
1059 ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
1060 ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
1061 defines for XScale registers.
1062 (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
1063 (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
1064 (ARMul_Emulate32): Handle the clock counter and hardware instruction
1065 breakpoints. Call XScale_set_fsr_far() for software breakpoints and
1066 software interrupts.
1067 (LoadMult): Call XScale_set_fsr_far() for data aborts.
1068 (LoadSMult): Likewise.
1069 (StoreMult): Likewise.
1070 (StoreSMult): Likewise.
1071 * armemu.h (write_cp15_reg): Update prototype.
1072 * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
1073 (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
1074 register 0.
1075 * armvirt.c (GetWord): Call XScale_check_memacc().
1076 (PutWord): Likewise.
1077
3cf84db9
NC
10782001-03-20 Nick Clifton <nickc@redhat.com>
1079
1080 * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
1081 when loading unaligned thumb instructions.
1082
4f3c3dbb
NC
10832001-03-06 Nick Clifton <nickc@redhat.com>
1084
1085 * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
72f4393d
L
1086 Compute destination address of BLX(1) instruction by
1087 taking bit 1 from PC and not from bit 0 of the offset.
4f3c3dbb 1088
917bca4f
NC
10892001-02-27 Nick Clifton <nickc@redhat.com>
1090
1091 * armvirt.c (GetWord): Add new parameter - check - to enable or
1092 disable the alignment checking.
1093 (PutWord): Add new parameter - check - to enable or disable the
1094 alignment checking.
1095 (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
1096 (ARMul_ReadWord): Pass extra parameter to GetWord.
1097 (ARMul_WriteWord): Pass extra parameter to PutWord.
1098 (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
1099 (ARMul_WriteByte): Pass extra parameter to GetWord.
1100 (ARMul_SwapWord): Pass extra parameter to PutWord.
1101 (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
1102 (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
72f4393d 1103
917bca4f
NC
1104 * armdefs.h: Add prototypes for ARMul_SafeReadByte and
1105 ARMul_SafeWriteByte.
72f4393d 1106
917bca4f
NC
1107 * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
1108 (sim_read): Use ARMul_SafeReadByte.
1109
1110 * armos.c (in_SWI_handler): Remove.
1111 (SWIWrite0): Use ARMul_SafeReadByte.
1112 (WriteCommandLineTo): Use ARMul_SafeWriteByte.
1113 (SWIopen): Use ARMul_SafeReadByte.
1114 (SWIread): Use ARMul_SafeWriteByte.
1115 (SWIwrite): Use ARMul_SafeReadByte.
1116 (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
1117 (ARMul_OSException): Remove use of is_SWI_handler.
72f4393d 1118
2ef048fc
NC
11192001-02-16 Nick Clifton <nickc@redhat.com>
1120
1121 * armemu.c: Remove Prefetch abort for breakpoints. Instead set
1122 the state to RESUME.
1123
5f7d0a33
NC
11242001-02-14 Nick Clifton <nickc@redhat.com>
1125
44e23e57
NC
1126 * armemu.c: Add code to preserve processor mode when a prefetch
1127 abort is signalled after processing a breakpoint.
1128
5f7d0a33
NC
1129 * wrapper.c (sim_create_inferior): Reset processor into ARM mode
1130 for any machine type except the early ARMs.
1131
1e5d4e46
NC
11322001-02-13 Nick Clifton <nickc@redhat.com>
1133
1134 * armos.c (in_SWI_handler): New static variable.
1135 (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
1136 (ARMul_OSException): Ignore exceptions generated whilst emulating
1137 a SWI.
1138
179ae6ea
NC
11392001-02-12 Nick Clifton <nickc@redhat.com>
1140
1141 * armemu.h (NEGBRANCH): Fix defintion.
1142
dda308f5
NC
11432001-02-01 Nick Clifton <nickc@redhat.com>
1144
1145 * armemu.c (LoadSMult): Update base address register after
1146 restoring register bank.
1147 (StoreMult): Update base address register after restoring register
1148 bank.
1149
88694af3
NC
11502001-01-31 Nick Clifton <nickc@redhat.com>
1151
1152 * armvirt.c (PutWord): Detect installation of SWI vector.
1153 (SWI_vector_installed): Define.
1154 * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
1155 * armos.h (SWI_vector_installed): Declare.
1156 * wrapper.c (SWI_vector_installed): Remove definition.
1157 (sim_write): Remove check of SWI vector installation
1158
ac1c9d3a
NC
11592000-12-18 Nick Clifton <nickc@redhat.com>
1160
1161 * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
1162 instruction.
1163
9a6b6a66
NC
11642000-12-10 Nick Clifton <nickc@redhat.com>
1165
1166 * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
1167
760a7bbe
NC
11682000-12-07 Nick Clifton <nickc@redhat.com>
1169
1170 * armemu.c (ARMul_Emulate26): Detect double word load and
1171 store instructions and call emulation routines.
1172 (Handle_Load_Double): Emulate a double word load instruction.
1173 (Handle_Store_Double): Emulate a double word store
1174 instruction.
1175
7f53bc35
NC
11762000-12-03 Nick Clifton <nickc@redhat.com>
1177
1178 * armos.c: Fix formatting.
1179 (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
1180 mode.
1181
f1129fb8
NC
11822000-11-29 Nick Clifton <nickc@redhat.com>
1183
1184 * armdefs.h (State): Add 'v5e' and 'xscale' fields.
1185 (ARM_v5e_Prop): Define.
1186 (ARM_XScale_Prop): Define.
72f4393d 1187
f1129fb8
NC
1188 * wrapper.c (sim_create_inferior): Select processor based on
1189 machine number.
1190 (SWI_vector_installed): New boolean. Set to true if the SWI
1191 vector address is written to by the executable.
72f4393d 1192
f1129fb8
NC
1193 * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
1194 (ARMul_SelectProcessor): Initialise v5e and xscale signals.
1195 (ARMul_Abort): Fix calculation of LR address.
1196
1197 * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
1198 and a SWI is not handled by the simulator, pass the SWI off to the
1199 vector, otherwise issue a warning message and continue.
1200
1201 * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
72f4393d 1202
f1129fb8
NC
1203 * thumbemu.c: Add v5 instruction simulation.
1204 * armemu.c: Add v5, XScale and El Segundo instruction simulation.
1205
1206 * armcopro.c: Add XScale co-processor emulation.
1207 * armemu.h: Add exported XScale co-processor functions.
72f4393d 1208
3943c96b
NC
12092000-09-15 Nick Clifton <nickc@redhat.com>
1210
1211 * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
1212 property. Delete unnecessary processor names.
1213 (ARM_Strong_Prop): Delete.
1214 (STRONGARM): Delete.
1215 (ARM_v4_Prop): Add.
1216 (ARM_v5_Prop): Add
1217 (State): Delete is_StrongARM boolean. Add is_v4 and is_v5
1218 booleans.
1219
1220 * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
1221 (BUSUSEDINCPCN): Use is_v4 boolean.
1222
1223 * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
1224 (ARMul_SelectProcessor): Change second parameter from 'processor'
1225 to 'properties'. Set is_v4 and is_v5 booleans in State.
1226
1227 * armrdi.c: Remove use of ARM processor names. Replace with ARM
1228 processor properties.
1229
1230 * wrapper.c (sim_create_inferior): Choose properties passed to
1231 ARMul_SelectProcessor based on machine number.
1232
4bc1de7b
NC
12332000-08-14 Nick Clifton <nickc@redhat.com>
1234
1235 * armemu.c (LHPOSTDOWN): Compute write back value before
1236 performing load in case the offset register is overwritten.
1237 (LHPOSTUP): Ditto.
1238
0a4321b9
FN
12392000-07-14 Fernando Nasser <fnasser@cygnus.com>
1240
1241 * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
1242
64a10675
FN
12432000-07-14 Fernando Nasser <fnasser@cygnus.com>
1244
1245 * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
1246 new inferior.
1247
b0eae074
AO
12482000-07-04 Alexandre Oliva <aoliva@redhat.com>
1249
ae3c7619
AO
1250 * armvirt.c (ABORTS): Do not define.
1251
1e6b544a
AO
1252 * armdefs.h (struct ARMul_State): Add is_StrongARM.
1253 (ARM_Strong_Prop, STRONGARM): Define.
1254 * arminit.c (ARMul_NewState): Reset is_StrongARM.
1255 (ARMul_SelectProcessor): Set is_StrongARM.
1256 * wrapper.c (sim_create_inferior): Use bfd machine type to
1257 determine processor type to emulate.
1258 * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
1259 when emulating StrongARM.
1260
66210567
AO
1261 * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
1262
e063aa3b
AO
1263 * armemu.h (INSN_SIZE): New macro.
1264 (SET_ABORT): Save CPSR in SPSR and set LR.
1265 * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
1266 (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
1267 * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
1268
13b6dd6f
AO
1269 * armemu.c (LoadSMult): Use WriteR15() to discard the least
1270 significant bits of PC.
1271
892c6b9d
AO
1272 * armemu.h (WRITEDESTB): New macro.
1273 * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
1274 modify PC. Moved the existing logic...
1275 (WriteR15Branch): ... here. New function.
1276 (WriteR15, WriteSR15): Drop the two least significant bits.
1277 (LoadSMult): Use WriteR15Branch() to modify PC.
1278 (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
1279
cf52c765
AO
1280 * armemu.h (GETSPSR): Call ARMul_GetSPSR().
1281 * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
1282 extracted from state->Cpsr, but preserve the unused bits.
1283 (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
1284 (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
1285 get the full CPSR word.
1286
4ef2594f
AO
1287 * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
1288 (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
1289 (SETPSR, SET_INTMODE, SETCC): Removed.
1290 * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
1291 mask. Use SETPSR_* to modify PSR.
1292 (ARMul_SetCPSR): Load all bits from value.
1293 * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
1294
e62263b8
AO
1295 * armemu.c (ARMul_Emulate): Compute writeback value before
1296 loading, since the offset register may be the destination
1297 register.
1298
b0eae074
AO
1299 * armdefs.h (SYSTEMBANK): Define as USERBANK.
1300 * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
1301
ee9a7772
AO
13022000-06-22 Alexandre Oliva <aoliva@cygnus.com>
1303
f9c22bc3
AO
1304 * armemu.c (Multiply64): Fix computation of flag N.
1305
ee9a7772
AO
1306 * armemu.c (MultiplyAdd64): Fix computation of flag N.
1307
fe47e8df
AO
13082000-06-20 Alexandre Oliva <aoliva@cygnus.com>
1309
1310 * armemu.h (NEGBRANCH): Do not overwrite the two most significant
1311 bits of the offset.
1312
c1a72ffd
NC
13132000-05-25 Nick Clifton <nickc@cygnus.com>
1314
1315 * armcopro.c (MMUMCR): Only indicate mode change if a singal has
1316 really changed.
1317 (MMUWrite): Only indicate mode change if a singal has really
1318 changed.
1319
1320 * armdefs.h (SYSTEMMODE): Define.
1321 (BANK_CAN_ACEESS_SPSR): Define.
1322
1323 * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
1324 to advance before stopping the emulation.
1325
1326 * arminit.c (ARMul_Reset): Ensure Mode field of State is set
1327 correctly.
1328
1329 * armos.c (ARMul_OSInit): Create a initial stack pointer for
1330 System mode.
1331
1332 * armsupp.c (ModeToBank): Remove unused first parameter.
1333 Add support for System Mode.
1334 (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1335 (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1336 (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
1337 (ARMulSwitchMode): Add support for System Mode.
1338
1339Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
eb2d80b4
AC
1340
1341 * configure: Regenerated to track ../common/aclocal.m4 changes.
1342
3463c3fb
NC
13432000-05-23 Nick Clifton <nickc@cygnus.com>
1344
1345 * wrapper.c (sim_store_register): Special handling for CPSR
1346 register.
1347
5d0d395e
FCE
13482000-03-11 Philip Blundell <philb@gnu.org>
1349
1350 * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
1351 Patch from Allan Skillman <Allan.Skillman@arm.com>.
1352
6c9e0292
FCE
1353Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
1354
1355 * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
1356
6d358e86
NC
13572000-02-08 Nick Clifton <nickc@cygnus.com>
1358
1359 * wrapper.c: Fix compile time warning messages.
1360 * armcopro.c: Fix compile time warning messages.
1361 * armdefs.h: Fix compile time warning messages.
1362 * armemu.c: Fix compile time warning messages.
1363 * armemu.h: Fix compile time warning messages.
1364 * armos.c: Fix compile time warning messages.
1365 * armsupp.c: Fix compile time warning messages.
1366 * armvirt.c: Fix compile time warning messages.
d0187574 1367 * bag.c: Fix compile time warning messages.
72f4393d 1368
dfcd3bfb
JM
13692000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
1370
1371 * *.[ch]: Use indent to make readable.
1372
c2d11a7d
JM
13731999-11-22 Nick Clifton <nickc@cygnus.com>
1374
1375 * armos.c (SWIread): Generate an error message if a huge read is
1376 performed.
1377 (SWIwrite): Generate an error message if a huge write is
1378 performed.
1379
5c44784c
JM
13801999-10-27 Nick Clifton <nickc@cygnus.com>
1381
1382 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
72f4393d 1383 breakpoint.
5c44784c 1384
2df3850c
JM
13851999-10-08 Ulrich Drepper <drepper@cygnus.com>
1386
1387 * armos.c (SWIopen): Always pass third parameter with 0666 since
1388 otherwise uninitialized memory gets access if the O_CREAT bit is
1389 set and so we possibly cannot access the file afterwards.
1390
2acceee2
JM
13911999-09-29 Doug Evans <devans@casey.cygnus.com>
1392
1393 * armos.c (SWIWrite0): Send output to stdout instead of stderr.
1394 (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
1395
d4f3574e
SS
1396Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
1397
1398 * configure: Regenerated to track ../common/aclocal.m4 changes.
1399
cd0fc7c3
SS
14001999-05-08 Felix Lee <flee@cygnus.com>
1401
1402 * configure: Regenerated to track ../common/aclocal.m4 changes.
72f4393d 1403
7a292a7a
SS
14041999-04-06 Keith Seitz <keiths@cygnus.com>
1405
1406 * wrapper.c (stop_simulator): New global.
1407 (sim_stop): Set sim state to STOP and set
1408 stop_simulator.
1409 (sim_resume): Reset stop_simulator.
1410 (sim_stop_reason): If stop_simulator is set, tell gdb
1411 that the we took SIGINT.
1412 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
1413 stop_simulator is set.
1414
14151999-04-02 Keith Seitz <keiths@cygnus.com>
1416
1417 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
1418 whenever the counter expires.
1419 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
1420
14211999-03-24 Nick Clifton <nickc@cygnus.com>
1422
1423 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
1424 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
1425
c906108c
SS
1426Mon Sep 14 09:00:05 1998 Nick Clifton <nickc@cygnus.com>
1427
1428 * wrapper.c (sim_open): Set endianness according to BFD or command
1429 line switch.
1430
1431 * tconfig.in: Define SIM_HAVE_BIENDIAN.
1432
1433Thu Aug 27 11:00:05 1998 Nick Clifton <nickc@cygnus.com>
1434
1435 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
1436 the same as either RdHi or RdLo.
1437
1438Thu Jul 2 10:24:35 1998 Nick Clifton <nickc@cygnus.com>
1439
1440 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
1441 Set Reg[0] based on reason for for the exception.
1442
1443Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com)
1444
1445 * armos.c (SWIwrite0): New function.
1446 (WriteCommandLineTo): New function.
1447 (SWIopen): New function.
1448 (SWIread): New function.
1449 (SWIwrite): New function.
1450 (SWIflen): New function.
72f4393d 1451 (ARMul_OSHandleSWI): Call new functions instead of handling
c906108c
SS
1452 these here.
1453 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
1454 (*): Reformat spacing to be a bit more GNUly.
72f4393d 1455 Most code taken from a patch by Anthony Thompson
c906108c
SS
1456 (athompso@cambridge.arm.com)
1457
1458Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
1459
1460 * armos.h: Add Angel SWI and its reason codes.
1461 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
1462
1463Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
1464
1465 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
1466 of ":tt" to catch stdin in addition to stdout.
1467 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
1468 or success of lseek().
1469
1470Wed May 20 17:36:25 1998 Nick Clifton <nickc@cygnus.com>
1471
1472 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
1473 to open stdout.
1474
1475Wed Apr 29 15:29:55 1998 Jeff Johnston <jjohnstn@cygnus.com>
1476
1477 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
1478 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
1479 seek from offset 0 and not to use R2 for whence since it is
1480 not passed as part of the SWI call.
1481
1482Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1483
1484 * configure: Regenerated to track ../common/aclocal.m4 changes.
1485
1486Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
1487
1488 * configure: Regenerated to track ../common/aclocal.m4 changes.
1489 * config.in: Ditto.
1490
1491Sun Apr 26 15:20:26 1998 Tom Tromey <tromey@cygnus.com>
1492
1493 * acconfig.h: New file.
1494 * configure.in: Reverted change of Apr 24; use sinclude again.
1495
1496Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1497
1498 * configure: Regenerated to track ../common/aclocal.m4 changes.
1499 * config.in: Ditto.
1500
1501Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
1502
1503 * configure.in: Don't call sinclude.
1504
1505Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1506
1507 * configure: Regenerated to track ../common/aclocal.m4 changes.
1508
1509Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1510
1511 * configure: Regenerated to track ../common/aclocal.m4 changes.
1512
1513Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1514
1515 * configure: Regenerated to track ../common/aclocal.m4 changes.
1516
1517Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1518
1519 * configure: Regenerated to track ../common/aclocal.m4 changes.
1520
1521Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
1522
1523 * armopts.h: Remove definition of LITTLEND - it is not used.
1524
1525Tue Feb 17 12:35:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
1526
1527 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
1528 length parameter. Return -1.
1529
1530Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1531
1532 * configure: Regenerated to track ../common/aclocal.m4 changes.
1533
1534Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1535
1536 * configure: Regenerated to track ../common/aclocal.m4 changes.
1537
1538Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1539
1540 * configure: Regenerated to track ../common/aclocal.m4 changes.
1541
1542Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1543
1544 * configure: Regenerated to track ../common/aclocal.m4 changes.
1545 * config.in: Ditto.
1546
1547Tue Dec 9 11:30:48 1997 Nick Clifton <nickc@cygnus.com>
1548
1549 * Makefile.in: Updated with changes from branch.
1550 * armdefs.h: ditto
1551 * armemu.c: ditto these changes
1552 * armemu.h: ditto add support for
1553 * armos.c: ditto the Thumb instruction
1554 * armsupp.c: ditto set and the new v4
1555 * armvirt.c: ditto architecture.
1556 * wrapper.c: ditto
1557 * thumbemu.c: New file from branch.
1558
1559
1560Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1561
1562 * configure: Regenerated to track ../common/aclocal.m4 changes.
1563
1564Thu Oct 30 13:54:06 1997 Nick Clifton <nickc@cygnus.com>
1565
1566 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
72f4393d 1567 from Tony Thompson at ARM: athompso@arm.com
c906108c
SS
1568
1569 * wrapper.c (sim_create_inferior): Add code to create an execution
1570 environment. Patch from Tony Thompson at ARM: athompso@arm.com
1571
1572Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1573
1574 * wrapper.c (sim_load): Pass lma_p and sim_write args to
1575 sim_load_file.
1576
1577Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1578
1579 * configure: Regenerated to track ../common/aclocal.m4 changes.
1580
1581Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1582
1583 * configure: Regenerated to track ../common/aclocal.m4 changes.
1584
1585Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1586
1587 * configure: Regenerated to track ../common/aclocal.m4 changes.
1588
1589Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1590
1591 * configure: Regenerated to track ../common/aclocal.m4 changes.
1592
1593Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1594
1595 * configure: Regenerated to track ../common/aclocal.m4 changes.
1596
1597Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1598
1599 * configure: Regenerated to track ../common/aclocal.m4 changes.
1600
1601Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1602
1603 * configure: Regenerated to track ../common/aclocal.m4 changes.
1604
1605Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1606
1607 * configure: Regenerated to track ../common/aclocal.m4 changes.
1608 * config.in: Ditto.
1609
1610Tue Aug 26 10:37:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
1611
1612 * wrapper.c (sim_kill): Delete.
1613 (sim_create_inferior): Add ABFD argument.
1614 (sim_load): Move setting of PC from here.
1615 (sim_create_inferior): To here.
1616
1617Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1618
1619 * configure: Regenerated to track ../common/aclocal.m4 changes.
1620 * config.in: Ditto.
1621
1622Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
1623
1624 * wrapper.c (sim_open): Add ABFD argument.
1625
1626Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
1627
1628 * wrapper.c (sim_open): Add callback argument.
1629 (sim_set_callbacks): Drop SIM_DESC argument.
1630
1631Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1632
1633 * configure: Regenerated to track ../common/aclocal.m4 changes.
1634
1635Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
1636
1637 * wrapper.c (sim_stop): Stub sim_stop function.
1638
1639Thu Apr 17 18:33:01 1997 Fred Fish <fnf@cygnus.com>
1640
1641 * arminit.c (ARMul_NewState): Preinitialize the state to
1642 all zero/NULL.
1643
1644Thu Apr 17 02:39:02 1997 Doug Evans <dje@canuck.cygnus.com>
1645
1646 * Makefile.in (SIM_OBJS): Add sim-load.o.
1647 * wrapper.c (sim_kind,myname): New static locals.
1648 (sim_open): Set sim_kind, myname.
1649 (sim_load): Call sim_load_file to do work. Set start address from bfd.
1650 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
1651
1652Thu Apr 17 11:48:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1653
1654 * wrapper.c (sim_trace): Update so that it matches prototype.
1655
1656Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1657
1658 * configure: Regenerated to track ../common/aclocal.m4 changes.
1659 * config.in: Ditto.
1660
1661Mon Apr 7 12:01:17 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1662
1663 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1664 $(srcdir)/....
1665 (armemu26.o): Ditto.
1666
1667Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1668
1669 * wrapper.c (sim_open): New arg `kind'.
1670
1671 * configure: Regenerated to track ../common/aclocal.m4 changes.
1672
1673Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
1674
1675 * COPYING: Update FSF address.
1676
1677Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1678
1679 * configure: Regenerated to track ../common/aclocal.m4 changes.
1680
1681Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1682
1683 * configure: Regenerated to track ../common/aclocal.m4 changes.
1684
1685Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1686
1687 * configure: Re-generate.
1688
1689Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1690
1691 * configure: Regenerate to track ../common/aclocal.m4 changes.
1692
1693Thu Mar 13 12:38:56 1997 Doug Evans <dje@canuck.cygnus.com>
1694
1695 * wrapper.c (sim_open): Has result now.
1696 (sim_*): New SIM_DESC argument.
1697
1698Tue Feb 4 13:22:21 1997 Doug Evans <dje@canuck.cygnus.com>
1699
1700 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
1701 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1702 * configure.in: sinclude ../common/aclocal.m4.
1703 * configure: Regenerated.
1704
1705Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1706
1707 * configure configure.in Makefile.in: Update to new configure
1708 scheme which is more compatible with WinGDB builds.
1709 * configure.in: Improve comment on how to run autoconf.
1710 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1711 * Makefile.in: Use autoconf substitution to install common
1712 makefile fragment.
1713
1714Wed Nov 20 01:05:10 1996 Doug Evans <dje@canuck.cygnus.com>
1715
1716 * run.c: Deleted, use one in ../common now.
1717 * Makefile.in: Delete everything that's been moved to
1718 ../common/Make-common.in.
1719 (SIM_OBJS): Define.
1720 * configure.in: Simplify using macros in ../common/aclocal.m4.
1721 * configure: Regenerated.
1722 * config.in: New file.
1723 * armos.c: #include config.h.
1724 * wrapper.c (mem_size): Value is in bytes now.
1725 (sim_callback): New global.
1726 (arm_sim_set_profile{,_size}): Delete.
1727 (arm_sim_set_mem_size): Rename to sim_size.
1728 (sim_do_command): Call printf_filtered via callback.
1729 (sim_set_callbacks): Record callback.
1730
1731Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1732
1733 * Makefile.in (mostlyclean): Remove config.log.
1734
1735Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1736
72f4393d
L
1737 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1738 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1739 (docdir): Removed.
1740 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1741 (AC_PROG_INSTALL): Added.
1742 * configure: Rebuilt.
c906108c
SS
1743
1744Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
1745
1746 * configure: Regenerate with autoconf 2.7.
1747
1748Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
1749
1750 * run.c (main): Use new bfd_big_endian macro.
1751
1752Mon Nov 20 17:40:38 1995 Doug Evans <dje@canuck.cygnus.com>
1753
1754 * run.c: Include "getopt.h".
1755 (verbose): Delete.
1756 (usage): Make static.
1757 (main): Call arm_sim_set_verbosity.
1758 Only load sections marked SEC_LOAD.
1759 * wrapper.c (mem_size, verbosity): New static global.
1760 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
1761 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
72f4393d 1762
c906108c
SS
1763Fri Nov 17 19:35:11 1995 Doug Evans <dje@canuck.cygnus.com>
1764
1765 * armdefs.h (ARMul_State): New member `verbose'.
1766 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
1767 * run.c (verbose): Make global.
1768 * wrapper.c (init): Set state->verbose.
1769 (ARMul_ConsolePrint): Don't print anything if !verbose.
1770
1771Fri Oct 13 15:30:30 1995 Doug Evans <dje@canuck.cygnus.com>
1772
1773 * armos.c: #include dbg_rdi.h.
1774 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
1775 * armos.h (SWI_Breakpoint): Define.
1776 * wrapper.c: #include armemu.h, dbg_rdi.h.
1777 (rc): Delete.
1778 (sim_resume): Use state->EndCondition to record stop state.
1779 Call FLUSHPIPE before returning.
1780 (sim_stop_reason): Determine reason from state->EndCondition.
1781
1782Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
1783
1784 * wrapper.c (sim_set_callbacks): New.
1785
1786Thu Sep 28 19:45:56 1995 Doug Evans <dje@deneb.cygnus.com>
1787
1788 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
1789 number of bytes not read/written (or -1).
1790
1791Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
1792
1793 * Makefile.in (maintainer-clean): New synonym for realclean.
1794
1795Fri Sep 8 14:27:20 1995 Ian Lance Taylor <ian@cygnus.com>
1796
1797 * configure.in: Remove AC_PROG_INSTALL.
1798 * configure: Rebuild.
1799 * Makefile.in (INSTALL): Revert to using install.sh.
1800 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
1801 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
1802 (mostlyclean): Make the same as clean, not distclean.
1803 (clean): Remove config.log.
1804 (install): Don't install in $(tooldir).
1805
1806Thu Sep 7 12:00:17 1995 Doug Evans <dje@canuck.cygnus.com>
1807
1808 (Try to) Update to new bfd autoconf scheme.
1809 * run.c: Don't include sysdep.h.
1810 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
1811 (CC, CFLAGS, AR, RANLIB): Likewise.
1812 (HDEFINES, TDEFINES): Define.
1813 (CC_FOR_BUILD): Delete.
1814 (host_makefile_frag): Delete.
1815 (Makefile): Don't depend on frags.
1816 * configure.in (sysdep.h): Don't create symlink.
1817 (host_makefile_frag, frags): Deleted.
1818 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
1819 * configure: Regenerated.
1820
1821Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1822
1823 * Update all FSF addresses except those in COPYING* files.
1824
1825Wed Jul 5 16:15:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1826
1827 * Makefile.in (clean): Remove run, libsim.a.
1828
1829 * Makefile.in, configure.in: converted to autoconf.
1830 * configure: New file, generated with autconf 2.4.
1831
1832 * arm.mt: Removed.
1833
1834Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
1835
1836 * wrapper.c (sim_do_command): New function.
1837
1838Tue Jun 13 10:57:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
1839
1840 * armos.c (ARMul_OSHandleSWI): New version to work with
1841 newlib simply.
1842
1843Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
1844
1845 * run.c (main): Grab return value from right register.
1846
1847Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
1848
1849 * New.