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