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