]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/arm/ChangeLog
* gdb.base/async.exp: Whitespace fixes. Turn on target-async.
[thirdparty/binutils-gdb.git] / sim / arm / ChangeLog
CommitLineData
8d052926
NC
12014-03-14 Nick Clifton <nickc@redhat.com>
2
3 * wrapper.c (op_print): New function.
4 (sim_dis_read): New function.
5 (print_insn): New function - disassembles the given instruction.
6 (sim_trace): Note that tracing is now allowed.
7 (sim_create_inferior): Default to emulating v6.
8 Initialise the disassembler machinery.
9 (sim_target_parse_command_line): Add support for -t -d and -z
10 options.
11 (sim_target_display_usage): Note existence of -d and -z options.
12 (sim_open): Parse -t -d and -z options.
13 * armemu.h: Add exports of trace, disas and trace_funcs.
14 Add prototype for print_insn.
15 * armemu.c (ARMul_Emulate26): Add tracing code.
16 Delete unused variables.
17 * thumbemu (handle_v6_thumb_insn): Delete unused variable Rd.
18 Move Rm variable into switch cases.
19 Add tracing code.
20
21 * armcopro.c (XScale_cp15_init): Add a return value.
22 (XScale_cp13_init): Likewise.
23 (XScale_cp14_init): Likewise.
24 (XScale_cp15_LDC): Delete unused function.
25 (XScale_cp15_STC): Likewise.
26 * maverick.c: Delete comment inside comment.
27 (DSPInit): Delete unused function.
28 (DSPMCR4): Fix compile time warning about missing parenthesis.
29 (DSPMCR5): Likewise.
30 (DSPCDP6): Delete unused variable opcode2.
31
b9366cf3
DM
322014-03-14 David McQuillan <dmcq@tao-group.com>
33
34 PR sim/8388
35 * armemu.c (WriteR15Load): New function. Determines if the state
36 can be changed upon a write to R15.
37 (LoadMult): Use WriteR15Load.
38 * armemu.h (WRITEDESTB): Use WriteR15Load.
39
60d847df
MF
402014-03-10 Mike Frysinger <vapier@gentoo.org>
41
42 * wrapper.c (sim_do_command): Add const to cmd.
43
b2b255bd
MF
442014-03-05 Mike Frysinger <vapier@gentoo.org>
45
46 * wrapper.c (sim_load): Add const to prog.
47
bf3d9781
AM
482013-09-23 Alan Modra <amodra@gmail.com>
49
50 * configure: Regenerate.
51
31e6ad7d
MF
522013-06-03 Mike Frysinger <vapier@gentoo.org>
53
54 * aclocal.m4, configure: Regenerate.
55
590919de
MF
562013-05-07 Jayant Sonar <jayant.sonar@kpitcummins.com>
57 Kaushik Phatak <Kaushik.Phatak@kpitcummins.com>
58
59 * armemu.c (ARMul_Emulate32): Emulate instructions MOVW and MOVT.
60
19a3671c
JB
612012-12-19 Joel Brobecker <brobecker@adacore.com>
62
63 * COPYING: Update to GPL version 3.
64
f253d86d
NC
652012-09-03 Nick Clifton <nickc@redhat.com>
66
67 PR sim/14540
68 * armsupp.c (ARMul_MRC): Return 0 if access to the MRC instruction
69 is denied.
70
9256caa6
KB
712012-08-01 Kevin Buettner <kevinb@redhat.com>
72
73 * wrapper.c (libiberty.h): Include.
74 (sim_store_register, sim_fetch_register): On success, return
75 length, instead of -1.
76
5f3ef9d0
JB
772012-06-15 Joel Brobecker <brobecker@adacore.com>
78
79 * config.in, configure: Regenerate.
80
b0f05691
NC
812012-06-13 Nick Clifton <nickc@redhat.com>
82
83 * wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
84 binaries (for now).
85
a493e3e2
PA
862012-05-24 Pedro Alves <palves@redhat.com>
87
88 PR gdb/7205
89
90 Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.
91
a6ff997c
NC
922012-05-18 Nick Clifton <nickc@redhat.com>
93
94 PR 14072
95 * wrapper.c: Include config.h before system header files.
96
2232061b
MF
972012-03-24 Mike Frysinger <vapier@gentoo.org>
98
99 * aclocal.m4, config.in, configure: Regenerate.
100
db2e4d67
MF
1012011-12-03 Mike Frysinger <vapier@gentoo.org>
102
103 * aclocal.m4: New file.
104 * configure: Regenerate.
105
9c082ca8
MF
1062011-10-17 Mike Frysinger <vapier@gentoo.org>
107
108 * configure.ac: Change include to common/acinclude.m4.
109
6ffe910a
MF
1102011-10-17 Mike Frysinger <vapier@gentoo.org>
111
112 * configure.ac: Change AC_PREREQ to 2.64. Delete AC_CONFIG_HEADER
113 call. Replace common.m4 include with SIM_AC_COMMON.
114 * configure: Regenerate.
115
161fc452
NC
1162011-07-01 Nick Clifton <nickc@redhat.com>
117
118 PR sim/12737
119 * iwmmxt.c (WCMPGT): Sign extend 32-bit values before performing a
120 signed compare.
121 (WMAC): Extend computed result before adding to result register.
122 (WRSA): Sign extend 32-bit values before shifting.
123
af9f7da7
MF
1242011-04-16 Mike Frysinger <vapier@gentoo.org>
125
126 * wrapper.c (sim_complete_command): New stub function.
127
363a6e9f
OS
1282010-05-26 Ozkan Sezer <sezeroz@gmail.com>
129
130 * communicate.c (MYread_char): Check error return from accept() call
131 by its equality to -1 not by it being negative.
132 (MYread_charwait): Likewise.
133 * main.c (main): Likewise for both socket() and accept() calls.
134
5558e7e6
MF
1352010-04-14 Mike Frysinger <vapier@gentoo.org>
136
137 * wrapper.c (sim_write): Add const to buffer arg.
138
3725885a
RW
1392010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
140
141 * configure: Regenerate.
142
d6416cdc
RW
1432009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
144
81ecdfbb
RW
145 * config.in: Regenerate.
146 * configure: Likewise.
147
d6416cdc
RW
148 * configure: Regenerate.
149
a85c0b49
JS
1502008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
151
152 * arminit.c, iwmmxt.c: Include <string.h> to
153 eliminate warning.
b5bd9624
HPN
1542008-07-11 Hans-Peter Nilsson <hp@axis.com>
155
156 * configure: Regenerate to track ../common/common.m4 changes.
157 * config.in: Ditto.
158
6efef468
JM
1592008-06-06 Vladimir Prus <vladimir@codesourcery.com>
160 Daniel Jacobowitz <dan@codesourcery.com>
161 Joseph Myers <joseph@codesourcery.com>
162
163 * configure: Regenerate.
164 * wrapper.c (sim_target_display_usage): Add help parameter.
165
e1c9b6f1
MM
1662007-02-27 Mark Mitchell <mark@codesourcery.com>
167
168 * armos.c (SWIflen): Do not treate file descriptor zero as
169 special.
170
1306df90
NC
1712007-02-15 Nick Clifton <nickc@redhat.com>
172
173 * armemu.c (handle_v6_insn): Fix typo in sign extension test of
174 the sext and sxtah instructions.
175
8944021f
DJ
1762007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
177
178 Reported by timeless@gmail.com:
179 * wrapper.c (sim_target_parse_arg_array): Do not return void value.
180
edc5d9ec
HPN
1812006-12-21 Hans-Peter Nilsson <hp@axis.com>
182
183 * acconfig.h: Remove.
184 * config.in: Regenerate.
185
e85e3205
RE
1862006-06-13 Richard Earnshaw <rearnsha@arm.com>
187
188 * configure: Regenerated.
189
2f0122dc
DJ
1902006-06-05 Daniel Jacobowitz <dan@codesourcery.com>
191
192 * configure: Regenerated.
193
20e95c23
DJ
1942006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
195
196 * configure: Regenerated.
197
4b1d9c58
PB
1982006-03-07 Paul Brook <paul@codesourcery.com>
199
200 * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
201
eeea4660
DJ
2022006-02-01 Shaun Jackman <sjackman@gmail.com>
203
204 * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
205 call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
206
aba6488e
MM
2072005-11-23 Mark Mitchell <mark@codesourcery.com>
208
209 * wrapper.c (gdb/signals.h): Include it.
210 (SIGTRAP): Don't define.
211 (SIGBUS): Likewise.
212 (sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
213
2be701a3
DJ
2142005-11-16 Shaun Jackman <sjackman@gmail.com>
215
eeea4660 216 * armos.c: Include limits.h
2be701a3
DJ
217 (unlink): Remove this macro. It is unused in this file and
218 conflicts with sim_callback->unlink.
219 (PATH_MAX): Define as 1024 if not already defined.
220 (ReadFileName): New function.
221 (SWIopen): Fix a potential buffer overflow.
222 (SWIremove): New function.
223 (SWIrename): Ditto.
224 (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
225 SWI_Remove, and SWI_Rename, as well as the RDI calls
226 AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
227 AngelSWI_Reason_Rename.
228
c4793bac
PB
2292005-09-19 Paul Brook <paul@codesourcery.com>
230
231 * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
232 available.
233 * armemu.c: Use them.
234 * armvirt.c (ARMul_MemoryInit): Use correct type for size.
235 * configure.ac: Check for stdint.h.
236 * config.in: Regenerate.
237 * configure: Regenerate.
238
546aee7a
NC
2392005-05-24 Nick Clifton <nickc@redhat.com>
240
241 * thumbemu.c (handle_v6_thumb_insn): New function.
242 (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
243 instruction binary is encountered.
244
380d9419
NC
2452005-05-12 Nick Clifton <nickc@redhat.com>
246
247 * Update the address and phone number of the FSF organization in
248 the GPL notices in the following files:
249 COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
250 armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
251 armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
252 communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
253 gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
254 maverick.c, parent.c, thumbemu.c, wrapper.c
255
8207e0f2
NC
2562005-04-20 Nick Clifton <nickc@redhat.com>
257
258 * armemu.c (handle_v6_insn): New function - emulate a few of the
259 v6 instructions - the ones now generated by GCC.
260 (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
261 found.
262 * armdefs.h (struct ARMul_State): Add new field: is_v6.
263 (ARM_v6_Prop): Define.
264 * arminit.c (ARMul_NewState): Initialise the v6 flag.
265 (ARMul_SelectProcessor): Determine if the v6 flag should be
266 set.
267 * wrapper.c (sim_create_inferior): For unknown architectures,
268 default to allowing the v6 instructions.
269
16d55f14
NC
2702005-04-18 Nick Clifton <nickc@redhat.com>
271
272 * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
273 operator to the RHS.
274 (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
275 indicate an unsigned long long constant.
276
2b193c4a
MK
2772005-03-23 Mark Kettenis <kettenis@gnu.org>
278
279 * configure: Regenerate.
280
35695fd6
AC
2812005-01-14 Andrew Cagney <cagney@gnu.org>
282
283 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
284 explicit call to AC_CONFIG_HEADER.
285 * configure: Regenerate.
286
f0569246
AC
2872005-01-12 Andrew Cagney <cagney@gnu.org>
288
289 * configure.ac: Update to use ../common/common.m4.
290 * configure: Re-generate.
291
38f48d72
AC
2922005-01-11 Andrew Cagney <cagney@localhost.localdomain>
293
294 * configure: Regenerated to track ../common/aclocal.m4 changes.
295
b7026657
AC
2962005-01-07 Andrew Cagney <cagney@gnu.org>
297
298 * configure.ac: Rename configure.in, require autoconf 2.59.
299 * configure: Re-generate.
300
379832de
HPN
3012004-12-08 Hans-Peter Nilsson <hp@axis.com>
302
303 * configure: Regenerate for ../common/aclocal.m4 update.
304
0aaa4a81
AC
3052004-06-28 Andrew Cagney <cagney@gnu.org>
306
307 * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
308
a4c9740c
MM
3092003-12-29 Mark Mitchell <mark@codesourcery.com>
310
311 * armos.c (fcntl.h): Do not include it.
312 (O_RDONLY): Do not define.
313 (O_WRONLY): Likewise.
314 (O_RDWR): Likewise.
315 (targ-vals.h): Include it.
316 (translate_open_mode): Use TARGET_O_* instead of O_*.
317 (SWIopen): Likewise.
318 * Makefile.in (armos.o): Depend on targ-vals.h.
319
c88931b0
NC
3202003-04-13 Nick Clifton <nickc@redhat.com>
321
322 * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
323 mode.
324 (PutWord): Likewise.
325
3a3d6f65
NC
3262003-03-30 Nick Clifton <nickc@redhat.com>
327
328 * configure.in (CON_FLAGS): Remove.
329 (COPRO): Unconditionally include iwmmxt.o.
330 * configure: Regenerate.
331 * Makefile.in (CON_FLAGS): Remove.
332 * armcopro.c: Remove use of __IWMMXT__ flag.
333 * wrapper.c: Likewise.
334 * armemu.c: Likewise.
335 Add explanatory comment for suppressed code.
336
3372003-03-27 Nick Clifton <nickc@redhat.com>
338
339 * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
340
0f026fd0
NC
3412003-03-27 Nick Clifton <nickc@redhat.com>
342
343 * configure.in: (CON_FLAGS): Define and intialise.
344 (COPRO): Add iwmmxt.o if configuring for XScale.
345 * configure: Regenerate.
346 * Makefile.in (iwmmxt.o): Add rule to build.
347 (COM_FLAGS): Define.
348 (ALL_FLAGS): Add CON_FLAGS.
349 * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
350 * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
351 (ARM_iWMMXt_Prop): Define.
352 * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
353 pass to coprocessor.
354 * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
355 (ARMul_Abort): Catch branches through uninitialised vectors.
356 * armos.c (softevtorcode): Update comment.
357 (ARMul_OsInit): Use ARMUndefinedInstrV.
0f026fd0
NC
358 * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
359 (sim_store_register): Handle iWMMXt registers.
360 (sim_fetch_register): Handle iWMMXt registers.
361 * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
362 functions.
363 * iwmmxt.c: New file: iWMMXt emulator.
364
dd97b6fd 3652003-03-20 Nick Clifton <nickc@redhat.com>
f603c8fe
NC
366
367 * Contribute support for Cirrus Maverick ARM co-processor,
368 written by Aldy Hernandez <aldyh@redhat.com> and
369 Andrew Cagney <cagney@redhat.com>:
370
371 * maverick.c: New file: Support for Maverick floating point
372 co-processor.
373 * Makefile.in: Add maverick.o target.
374 * configure.in (COPRO): Add maverick.o.
375 * configure: Regenerate.
376 * armcopro.c (ARMul_CoProInit): Only initialise co-processors
377 available on target processor. Add code to initialse Maverick
378 co-processor support code.
379 * armdefs.h (ARMul_state): Add is_ep9312 field.
380 (ARM_ep9312_Prop): Define.
381 * armemu.h: Add prototypes for Maverick co-processor
382 functions.
383 * arminit.c (ARMul_SelectProcessor): Initialise the
384 co-processor support once the chip has been selected.
385 * wrapper.c: Add support for Maverick co-processor.
386 (init): Do not call ARMul_CoProInit. Delays this until the
387 chip has been selected.
388
0d9fd8f1
NC
3892003-03-02 Nick Clifton <nickc@redhat.com>
390
391 * armos.c (SWIWrite0): Catch big-endian bug when printing
392 characters.
393
6b4a8935
AC
3942003-02-27 Andrew Cagney <cagney@redhat.com>
395
396 * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
397
45fdcabe
BE
3982003-01-10 Ben Elliston <bje@redhat.com>
399
400 * README.Cygnus: Rename from this ..
401 * README: .. to this.
402
058f270d
AC
4032002-09-27 Andrew Cagney <ac131313@redhat.com>
404
405 * wrapper.c (sim_open): Add support for -m<mem-size>.
406 (mem_size): Reduce to 2MB.
407 Fix PR gdb/433.
408
c7a7b500
NC
4092002-08-15 Nick Clifton <nickc@redhat.com>
410
411 * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
412 can be caused by an interrupted system call being resumed by GDB.
413
630ace25
NC
4142002-07-05 Nick Clifton <nickc@cambridge.redhat.com>
415
416 * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
417 and MIAxy instructions.
418
7b77dec6
NC
4192002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
420
421 * armos.h (ADP_Stopped_RunTimeError): Set correct value.
422
c8cca39f
AC
4232002-06-16 Andrew Cagney <ac131313@redhat.com>
424
425 * configure: Regenerated to track ../common/aclocal.m4 changes.
426
26216b98
AC
4272002-06-12 Andrew Cagney <ac131313@redhat.com>
428
429 * Makefile.in: Update copyright.
430 (wrapper.o): Specify dependencies.
431 * wrapper.c: Include "gdb/sim-arm.h".
432 (sim_store_register, sim_fetch_register): Rewrite using `enum
433 arm_sim_regs' and a switch.
434
3c25f8c7
AC
4352002-06-09 Andrew Cagney <cagney@redhat.com>
436
437 * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
438 * armos.c: Include "gdb/callback.h".
439
5aa682b2
NC
4402002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
441
442 * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
443 if a Data Abort is detected.
444
7378e198
NC
4452002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
446
10b57fcb
NC
447 * armvirt.c (GetWord): Only perform access checks if 'check'
448 is set.
449 (PutWord): Likewise.
450 * wrapper.c (sim_create_inferior): Report unknown machine
451 numbers.
7378e198
NC
452 * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
453 2, it has already been advanced.
454
2984e114
NC
4552002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
456
457 * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
458 instruction do not add in the second bit of the base address -
459 this has already been accounted for.
460
8b2440b7
NC
4612002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
462
463 * armcopro.c (check_cp13_access): Allow access to register 1 when
464 CRm is 1.
465 (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
466
de4112fa
NC
4672002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
468
7f53bce4 469 * Makefile.in (SIM_TARGET_SWITCHES): Define.
de4112fa
NC
470 * armos.c (swi_mask): Define. Initialise to supporting all
471 SWI emulations.
472 (ARMul_OSInit): For XScale targets, only support the ANGEL
473 SWI interface. (This is at the request if Intel).
474 (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
475 SWI call should be emulated.
476 Do not fall through from AngelSWI_Reason_WriteC.
477 Propagate exit code from RedBoot Exit SWI.
478 * rdi-dgb.h (swi_mask): Prototype.
479 (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
480 * wrapper.c (sim_target_parse_command_line): New function.
481 Look for and handle --swi-support switch.
482 (sim_target_parse_arg_array): New function. Process an argv
483 array for parsing by sim_target_parse_command_line.
484 (sim_target_display_usage): New function. Describe syntax of
485 --swi-suppoort switch.
486 (sim_open): Add call to sim_target_parse_arg_array).
487
d8512e6a
NC
4882002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
489
490 * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
491 mode and some of its system calls.
492
ae60d3dd
AG
4932002-03-17 Anthony Green <green@redhat.com>
494
495 * wrapper.c (mem_size): Increase the default target memory to 8MB.
496
b3ba81f8
KS
4972002-02-21 Keith Seitz <keiths@redhat.com>
498
499 * armos.c (SWIWrite0): Use generic host_callback mechanism
500 for supported OS functions "open", "close", "write", etc.
501 (SWIopen): Likewise.
502 (SWIread): Likewise.
503 (SWIwrite): Likewise.
504 (SWIflen): Likewise.
505 (ARMul_OSHandleSWI): Likewise.
506
c17aa318
NC
5072002-02-05 Nick Clifton <nickc@cambridge.redhat.com>
508
509 * wrapper.c (sim_create_inferior): Modify previous patch so that
510 it is only triggered for COFF format executables.
511
25180f8a
NC
5122002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
513
c17aa318
NC
514 * wrapper.c (sin_create_inferior): If a v5 architecture is
515 detected, assume it might be an XScale binary, since there is no
516 way to distinguish between the two in the COFF file format.
25180f8a 517
57165fb4
NC
5182002-01-10 Nick Clifton <nickc@cambridge.redhat.com>
519
520 * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
521 * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
522 and CPRead[14].
523 Fix formatting. Improve layout.
524 * armemu.h: Fix formatting. Improve layout.
525
272fcdcd
NC
5262002-01-09 Nick Clifton <nickc@cambridge.redhat.com>
527
528 * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
529 return zeroes in the other words.
86c735a5 530 General formatting tidy ups.
272fcdcd 531
6746a76a
BH
5322001-11-16 Ben Harris <bjh21@netbsd.org>
533
534 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
535 $(srcdir)/....
536 (armemu26.o): Ditto.
537
ff44f8e3
NC
5382001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
539
540 * armemu.h (CP_ACCESS_ALLOWED): New macro.
541 Fix formatting.
542 * armcopro.c (read_cp14_reg): Make static.
543 (write_cp14_reg): Make static.
544 (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
545 Fix formatting.
546 * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
547 (ARMul_STC): Check CP_ACCESS_ALLOWED.
548 (ARMul_MCR): Check CP_ACCESS_ALLOWED.
549 (ARMul_MRC): Check CP_ACCESS_ALLOWED.
550 (ARMul_CDP): Check CP_ACCESS_ALLOWED.
551 Fix formatting.
552 * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not
553 equal to 15.
554 (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15.
555 Fix formatting.
556
fb7a8ef0
NC
5572001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
558
559 * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
560 instructions with post indexed addressing modes.
561
dac07255
NC
5622001-05-08 Jens-Christian Lache <lache@tu-harburg.de>
563
564 * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
565 determine rocesor mode.
566
c3ae2f98
MG
5672001-04-18 matthew green <mrg@redhat.com>
568
569 * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
570 (read_cp15_reg): Make non-static.
571 (XScale_cp15_LDC): Update for write_cp15_reg() change.
572 (XScale_cp15_MCR): Likewise.
573 (XScale_cp15_write_reg): Likewise.
574 (XScale_check_memacc): New function. Check for breakpoints being
575 activated by memory accesses. Does not support the Branch Target
576 Buffer.
577 (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
578 (XScale_debug_moe): New function. Set the debug Method Of Entry,
579 if configured.
580 (write_cp14_reg): Reset count counter if requested.
581 * armdefs.h (struct ARMul_State): New members `LastTime' and
582 `CP14R0_CCD' used for the timer/counters.
583 (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
584 ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
585 ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
586 ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
587 ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
588 ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
589 ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
590 ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
591 defines for XScale registers.
592 (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
593 (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
594 (ARMul_Emulate32): Handle the clock counter and hardware instruction
595 breakpoints. Call XScale_set_fsr_far() for software breakpoints and
596 software interrupts.
597 (LoadMult): Call XScale_set_fsr_far() for data aborts.
598 (LoadSMult): Likewise.
599 (StoreMult): Likewise.
600 (StoreSMult): Likewise.
601 * armemu.h (write_cp15_reg): Update prototype.
602 * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
603 (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
604 register 0.
605 * armvirt.c (GetWord): Call XScale_check_memacc().
606 (PutWord): Likewise.
607
3cf84db9
NC
6082001-03-20 Nick Clifton <nickc@redhat.com>
609
610 * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
611 when loading unaligned thumb instructions.
612
4f3c3dbb
NC
6132001-03-06 Nick Clifton <nickc@redhat.com>
614
615 * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
616 Compute destination address of BLX(1) instruction by
617 taking bit 1 from PC and not from bit 0 of the offset.
618
917bca4f
NC
6192001-02-27 Nick Clifton <nickc@redhat.com>
620
621 * armvirt.c (GetWord): Add new parameter - check - to enable or
622 disable the alignment checking.
623 (PutWord): Add new parameter - check - to enable or disable the
624 alignment checking.
625 (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
626 (ARMul_ReadWord): Pass extra parameter to GetWord.
627 (ARMul_WriteWord): Pass extra parameter to PutWord.
628 (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
629 (ARMul_WriteByte): Pass extra parameter to GetWord.
630 (ARMul_SwapWord): Pass extra parameter to PutWord.
631 (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
632 (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
633
634 * armdefs.h: Add prototypes for ARMul_SafeReadByte and
635 ARMul_SafeWriteByte.
636
637 * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
638 (sim_read): Use ARMul_SafeReadByte.
639
640 * armos.c (in_SWI_handler): Remove.
641 (SWIWrite0): Use ARMul_SafeReadByte.
642 (WriteCommandLineTo): Use ARMul_SafeWriteByte.
643 (SWIopen): Use ARMul_SafeReadByte.
644 (SWIread): Use ARMul_SafeWriteByte.
645 (SWIwrite): Use ARMul_SafeReadByte.
646 (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
647 (ARMul_OSException): Remove use of is_SWI_handler.
648
2ef048fc
NC
6492001-02-16 Nick Clifton <nickc@redhat.com>
650
651 * armemu.c: Remove Prefetch abort for breakpoints. Instead set
652 the state to RESUME.
653
5f7d0a33
NC
6542001-02-14 Nick Clifton <nickc@redhat.com>
655
44e23e57
NC
656 * armemu.c: Add code to preserve processor mode when a prefetch
657 abort is signalled after processing a breakpoint.
658
5f7d0a33
NC
659 * wrapper.c (sim_create_inferior): Reset processor into ARM mode
660 for any machine type except the early ARMs.
661
1e5d4e46
NC
6622001-02-13 Nick Clifton <nickc@redhat.com>
663
664 * armos.c (in_SWI_handler): New static variable.
665 (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
666 (ARMul_OSException): Ignore exceptions generated whilst emulating
667 a SWI.
668
179ae6ea
NC
6692001-02-12 Nick Clifton <nickc@redhat.com>
670
671 * armemu.h (NEGBRANCH): Fix defintion.
672
dda308f5
NC
6732001-02-01 Nick Clifton <nickc@redhat.com>
674
675 * armemu.c (LoadSMult): Update base address register after
676 restoring register bank.
677 (StoreMult): Update base address register after restoring register
678 bank.
679
88694af3
NC
6802001-01-31 Nick Clifton <nickc@redhat.com>
681
682 * armvirt.c (PutWord): Detect installation of SWI vector.
683 (SWI_vector_installed): Define.
684 * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
685 * armos.h (SWI_vector_installed): Declare.
686 * wrapper.c (SWI_vector_installed): Remove definition.
687 (sim_write): Remove check of SWI vector installation
688
ac1c9d3a
NC
6892000-12-18 Nick Clifton <nickc@redhat.com>
690
691 * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
692 instruction.
693
9a6b6a66
NC
6942000-12-10 Nick Clifton <nickc@redhat.com>
695
696 * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
697
760a7bbe
NC
6982000-12-07 Nick Clifton <nickc@redhat.com>
699
700 * armemu.c (ARMul_Emulate26): Detect double word load and
701 store instructions and call emulation routines.
702 (Handle_Load_Double): Emulate a double word load instruction.
703 (Handle_Store_Double): Emulate a double word store
704 instruction.
705
7f53bc35
NC
7062000-12-03 Nick Clifton <nickc@redhat.com>
707
708 * armos.c: Fix formatting.
709 (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
710 mode.
711
f1129fb8
NC
7122000-11-29 Nick Clifton <nickc@redhat.com>
713
714 * armdefs.h (State): Add 'v5e' and 'xscale' fields.
715 (ARM_v5e_Prop): Define.
716 (ARM_XScale_Prop): Define.
717
718 * wrapper.c (sim_create_inferior): Select processor based on
719 machine number.
720 (SWI_vector_installed): New boolean. Set to true if the SWI
721 vector address is written to by the executable.
722
723 * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
724 (ARMul_SelectProcessor): Initialise v5e and xscale signals.
725 (ARMul_Abort): Fix calculation of LR address.
726
727 * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
728 and a SWI is not handled by the simulator, pass the SWI off to the
729 vector, otherwise issue a warning message and continue.
730
731 * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
732
733 * thumbemu.c: Add v5 instruction simulation.
734 * armemu.c: Add v5, XScale and El Segundo instruction simulation.
735
736 * armcopro.c: Add XScale co-processor emulation.
737 * armemu.h: Add exported XScale co-processor functions.
738
3943c96b
NC
7392000-09-15 Nick Clifton <nickc@redhat.com>
740
741 * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
742 property. Delete unnecessary processor names.
743 (ARM_Strong_Prop): Delete.
744 (STRONGARM): Delete.
745 (ARM_v4_Prop): Add.
746 (ARM_v5_Prop): Add
747 (State): Delete is_StrongARM boolean. Add is_v4 and is_v5
748 booleans.
749
750 * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
751 (BUSUSEDINCPCN): Use is_v4 boolean.
752
753 * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
754 (ARMul_SelectProcessor): Change second parameter from 'processor'
755 to 'properties'. Set is_v4 and is_v5 booleans in State.
756
757 * armrdi.c: Remove use of ARM processor names. Replace with ARM
758 processor properties.
759
760 * wrapper.c (sim_create_inferior): Choose properties passed to
761 ARMul_SelectProcessor based on machine number.
762
4bc1de7b
NC
7632000-08-14 Nick Clifton <nickc@redhat.com>
764
765 * armemu.c (LHPOSTDOWN): Compute write back value before
766 performing load in case the offset register is overwritten.
767 (LHPOSTUP): Ditto.
768
0a4321b9
FN
7692000-07-14 Fernando Nasser <fnasser@cygnus.com>
770
771 * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
772
64a10675
FN
7732000-07-14 Fernando Nasser <fnasser@cygnus.com>
774
775 * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
776 new inferior.
777
b0eae074
AO
7782000-07-04 Alexandre Oliva <aoliva@redhat.com>
779
ae3c7619
AO
780 * armvirt.c (ABORTS): Do not define.
781
1e6b544a
AO
782 * armdefs.h (struct ARMul_State): Add is_StrongARM.
783 (ARM_Strong_Prop, STRONGARM): Define.
784 * arminit.c (ARMul_NewState): Reset is_StrongARM.
785 (ARMul_SelectProcessor): Set is_StrongARM.
786 * wrapper.c (sim_create_inferior): Use bfd machine type to
787 determine processor type to emulate.
788 * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
789 when emulating StrongARM.
790
66210567
AO
791 * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
792
e063aa3b
AO
793 * armemu.h (INSN_SIZE): New macro.
794 (SET_ABORT): Save CPSR in SPSR and set LR.
795 * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
796 (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
797 * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
798
13b6dd6f
AO
799 * armemu.c (LoadSMult): Use WriteR15() to discard the least
800 significant bits of PC.
801
892c6b9d
AO
802 * armemu.h (WRITEDESTB): New macro.
803 * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
804 modify PC. Moved the existing logic...
805 (WriteR15Branch): ... here. New function.
806 (WriteR15, WriteSR15): Drop the two least significant bits.
807 (LoadSMult): Use WriteR15Branch() to modify PC.
808 (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
809
cf52c765
AO
810 * armemu.h (GETSPSR): Call ARMul_GetSPSR().
811 * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
812 extracted from state->Cpsr, but preserve the unused bits.
813 (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
814 (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
815 get the full CPSR word.
816
4ef2594f
AO
817 * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
818 (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
819 (SETPSR, SET_INTMODE, SETCC): Removed.
820 * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
821 mask. Use SETPSR_* to modify PSR.
822 (ARMul_SetCPSR): Load all bits from value.
823 * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
824
e62263b8
AO
825 * armemu.c (ARMul_Emulate): Compute writeback value before
826 loading, since the offset register may be the destination
827 register.
828
b0eae074
AO
829 * armdefs.h (SYSTEMBANK): Define as USERBANK.
830 * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
831
ee9a7772
AO
8322000-06-22 Alexandre Oliva <aoliva@cygnus.com>
833
f9c22bc3
AO
834 * armemu.c (Multiply64): Fix computation of flag N.
835
ee9a7772
AO
836 * armemu.c (MultiplyAdd64): Fix computation of flag N.
837
fe47e8df
AO
8382000-06-20 Alexandre Oliva <aoliva@cygnus.com>
839
840 * armemu.h (NEGBRANCH): Do not overwrite the two most significant
841 bits of the offset.
842
c1a72ffd
NC
8432000-05-25 Nick Clifton <nickc@cygnus.com>
844
845 * armcopro.c (MMUMCR): Only indicate mode change if a singal has
846 really changed.
847 (MMUWrite): Only indicate mode change if a singal has really
848 changed.
849
850 * armdefs.h (SYSTEMMODE): Define.
851 (BANK_CAN_ACEESS_SPSR): Define.
852
853 * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
854 to advance before stopping the emulation.
855
856 * arminit.c (ARMul_Reset): Ensure Mode field of State is set
857 correctly.
858
859 * armos.c (ARMul_OSInit): Create a initial stack pointer for
860 System mode.
861
862 * armsupp.c (ModeToBank): Remove unused first parameter.
863 Add support for System Mode.
864 (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
865 (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
866 (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
867 (ARMulSwitchMode): Add support for System Mode.
868
869Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
eb2d80b4
AC
870
871 * configure: Regenerated to track ../common/aclocal.m4 changes.
872
3463c3fb
NC
8732000-05-23 Nick Clifton <nickc@cygnus.com>
874
875 * wrapper.c (sim_store_register): Special handling for CPSR
876 register.
877
5d0d395e
FCE
8782000-03-11 Philip Blundell <philb@gnu.org>
879
880 * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
881 Patch from Allan Skillman <Allan.Skillman@arm.com>.
882
6c9e0292
FCE
883Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
884
885 * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
886
6d358e86
NC
8872000-02-08 Nick Clifton <nickc@cygnus.com>
888
889 * wrapper.c: Fix compile time warning messages.
890 * armcopro.c: Fix compile time warning messages.
891 * armdefs.h: Fix compile time warning messages.
892 * armemu.c: Fix compile time warning messages.
893 * armemu.h: Fix compile time warning messages.
894 * armos.c: Fix compile time warning messages.
895 * armsupp.c: Fix compile time warning messages.
896 * armvirt.c: Fix compile time warning messages.
d0187574 897 * bag.c: Fix compile time warning messages.
6d358e86 898
dfcd3bfb
JM
8992000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
900
901 * *.[ch]: Use indent to make readable.
902
c2d11a7d
JM
9031999-11-22 Nick Clifton <nickc@cygnus.com>
904
905 * armos.c (SWIread): Generate an error message if a huge read is
906 performed.
907 (SWIwrite): Generate an error message if a huge write is
908 performed.
909
5c44784c
JM
9101999-10-27 Nick Clifton <nickc@cygnus.com>
911
912 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
913 breakpoint.
914
2df3850c
JM
9151999-10-08 Ulrich Drepper <drepper@cygnus.com>
916
917 * armos.c (SWIopen): Always pass third parameter with 0666 since
918 otherwise uninitialized memory gets access if the O_CREAT bit is
919 set and so we possibly cannot access the file afterwards.
920
2acceee2
JM
9211999-09-29 Doug Evans <devans@casey.cygnus.com>
922
923 * armos.c (SWIWrite0): Send output to stdout instead of stderr.
924 (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
925
d4f3574e
SS
926Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
927
928 * configure: Regenerated to track ../common/aclocal.m4 changes.
929
cd0fc7c3
SS
9301999-05-08 Felix Lee <flee@cygnus.com>
931
932 * configure: Regenerated to track ../common/aclocal.m4 changes.
933
7a292a7a
SS
9341999-04-06 Keith Seitz <keiths@cygnus.com>
935
936 * wrapper.c (stop_simulator): New global.
937 (sim_stop): Set sim state to STOP and set
938 stop_simulator.
939 (sim_resume): Reset stop_simulator.
940 (sim_stop_reason): If stop_simulator is set, tell gdb
941 that the we took SIGINT.
942 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
943 stop_simulator is set.
944
9451999-04-02 Keith Seitz <keiths@cygnus.com>
946
947 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
948 whenever the counter expires.
949 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
950
9511999-03-24 Nick Clifton <nickc@cygnus.com>
952
953 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
954 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
955
c906108c
SS
956Mon Sep 14 09:00:05 1998 Nick Clifton <nickc@cygnus.com>
957
958 * wrapper.c (sim_open): Set endianness according to BFD or command
959 line switch.
960
961 * tconfig.in: Define SIM_HAVE_BIENDIAN.
962
963Thu Aug 27 11:00:05 1998 Nick Clifton <nickc@cygnus.com>
964
965 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
966 the same as either RdHi or RdLo.
967
968Thu Jul 2 10:24:35 1998 Nick Clifton <nickc@cygnus.com>
969
970 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
971 Set Reg[0] based on reason for for the exception.
972
973Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com)
974
975 * armos.c (SWIwrite0): New function.
976 (WriteCommandLineTo): New function.
977 (SWIopen): New function.
978 (SWIread): New function.
979 (SWIwrite): New function.
980 (SWIflen): New function.
981 (ARMul_OSHandleSWI): Call new functions instead of handling
982 these here.
983 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
984 (*): Reformat spacing to be a bit more GNUly.
985 Most code taken from a patch by Anthony Thompson
986 (athompso@cambridge.arm.com)
987
988Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
989
990 * armos.h: Add Angel SWI and its reason codes.
991 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
992
993Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
994
995 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
996 of ":tt" to catch stdin in addition to stdout.
997 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
998 or success of lseek().
999
1000Wed May 20 17:36:25 1998 Nick Clifton <nickc@cygnus.com>
1001
1002 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
1003 to open stdout.
1004
1005Wed Apr 29 15:29:55 1998 Jeff Johnston <jjohnstn@cygnus.com>
1006
1007 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
1008 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
1009 seek from offset 0 and not to use R2 for whence since it is
1010 not passed as part of the SWI call.
1011
1012Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
1013
1014 * configure: Regenerated to track ../common/aclocal.m4 changes.
1015
1016Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
1017
1018 * configure: Regenerated to track ../common/aclocal.m4 changes.
1019 * config.in: Ditto.
1020
1021Sun Apr 26 15:20:26 1998 Tom Tromey <tromey@cygnus.com>
1022
1023 * acconfig.h: New file.
1024 * configure.in: Reverted change of Apr 24; use sinclude again.
1025
1026Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
1027
1028 * configure: Regenerated to track ../common/aclocal.m4 changes.
1029 * config.in: Ditto.
1030
1031Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
1032
1033 * configure.in: Don't call sinclude.
1034
1035Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
1036
1037 * configure: Regenerated to track ../common/aclocal.m4 changes.
1038
1039Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
1040
1041 * configure: Regenerated to track ../common/aclocal.m4 changes.
1042
1043Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
1044
1045 * configure: Regenerated to track ../common/aclocal.m4 changes.
1046
1047Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
1048
1049 * configure: Regenerated to track ../common/aclocal.m4 changes.
1050
1051Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
1052
1053 * armopts.h: Remove definition of LITTLEND - it is not used.
1054
1055Tue Feb 17 12:35:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
1056
1057 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
1058 length parameter. Return -1.
1059
1060Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
1061
1062 * configure: Regenerated to track ../common/aclocal.m4 changes.
1063
1064Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
1065
1066 * configure: Regenerated to track ../common/aclocal.m4 changes.
1067
1068Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
1069
1070 * configure: Regenerated to track ../common/aclocal.m4 changes.
1071
1072Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
1073
1074 * configure: Regenerated to track ../common/aclocal.m4 changes.
1075 * config.in: Ditto.
1076
1077Tue Dec 9 11:30:48 1997 Nick Clifton <nickc@cygnus.com>
1078
1079 * Makefile.in: Updated with changes from branch.
1080 * armdefs.h: ditto
1081 * armemu.c: ditto these changes
1082 * armemu.h: ditto add support for
1083 * armos.c: ditto the Thumb instruction
1084 * armsupp.c: ditto set and the new v4
1085 * armvirt.c: ditto architecture.
1086 * wrapper.c: ditto
1087 * thumbemu.c: New file from branch.
1088
1089
1090Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
1091
1092 * configure: Regenerated to track ../common/aclocal.m4 changes.
1093
1094Thu Oct 30 13:54:06 1997 Nick Clifton <nickc@cygnus.com>
1095
1096 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
1097 from Tony Thompson at ARM: athompso@arm.com
1098
1099 * wrapper.c (sim_create_inferior): Add code to create an execution
1100 environment. Patch from Tony Thompson at ARM: athompso@arm.com
1101
1102Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1103
1104 * wrapper.c (sim_load): Pass lma_p and sim_write args to
1105 sim_load_file.
1106
1107Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
1108
1109 * configure: Regenerated to track ../common/aclocal.m4 changes.
1110
1111Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
1112
1113 * configure: Regenerated to track ../common/aclocal.m4 changes.
1114
1115Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
1116
1117 * configure: Regenerated to track ../common/aclocal.m4 changes.
1118
1119Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
1120
1121 * configure: Regenerated to track ../common/aclocal.m4 changes.
1122
1123Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1124
1125 * configure: Regenerated to track ../common/aclocal.m4 changes.
1126
1127Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1128
1129 * configure: Regenerated to track ../common/aclocal.m4 changes.
1130
1131Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
1132
1133 * configure: Regenerated to track ../common/aclocal.m4 changes.
1134
1135Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1136
1137 * configure: Regenerated to track ../common/aclocal.m4 changes.
1138 * config.in: Ditto.
1139
1140Tue Aug 26 10:37:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
1141
1142 * wrapper.c (sim_kill): Delete.
1143 (sim_create_inferior): Add ABFD argument.
1144 (sim_load): Move setting of PC from here.
1145 (sim_create_inferior): To here.
1146
1147Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
1148
1149 * configure: Regenerated to track ../common/aclocal.m4 changes.
1150 * config.in: Ditto.
1151
1152Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
1153
1154 * wrapper.c (sim_open): Add ABFD argument.
1155
1156Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
1157
1158 * wrapper.c (sim_open): Add callback argument.
1159 (sim_set_callbacks): Drop SIM_DESC argument.
1160
1161Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
1162
1163 * configure: Regenerated to track ../common/aclocal.m4 changes.
1164
1165Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
1166
1167 * wrapper.c (sim_stop): Stub sim_stop function.
1168
1169Thu Apr 17 18:33:01 1997 Fred Fish <fnf@cygnus.com>
1170
1171 * arminit.c (ARMul_NewState): Preinitialize the state to
1172 all zero/NULL.
1173
1174Thu Apr 17 02:39:02 1997 Doug Evans <dje@canuck.cygnus.com>
1175
1176 * Makefile.in (SIM_OBJS): Add sim-load.o.
1177 * wrapper.c (sim_kind,myname): New static locals.
1178 (sim_open): Set sim_kind, myname.
1179 (sim_load): Call sim_load_file to do work. Set start address from bfd.
1180 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
1181
1182Thu Apr 17 11:48:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
1183
1184 * wrapper.c (sim_trace): Update so that it matches prototype.
1185
1186Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1187
1188 * configure: Regenerated to track ../common/aclocal.m4 changes.
1189 * config.in: Ditto.
1190
1191Mon Apr 7 12:01:17 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1192
1193 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
1194 $(srcdir)/....
1195 (armemu26.o): Ditto.
1196
1197Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
1198
1199 * wrapper.c (sim_open): New arg `kind'.
1200
1201 * configure: Regenerated to track ../common/aclocal.m4 changes.
1202
1203Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
1204
1205 * COPYING: Update FSF address.
1206
1207Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1208
1209 * configure: Regenerated to track ../common/aclocal.m4 changes.
1210
1211Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1212
1213 * configure: Regenerated to track ../common/aclocal.m4 changes.
1214
1215Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1216
1217 * configure: Re-generate.
1218
1219Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1220
1221 * configure: Regenerate to track ../common/aclocal.m4 changes.
1222
1223Thu Mar 13 12:38:56 1997 Doug Evans <dje@canuck.cygnus.com>
1224
1225 * wrapper.c (sim_open): Has result now.
1226 (sim_*): New SIM_DESC argument.
1227
1228Tue Feb 4 13:22:21 1997 Doug Evans <dje@canuck.cygnus.com>
1229
1230 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
1231 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1232 * configure.in: sinclude ../common/aclocal.m4.
1233 * configure: Regenerated.
1234
1235Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1236
1237 * configure configure.in Makefile.in: Update to new configure
1238 scheme which is more compatible with WinGDB builds.
1239 * configure.in: Improve comment on how to run autoconf.
1240 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1241 * Makefile.in: Use autoconf substitution to install common
1242 makefile fragment.
1243
1244Wed Nov 20 01:05:10 1996 Doug Evans <dje@canuck.cygnus.com>
1245
1246 * run.c: Deleted, use one in ../common now.
1247 * Makefile.in: Delete everything that's been moved to
1248 ../common/Make-common.in.
1249 (SIM_OBJS): Define.
1250 * configure.in: Simplify using macros in ../common/aclocal.m4.
1251 * configure: Regenerated.
1252 * config.in: New file.
1253 * armos.c: #include config.h.
1254 * wrapper.c (mem_size): Value is in bytes now.
1255 (sim_callback): New global.
1256 (arm_sim_set_profile{,_size}): Delete.
1257 (arm_sim_set_mem_size): Rename to sim_size.
1258 (sim_do_command): Call printf_filtered via callback.
1259 (sim_set_callbacks): Record callback.
1260
1261Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1262
1263 * Makefile.in (mostlyclean): Remove config.log.
1264
1265Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1266
1267 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1268 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1269 (docdir): Removed.
1270 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1271 (AC_PROG_INSTALL): Added.
1272 * configure: Rebuilt.
1273
1274Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
1275
1276 * configure: Regenerate with autoconf 2.7.
1277
1278Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
1279
1280 * run.c (main): Use new bfd_big_endian macro.
1281
1282Mon Nov 20 17:40:38 1995 Doug Evans <dje@canuck.cygnus.com>
1283
1284 * run.c: Include "getopt.h".
1285 (verbose): Delete.
1286 (usage): Make static.
1287 (main): Call arm_sim_set_verbosity.
1288 Only load sections marked SEC_LOAD.
1289 * wrapper.c (mem_size, verbosity): New static global.
1290 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
1291 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
1292
1293Fri Nov 17 19:35:11 1995 Doug Evans <dje@canuck.cygnus.com>
1294
1295 * armdefs.h (ARMul_State): New member `verbose'.
1296 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
1297 * run.c (verbose): Make global.
1298 * wrapper.c (init): Set state->verbose.
1299 (ARMul_ConsolePrint): Don't print anything if !verbose.
1300
1301Fri Oct 13 15:30:30 1995 Doug Evans <dje@canuck.cygnus.com>
1302
1303 * armos.c: #include dbg_rdi.h.
1304 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
1305 * armos.h (SWI_Breakpoint): Define.
1306 * wrapper.c: #include armemu.h, dbg_rdi.h.
1307 (rc): Delete.
1308 (sim_resume): Use state->EndCondition to record stop state.
1309 Call FLUSHPIPE before returning.
1310 (sim_stop_reason): Determine reason from state->EndCondition.
1311
1312Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
1313
1314 * wrapper.c (sim_set_callbacks): New.
1315
1316Thu Sep 28 19:45:56 1995 Doug Evans <dje@deneb.cygnus.com>
1317
1318 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
1319 number of bytes not read/written (or -1).
1320
1321Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
1322
1323 * Makefile.in (maintainer-clean): New synonym for realclean.
1324
1325Fri Sep 8 14:27:20 1995 Ian Lance Taylor <ian@cygnus.com>
1326
1327 * configure.in: Remove AC_PROG_INSTALL.
1328 * configure: Rebuild.
1329 * Makefile.in (INSTALL): Revert to using install.sh.
1330 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
1331 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
1332 (mostlyclean): Make the same as clean, not distclean.
1333 (clean): Remove config.log.
1334 (install): Don't install in $(tooldir).
1335
1336Thu Sep 7 12:00:17 1995 Doug Evans <dje@canuck.cygnus.com>
1337
1338 (Try to) Update to new bfd autoconf scheme.
1339 * run.c: Don't include sysdep.h.
1340 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
1341 (CC, CFLAGS, AR, RANLIB): Likewise.
1342 (HDEFINES, TDEFINES): Define.
1343 (CC_FOR_BUILD): Delete.
1344 (host_makefile_frag): Delete.
1345 (Makefile): Don't depend on frags.
1346 * configure.in (sysdep.h): Don't create symlink.
1347 (host_makefile_frag, frags): Deleted.
1348 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
1349 * configure: Regenerated.
1350
1351Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1352
1353 * Update all FSF addresses except those in COPYING* files.
1354
1355Wed Jul 5 16:15:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1356
1357 * Makefile.in (clean): Remove run, libsim.a.
1358
1359 * Makefile.in, configure.in: converted to autoconf.
1360 * configure: New file, generated with autconf 2.4.
1361
1362 * arm.mt: Removed.
1363
1364Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
1365
1366 * wrapper.c (sim_do_command): New function.
1367
1368Tue Jun 13 10:57:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
1369
1370 * armos.c (ARMul_OSHandleSWI): New version to work with
1371 newlib simply.
1372
1373Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
1374
1375 * run.c (main): Grab return value from right register.
1376
1377Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
1378
1379 * New.
1380
1381