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