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