Fix changelog typo.
[deliverable/binutils-gdb.git] / sim / arm / ChangeLog
CommitLineData
2be701a3
DJ
12005-11-16 Shaun Jackman <sjackman@gmail.com>
2
3 * sim/arm/armos.c: Include limits.h
4 (unlink): Remove this macro. It is unused in this file and
5 conflicts with sim_callback->unlink.
6 (PATH_MAX): Define as 1024 if not already defined.
7 (ReadFileName): New function.
8 (SWIopen): Fix a potential buffer overflow.
9 (SWIremove): New function.
10 (SWIrename): Ditto.
11 (ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
12 SWI_Remove, and SWI_Rename, as well as the RDI calls
13 AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
14 AngelSWI_Reason_Rename.
15
c4793bac
PB
162005-09-19 Paul Brook <paul@codesourcery.com>
17
18 * armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
19 available.
20 * armemu.c: Use them.
21 * armvirt.c (ARMul_MemoryInit): Use correct type for size.
22 * configure.ac: Check for stdint.h.
23 * config.in: Regenerate.
24 * configure: Regenerate.
25
546aee7a
NC
262005-05-24 Nick Clifton <nickc@redhat.com>
27
28 * thumbemu.c (handle_v6_thumb_insn): New function.
29 (ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined
30 instruction binary is encountered.
31
380d9419
NC
322005-05-12 Nick Clifton <nickc@redhat.com>
33
34 * Update the address and phone number of the FSF organization in
35 the GPL notices in the following files:
36 COPYING, Makefile.in, armcopro.c, armdefs.h, armemu.c,
37 armemu.h, armfpe.h, arminit.c, armopts.h, armos.c, armos.h,
38 armrdi.c, armsupp.c, armvirt.c, bag.c, bag.h, communicate.c,
39 communicate.h, dbg_conf.h, dbg_cp.h, dbg_hif.h, dbg_rdi.h,
40 gdbhost.c, gdbhost.h, iwmmxt.c, iwmmxt.h, kid.c, main.c,
41 maverick.c, parent.c, thumbemu.c, wrapper.c
42
8207e0f2
NC
432005-04-20 Nick Clifton <nickc@redhat.com>
44
45 * armemu.c (handle_v6_insn): New function - emulate a few of the
46 v6 instructions - the ones now generated by GCC.
47 (ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is
48 found.
49 * armdefs.h (struct ARMul_State): Add new field: is_v6.
50 (ARM_v6_Prop): Define.
51 * arminit.c (ARMul_NewState): Initialise the v6 flag.
52 (ARMul_SelectProcessor): Determine if the v6 flag should be
53 set.
54 * wrapper.c (sim_create_inferior): For unknown architectures,
55 default to allowing the v6 instructions.
56
16d55f14
NC
572005-04-18 Nick Clifton <nickc@redhat.com>
58
59 * iwmmxt.c (WMAC, WMADD): Move casts from the LHS of an assignment
60 operator to the RHS.
61 (WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to
62 indicate an unsigned long long constant.
63
2b193c4a
MK
642005-03-23 Mark Kettenis <kettenis@gnu.org>
65
66 * configure: Regenerate.
67
35695fd6
AC
682005-01-14 Andrew Cagney <cagney@gnu.org>
69
70 * configure.ac: Sinclude aclocal.m4 before common.m4. Add
71 explicit call to AC_CONFIG_HEADER.
72 * configure: Regenerate.
73
f0569246
AC
742005-01-12 Andrew Cagney <cagney@gnu.org>
75
76 * configure.ac: Update to use ../common/common.m4.
77 * configure: Re-generate.
78
38f48d72
AC
792005-01-11 Andrew Cagney <cagney@localhost.localdomain>
80
81 * configure: Regenerated to track ../common/aclocal.m4 changes.
82
b7026657
AC
832005-01-07 Andrew Cagney <cagney@gnu.org>
84
85 * configure.ac: Rename configure.in, require autoconf 2.59.
86 * configure: Re-generate.
87
379832de
HPN
882004-12-08 Hans-Peter Nilsson <hp@axis.com>
89
90 * configure: Regenerate for ../common/aclocal.m4 update.
91
0aaa4a81
AC
922004-06-28 Andrew Cagney <cagney@gnu.org>
93
94 * armemu.c: Rename ui_loop_hook to deprecated_ui_loop_hook.
95
a4c9740c
MM
962003-12-29 Mark Mitchell <mark@codesourcery.com>
97
98 * armos.c (fcntl.h): Do not include it.
99 (O_RDONLY): Do not define.
100 (O_WRONLY): Likewise.
101 (O_RDWR): Likewise.
102 (targ-vals.h): Include it.
103 (translate_open_mode): Use TARGET_O_* instead of O_*.
104 (SWIopen): Likewise.
105 * Makefile.in (armos.o): Depend on targ-vals.h.
106
c88931b0
NC
1072003-04-13 Nick Clifton <nickc@redhat.com>
108
109 * armvirt.c (GetWord): Only call XScale_check_memacc if in XScale
110 mode.
111 (PutWord): Likewise.
112
3a3d6f65
NC
1132003-03-30 Nick Clifton <nickc@redhat.com>
114
115 * configure.in (CON_FLAGS): Remove.
116 (COPRO): Unconditionally include iwmmxt.o.
117 * configure: Regenerate.
118 * Makefile.in (CON_FLAGS): Remove.
119 * armcopro.c: Remove use of __IWMMXT__ flag.
120 * wrapper.c: Likewise.
121 * armemu.c: Likewise.
122 Add explanatory comment for suppressed code.
123
1242003-03-27 Nick Clifton <nickc@redhat.com>
125
126 * armos.c (ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
127
0f026fd0
NC
1282003-03-27 Nick Clifton <nickc@redhat.com>
129
130 * configure.in: (CON_FLAGS): Define and intialise.
131 (COPRO): Add iwmmxt.o if configuring for XScale.
132 * configure: Regenerate.
133 * Makefile.in (iwmmxt.o): Add rule to build.
134 (COM_FLAGS): Define.
135 (ALL_FLAGS): Add CON_FLAGS.
136 * armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
137 * armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
138 (ARM_iWMMXt_Prop): Define.
139 * armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
140 pass to coprocessor.
141 * arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
142 (ARMul_Abort): Catch branches through uninitialised vectors.
143 * armos.c (softevtorcode): Update comment.
144 (ARMul_OsInit): Use ARMUndefinedInstrV.
0f026fd0
NC
145 * wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
146 (sim_store_register): Handle iWMMXt registers.
147 (sim_fetch_register): Handle iWMMXt registers.
148 * iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
149 functions.
150 * iwmmxt.c: New file: iWMMXt emulator.
151
dd97b6fd 1522003-03-20 Nick Clifton <nickc@redhat.com>
f603c8fe
NC
153
154 * Contribute support for Cirrus Maverick ARM co-processor,
155 written by Aldy Hernandez <aldyh@redhat.com> and
156 Andrew Cagney <cagney@redhat.com>:
157
158 * maverick.c: New file: Support for Maverick floating point
159 co-processor.
160 * Makefile.in: Add maverick.o target.
161 * configure.in (COPRO): Add maverick.o.
162 * configure: Regenerate.
163 * armcopro.c (ARMul_CoProInit): Only initialise co-processors
164 available on target processor. Add code to initialse Maverick
165 co-processor support code.
166 * armdefs.h (ARMul_state): Add is_ep9312 field.
167 (ARM_ep9312_Prop): Define.
168 * armemu.h: Add prototypes for Maverick co-processor
169 functions.
170 * arminit.c (ARMul_SelectProcessor): Initialise the
171 co-processor support once the chip has been selected.
172 * wrapper.c: Add support for Maverick co-processor.
173 (init): Do not call ARMul_CoProInit. Delays this until the
174 chip has been selected.
175
0d9fd8f1
NC
1762003-03-02 Nick Clifton <nickc@redhat.com>
177
178 * armos.c (SWIWrite0): Catch big-endian bug when printing
179 characters.
180
6b4a8935
AC
1812003-02-27 Andrew Cagney <cagney@redhat.com>
182
183 * wrapper.c (sim_create_inferior, sim_open): Rename _bfd to bfd.
184
45fdcabe
BE
1852003-01-10 Ben Elliston <bje@redhat.com>
186
187 * README.Cygnus: Rename from this ..
188 * README: .. to this.
189
058f270d
AC
1902002-09-27 Andrew Cagney <ac131313@redhat.com>
191
192 * wrapper.c (sim_open): Add support for -m<mem-size>.
193 (mem_size): Reduce to 2MB.
194 Fix PR gdb/433.
195
c7a7b500
NC
1962002-08-15 Nick Clifton <nickc@redhat.com>
197
198 * armos.c (ARMul_OSHandleSWI): Catch and ignore SWIs of -1, they
199 can be caused by an interrupted system call being resumed by GDB.
200
630ace25
NC
2012002-07-05 Nick Clifton <nickc@cambridge.redhat.com>
202
203 * armemu.c (ARMul_Emulate32): Add more tests for valid MIA, MIAPH
204 and MIAxy instructions.
205
7b77dec6
NC
2062002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
207
208 * armos.h (ADP_Stopped_RunTimeError): Set correct value.
209
c8cca39f
AC
2102002-06-16 Andrew Cagney <ac131313@redhat.com>
211
212 * configure: Regenerated to track ../common/aclocal.m4 changes.
213
26216b98
AC
2142002-06-12 Andrew Cagney <ac131313@redhat.com>
215
216 * Makefile.in: Update copyright.
217 (wrapper.o): Specify dependencies.
218 * wrapper.c: Include "gdb/sim-arm.h".
219 (sim_store_register, sim_fetch_register): Rewrite using `enum
220 arm_sim_regs' and a switch.
221
3c25f8c7
AC
2222002-06-09 Andrew Cagney <cagney@redhat.com>
223
224 * wrapper.c: Include "gdb/callback.h" and "gdb/remote-sim.h".
225 * armos.c: Include "gdb/callback.h".
226
5aa682b2
NC
2272002-05-29 Nick Clifton <nickc@cambridge.redhat.com>
228
229 * armcopro.c (XScale_check_memacc): Set the FSR and FAR registers
230 if a Data Abort is detected.
231
7378e198
NC
2322002-05-27 Nick Clifton <nickc@cambridge.redhat.com>
233
10b57fcb
NC
234 * armvirt.c (GetWord): Only perform access checks if 'check'
235 is set.
236 (PutWord): Likewise.
237 * wrapper.c (sim_create_inferior): Report unknown machine
238 numbers.
7378e198
NC
239 * thumbemu.c (ARMul_ThumbDecode, Case 31): Do not set LR to pc +
240 2, it has already been advanced.
241
2984e114
NC
2422002-05-23 Nick Clifton <nickc@cambridge.redhat.com>
243
244 * thumbemu.c (ARMul_ThumbDecode): When decoding a BLX(1)
245 instruction do not add in the second bit of the base address -
246 this has already been accounted for.
247
8b2440b7
NC
2482002-05-21 Nick Clifton <nickc@cambridge.redhat.com>
249
250 * armcopro.c (check_cp13_access): Allow access to register 1 when
251 CRm is 1.
252 (write_cp13_reg): Allow bit 0 of reg 1 of CRm 1 to be written to.
253
de4112fa
NC
2542002-05-17 Nick Clifton <nickc@cambridge.redhat.com>
255
7f53bce4 256 * Makefile.in (SIM_TARGET_SWITCHES): Define.
de4112fa
NC
257 * armos.c (swi_mask): Define. Initialise to supporting all
258 SWI emulations.
259 (ARMul_OSInit): For XScale targets, only support the ANGEL
260 SWI interface. (This is at the request if Intel).
261 (ARMul_OSHandleSWI): Examine swi_mask to see if a particular
262 SWI call should be emulated.
263 Do not fall through from AngelSWI_Reason_WriteC.
264 Propagate exit code from RedBoot Exit SWI.
265 * rdi-dgb.h (swi_mask): Prototype.
266 (SWI_MASK_DEMON, SWI_MASK_ANGEL, SWI_MASK_REDBOOT): Define.
267 * wrapper.c (sim_target_parse_command_line): New function.
268 Look for and handle --swi-support switch.
269 (sim_target_parse_arg_array): New function. Process an argv
270 array for parsing by sim_target_parse_command_line.
271 (sim_target_display_usage): New function. Describe syntax of
272 --swi-suppoort switch.
273 (sim_open): Add call to sim_target_parse_arg_array).
274
d8512e6a
NC
2752002-05-09 Nick Clifton <nickc@cambridge.redhat.com>
276
277 * armos.c (ARMul_OSHandleSWI): Support the RedBoot SWI in ARM
278 mode and some of its system calls.
279
ae60d3dd
AG
2802002-03-17 Anthony Green <green@redhat.com>
281
282 * wrapper.c (mem_size): Increase the default target memory to 8MB.
283
b3ba81f8
KS
2842002-02-21 Keith Seitz <keiths@redhat.com>
285
286 * armos.c (SWIWrite0): Use generic host_callback mechanism
287 for supported OS functions "open", "close", "write", etc.
288 (SWIopen): Likewise.
289 (SWIread): Likewise.
290 (SWIwrite): Likewise.
291 (SWIflen): Likewise.
292 (ARMul_OSHandleSWI): Likewise.
293
c17aa318
NC
2942002-02-05 Nick Clifton <nickc@cambridge.redhat.com>
295
296 * wrapper.c (sim_create_inferior): Modify previous patch so that
297 it is only triggered for COFF format executables.
298
25180f8a
NC
2992002-02-04 Nick Clifton <nickc@cambridge.redhat.com>
300
c17aa318
NC
301 * wrapper.c (sin_create_inferior): If a v5 architecture is
302 detected, assume it might be an XScale binary, since there is no
303 way to distinguish between the two in the COFF file format.
25180f8a 304
57165fb4
NC
3052002-01-10 Nick Clifton <nickc@cambridge.redhat.com>
306
307 * arminit.c (ARMul_Abort): Fix parameters passed to CPRead[13].
308 * armemu.c (ARMul_Emulate32): Fix parameters passed to CPRead[13]
309 and CPRead[14].
310 Fix formatting. Improve layout.
311 * armemu.h: Fix formatting. Improve layout.
312
272fcdcd
NC
3132002-01-09 Nick Clifton <nickc@cambridge.redhat.com>
314
315 * wrapper.c (sim_fetch_register): If fetching more than 4 bytes
316 return zeroes in the other words.
86c735a5 317 General formatting tidy ups.
272fcdcd 318
6746a76a
BH
3192001-11-16 Ben Harris <bjh21@netbsd.org>
320
321 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
322 $(srcdir)/....
323 (armemu26.o): Ditto.
324
ff44f8e3
NC
3252001-10-18 Nick Clifton <nickc@cambridge.redhat.com>
326
327 * armemu.h (CP_ACCESS_ALLOWED): New macro.
328 Fix formatting.
329 * armcopro.c (read_cp14_reg): Make static.
330 (write_cp14_reg): Make static.
331 (check_cp13_access): Use CP_ACCESS_ALLOWED macro.
332 Fix formatting.
333 * armsupp.c (ARMul_LDC): Check CP_ACCESS_ALLOWED.
334 (ARMul_STC): Check CP_ACCESS_ALLOWED.
335 (ARMul_MCR): Check CP_ACCESS_ALLOWED.
336 (ARMul_MRC): Check CP_ACCESS_ALLOWED.
337 (ARMul_CDP): Check CP_ACCESS_ALLOWED.
338 Fix formatting.
339 * armemu.c (MCRR): Check CP_ACCESS_ALLOWED. Test Rd and Rn not
340 equal to 15.
341 (MRRC): Check CP_ACCESS_ALLOWED. Test Rd and Rn not equal to 15.
342 Fix formatting.
343
fb7a8ef0
NC
3442001-05-11 Nick Clifton <nickc@cambridge.redhat.com>
345
346 * armemu.c (ARMul_Emulate32): Fix handling of XScale LDRD and STRD
347 instructions with post indexed addressing modes.
348
dac07255
NC
3492001-05-08 Jens-Christian Lache <lache@tu-harburg.de>
350
351 * armsupp.c (ARMul_FixCPSR): Check Mode not Bank in order to
352 determine rocesor mode.
353
c3ae2f98
MG
3542001-04-18 matthew green <mrg@redhat.com>
355
356 * armcopro.c (write_cp15_reg): Set CHANGEMODE if endianness changes.
357 (read_cp15_reg): Make non-static.
358 (XScale_cp15_LDC): Update for write_cp15_reg() change.
359 (XScale_cp15_MCR): Likewise.
360 (XScale_cp15_write_reg): Likewise.
361 (XScale_check_memacc): New function. Check for breakpoints being
362 activated by memory accesses. Does not support the Branch Target
363 Buffer.
364 (XScale_set_fsr_far): New function. Set FSR and FAR for XScale.
365 (XScale_debug_moe): New function. Set the debug Method Of Entry,
366 if configured.
367 (write_cp14_reg): Reset count counter if requested.
368 * armdefs.h (struct ARMul_State): New members `LastTime' and
369 `CP14R0_CCD' used for the timer/counters.
370 (ARMul_CP13_R0_FIQ, ARMul_CP13_R0_IRQ, ARMul_CP13_R8_PMUS,
371 ARMul_CP14_R0_ENABLE, ARMul_CP14_R0_CLKRST, ARMul_CP14_R0_CCD,
372 ARMul_CP14_R0_INTEN0, ARMul_CP14_R0_INTEN1, ARMul_CP14_R0_INTEN2,
373 ARMul_CP14_R0_FLAG0, ARMul_CP14_R0_FLAG1, ARMul_CP14_R0_FLAG2,
374 ARMul_CP14_R10_MOE_IB, ARMul_CP14_R10_MOE_DB, ARMul_CP14_R10_MOE_BT,
375 ARMul_CP15_R1_ENDIAN, ARMul_CP15_R1_ALIGN, ARMul_CP15_R5_X,
376 ARMul_CP15_R5_ST_ALIGN, ARMul_CP15_R5_IMPRE, ARMul_CP15_R5_MMU_EXCPT,
377 ARMul_CP15_DBCON_M, ARMul_CP15_DBCON_E1, ARMul_CP15_DBCON_E0): New
378 defines for XScale registers.
379 (XScale_check_memacc, XScale_set_fsr_far, XScale_debug_moe): Prototype.
380 (ARMul_Emulate32, ARMul_Emulate26): Clean up function definition.
381 (ARMul_Emulate32): Handle the clock counter and hardware instruction
382 breakpoints. Call XScale_set_fsr_far() for software breakpoints and
383 software interrupts.
384 (LoadMult): Call XScale_set_fsr_far() for data aborts.
385 (LoadSMult): Likewise.
386 (StoreMult): Likewise.
387 (StoreSMult): Likewise.
388 * armemu.h (write_cp15_reg): Update prototype.
389 * arminit.c (ARMul_NewState): Initialise CP14R0_CCD and LastTime.
390 (ARMul_Abort): If XScale, check for FIQ and IRQ being enabled in CP13
391 register 0.
392 * armvirt.c (GetWord): Call XScale_check_memacc().
393 (PutWord): Likewise.
394
3cf84db9
NC
3952001-03-20 Nick Clifton <nickc@redhat.com>
396
397 * armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
398 when loading unaligned thumb instructions.
399
4f3c3dbb
NC
4002001-03-06 Nick Clifton <nickc@redhat.com>
401
402 * thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
403 Compute destination address of BLX(1) instruction by
404 taking bit 1 from PC and not from bit 0 of the offset.
405
917bca4f
NC
4062001-02-27 Nick Clifton <nickc@redhat.com>
407
408 * armvirt.c (GetWord): Add new parameter - check - to enable or
409 disable the alignment checking.
410 (PutWord): Add new parameter - check - to enable or disable the
411 alignment checking.
412 (ARMul_ReLoadInstr): Pass extra parameter to GetWord.
413 (ARMul_ReadWord): Pass extra parameter to GetWord.
414 (ARMul_WriteWord): Pass extra parameter to PutWord.
415 (ARMul_StoreHalfWord): Pass extra parameter to PutWord.
416 (ARMul_WriteByte): Pass extra parameter to GetWord.
417 (ARMul_SwapWord): Pass extra parameter to PutWord.
418 (ARMul_SafeReadByte): New Function: Read a byte but do not abort.
419 (ARMul_SafeWriteByte): New Function: Write a byte but do not abort.
420
421 * armdefs.h: Add prototypes for ARMul_SafeReadByte and
422 ARMul_SafeWriteByte.
423
424 * wrapper.c (sim_write): Use ARMul_SafeWriteByte.
425 (sim_read): Use ARMul_SafeReadByte.
426
427 * armos.c (in_SWI_handler): Remove.
428 (SWIWrite0): Use ARMul_SafeReadByte.
429 (WriteCommandLineTo): Use ARMul_SafeWriteByte.
430 (SWIopen): Use ARMul_SafeReadByte.
431 (SWIread): Use ARMul_SafeWriteByte.
432 (SWIwrite): Use ARMul_SafeReadByte.
433 (ARMul_OSHandleSWI): Remove use of is_SWI_handler.
434 (ARMul_OSException): Remove use of is_SWI_handler.
435
2ef048fc
NC
4362001-02-16 Nick Clifton <nickc@redhat.com>
437
438 * armemu.c: Remove Prefetch abort for breakpoints. Instead set
439 the state to RESUME.
440
5f7d0a33
NC
4412001-02-14 Nick Clifton <nickc@redhat.com>
442
44e23e57
NC
443 * armemu.c: Add code to preserve processor mode when a prefetch
444 abort is signalled after processing a breakpoint.
445
5f7d0a33
NC
446 * wrapper.c (sim_create_inferior): Reset processor into ARM mode
447 for any machine type except the early ARMs.
448
1e5d4e46
NC
4492001-02-13 Nick Clifton <nickc@redhat.com>
450
451 * armos.c (in_SWI_handler): New static variable.
452 (ARMul_OSHandleSWI): Set in_SWI_handler whilst emulating a SWI.
453 (ARMul_OSException): Ignore exceptions generated whilst emulating
454 a SWI.
455
179ae6ea
NC
4562001-02-12 Nick Clifton <nickc@redhat.com>
457
458 * armemu.h (NEGBRANCH): Fix defintion.
459
dda308f5
NC
4602001-02-01 Nick Clifton <nickc@redhat.com>
461
462 * armemu.c (LoadSMult): Update base address register after
463 restoring register bank.
464 (StoreMult): Update base address register after restoring register
465 bank.
466
88694af3
NC
4672001-01-31 Nick Clifton <nickc@redhat.com>
468
469 * armvirt.c (PutWord): Detect installation of SWI vector.
470 (SWI_vector_installed): Define.
471 * armos.c (ARMul_OsInit): Reset SWI_vector_installed.
472 * armos.h (SWI_vector_installed): Declare.
473 * wrapper.c (SWI_vector_installed): Remove definition.
474 (sim_write): Remove check of SWI vector installation
475
ac1c9d3a
NC
4762000-12-18 Nick Clifton <nickc@redhat.com>
477
478 * armemu.c (ARMul_Emulate26): Fix test for StoreDouble
479 instruction.
480
9a6b6a66
NC
4812000-12-10 Nick Clifton <nickc@redhat.com>
482
483 * armos.c (ARMul_OSHandleSWI): Add 0x91 as an FPE SWI.
484
760a7bbe
NC
4852000-12-07 Nick Clifton <nickc@redhat.com>
486
487 * armemu.c (ARMul_Emulate26): Detect double word load and
488 store instructions and call emulation routines.
489 (Handle_Load_Double): Emulate a double word load instruction.
490 (Handle_Store_Double): Emulate a double word store
491 instruction.
492
7f53bc35
NC
4932000-12-03 Nick Clifton <nickc@redhat.com>
494
495 * armos.c: Fix formatting.
496 (ARMul_OSHandleSWI): Suppress support of DEMON SWIs when in xscale
497 mode.
498
f1129fb8
NC
4992000-11-29 Nick Clifton <nickc@redhat.com>
500
501 * armdefs.h (State): Add 'v5e' and 'xscale' fields.
502 (ARM_v5e_Prop): Define.
503 (ARM_XScale_Prop): Define.
504
505 * wrapper.c (sim_create_inferior): Select processor based on
506 machine number.
507 (SWI_vector_installed): New boolean. Set to true if the SWI
508 vector address is written to by the executable.
509
510 * arminit.c (ARMul_NewState): Switch default to 32 bit mode.
511 (ARMul_SelectProcessor): Initialise v5e and xscale signals.
512 (ARMul_Abort): Fix calculation of LR address.
513
514 * armos.c (ARMul_OSHandleSWI): If a SWI vector has been installed
515 and a SWI is not handled by the simulator, pass the SWI off to the
516 vector, otherwise issue a warning message and continue.
517
518 * armsupp.c (ARMul_CPSRAltered): Set S bit aswell.
519
520 * thumbemu.c: Add v5 instruction simulation.
521 * armemu.c: Add v5, XScale and El Segundo instruction simulation.
522
523 * armcopro.c: Add XScale co-processor emulation.
524 * armemu.h: Add exported XScale co-processor functions.
525
3943c96b
NC
5262000-09-15 Nick Clifton <nickc@redhat.com>
527
528 * armdefs.h: Rename StrongARM property to v4_ARM and add v5 ARM
529 property. Delete unnecessary processor names.
530 (ARM_Strong_Prop): Delete.
531 (STRONGARM): Delete.
532 (ARM_v4_Prop): Add.
533 (ARM_v5_Prop): Add
534 (State): Delete is_StrongARM boolean. Add is_v4 and is_v5
535 booleans.
536
537 * armemu.h (BUSUSEDINCPCS): Use is_v4 boolean.
538 (BUSUSEDINCPCN): Use is_v4 boolean.
539
540 * arminit.c (ARMul_NewState): Initialise is_v4 and is_v5 fields.
541 (ARMul_SelectProcessor): Change second parameter from 'processor'
542 to 'properties'. Set is_v4 and is_v5 booleans in State.
543
544 * armrdi.c: Remove use of ARM processor names. Replace with ARM
545 processor properties.
546
547 * wrapper.c (sim_create_inferior): Choose properties passed to
548 ARMul_SelectProcessor based on machine number.
549
4bc1de7b
NC
5502000-08-14 Nick Clifton <nickc@redhat.com>
551
552 * armemu.c (LHPOSTDOWN): Compute write back value before
553 performing load in case the offset register is overwritten.
554 (LHPOSTUP): Ditto.
555
0a4321b9
FN
5562000-07-14 Fernando Nasser <fnasser@cygnus.com>
557
558 * wrapper.c (sim_create_inferior): Fix typo in the previous patch.
559
64a10675
FN
5602000-07-14 Fernando Nasser <fnasser@cygnus.com>
561
562 * wrapper.c (sim_create_inferior): Reset mode to ARM when creating a
563 new inferior.
564
b0eae074
AO
5652000-07-04 Alexandre Oliva <aoliva@redhat.com>
566
ae3c7619
AO
567 * armvirt.c (ABORTS): Do not define.
568
1e6b544a
AO
569 * armdefs.h (struct ARMul_State): Add is_StrongARM.
570 (ARM_Strong_Prop, STRONGARM): Define.
571 * arminit.c (ARMul_NewState): Reset is_StrongARM.
572 (ARMul_SelectProcessor): Set is_StrongARM.
573 * wrapper.c (sim_create_inferior): Use bfd machine type to
574 determine processor type to emulate.
575 * armemu.h (BUSUSEDINCPCS, BUSUSEDINCPCN): Don't increment PC
576 when emulating StrongARM.
577
66210567
AO
578 * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
579
e063aa3b
AO
580 * armemu.h (INSN_SIZE): New macro.
581 (SET_ABORT): Save CPSR in SPSR and set LR.
582 * armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
583 (WriteR15, WriteSR15): Do not discard bit 1 in Thumb mode.
584 * arminit.c (ARMul_Abort): Use new SETABORT and INSN_SIZE.
585
13b6dd6f
AO
586 * armemu.c (LoadSMult): Use WriteR15() to discard the least
587 significant bits of PC.
588
892c6b9d
AO
589 * armemu.h (WRITEDESTB): New macro.
590 * armemu.c (ARMul_Emulate26, bl): Use WriteR15Branch() to
591 modify PC. Moved the existing logic...
592 (WriteR15Branch): ... here. New function.
593 (WriteR15, WriteSR15): Drop the two least significant bits.
594 (LoadSMult): Use WriteR15Branch() to modify PC.
595 (LoadMult): Use WRITEDESTB() instead of WRITEDEST().
596
cf52c765
AO
597 * armemu.h (GETSPSR): Call ARMul_GetSPSR().
598 * armsupp.c (ARMul_CPSRAltered): Zero out bits as they're
599 extracted from state->Cpsr, but preserve the unused bits.
600 (ARMul_GetCPSR): Get bits preserved in state->Cpsr.
601 (ARMul_GetSPSR, ARMul_FixCPSR): Use ARMul_GetCPSR() to
602 get the full CPSR word.
603
4ef2594f
AO
604 * armemu.h (PSR_FBITS, PSR_SBITS, PSR_XBITS, PSR_CBITS): New.
605 (SETPSR_F, SETPSR_S, SETPSR_X, SETPSR_C): New macros.
606 (SETPSR, SET_INTMODE, SETCC): Removed.
607 * armsupp.c (ARMul_FixCPSR, ARMul_FixSPSR): Do not test bit
608 mask. Use SETPSR_* to modify PSR.
609 (ARMul_SetCPSR): Load all bits from value.
610 * armemu.c (ARMul_Emulate, msr): Do not test bit mask.
611
e62263b8
AO
612 * armemu.c (ARMul_Emulate): Compute writeback value before
613 loading, since the offset register may be the destination
614 register.
615
b0eae074
AO
616 * armdefs.h (SYSTEMBANK): Define as USERBANK.
617 * armsupp.c (ARMul_SwitchMode): Remove SYSTEMBANK cases.
618
ee9a7772
AO
6192000-06-22 Alexandre Oliva <aoliva@cygnus.com>
620
f9c22bc3
AO
621 * armemu.c (Multiply64): Fix computation of flag N.
622
ee9a7772
AO
623 * armemu.c (MultiplyAdd64): Fix computation of flag N.
624
fe47e8df
AO
6252000-06-20 Alexandre Oliva <aoliva@cygnus.com>
626
627 * armemu.h (NEGBRANCH): Do not overwrite the two most significant
628 bits of the offset.
629
c1a72ffd
NC
6302000-05-25 Nick Clifton <nickc@cygnus.com>
631
632 * armcopro.c (MMUMCR): Only indicate mode change if a singal has
633 really changed.
634 (MMUWrite): Only indicate mode change if a singal has really
635 changed.
636
637 * armdefs.h (SYSTEMMODE): Define.
638 (BANK_CAN_ACEESS_SPSR): Define.
639
640 * armemu.c (ARM_Emulate26): If the mode has changed allow the PC
641 to advance before stopping the emulation.
642
643 * arminit.c (ARMul_Reset): Ensure Mode field of State is set
644 correctly.
645
646 * armos.c (ARMul_OSInit): Create a initial stack pointer for
647 System mode.
648
649 * armsupp.c (ModeToBank): Remove unused first parameter.
650 Add support for System Mode.
651 (ARMul_GetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
652 (ARMul_SetSPSR): Use BANK_CAN_ACCESS_SPSR macro.
653 (ARMul_FixSPSR): Use BANK_CAN_ACCESS_SPSR macro.
654 (ARMulSwitchMode): Add support for System Mode.
655
656Wed May 24 14:40:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
eb2d80b4
AC
657
658 * configure: Regenerated to track ../common/aclocal.m4 changes.
659
3463c3fb
NC
6602000-05-23 Nick Clifton <nickc@cygnus.com>
661
662 * wrapper.c (sim_store_register): Special handling for CPSR
663 register.
664
5d0d395e
FCE
6652000-03-11 Philip Blundell <philb@gnu.org>
666
667 * armemu.c (LoadSMult, LoadMult): Correct handling of aborts.
668 Patch from Allan Skillman <Allan.Skillman@arm.com>.
669
6c9e0292
FCE
670Wed Mar 22 15:24:21 2000 glen mccready <gkm@pobox.com>
671
672 * wrapper.c (sim_open,sim_close): Copy into myname, free myname.
673
6d358e86
NC
6742000-02-08 Nick Clifton <nickc@cygnus.com>
675
676 * wrapper.c: Fix compile time warning messages.
677 * armcopro.c: Fix compile time warning messages.
678 * armdefs.h: Fix compile time warning messages.
679 * armemu.c: Fix compile time warning messages.
680 * armemu.h: Fix compile time warning messages.
681 * armos.c: Fix compile time warning messages.
682 * armsupp.c: Fix compile time warning messages.
683 * armvirt.c: Fix compile time warning messages.
d0187574 684 * bag.c: Fix compile time warning messages.
6d358e86 685
dfcd3bfb
JM
6862000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
687
688 * *.[ch]: Use indent to make readable.
689
c2d11a7d
JM
6901999-11-22 Nick Clifton <nickc@cygnus.com>
691
692 * armos.c (SWIread): Generate an error message if a huge read is
693 performed.
694 (SWIwrite): Generate an error message if a huge write is
695 performed.
696
5c44784c
JM
6971999-10-27 Nick Clifton <nickc@cygnus.com>
698
699 * thumbemu.c (ARMul_ThumbDecode): Accept 0xbebe as a thumb
700 breakpoint.
701
2df3850c
JM
7021999-10-08 Ulrich Drepper <drepper@cygnus.com>
703
704 * armos.c (SWIopen): Always pass third parameter with 0666 since
705 otherwise uninitialized memory gets access if the O_CREAT bit is
706 set and so we possibly cannot access the file afterwards.
707
2acceee2
JM
7081999-09-29 Doug Evans <devans@casey.cygnus.com>
709
710 * armos.c (SWIWrite0): Send output to stdout instead of stderr.
711 (ARMul_OSHandleSWI, case SWI_WriteC,AngelSWI_Reason_WriteC): Ditto.
712
d4f3574e
SS
713Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
714
715 * configure: Regenerated to track ../common/aclocal.m4 changes.
716
cd0fc7c3
SS
7171999-05-08 Felix Lee <flee@cygnus.com>
718
719 * configure: Regenerated to track ../common/aclocal.m4 changes.
720
7a292a7a
SS
7211999-04-06 Keith Seitz <keiths@cygnus.com>
722
723 * wrapper.c (stop_simulator): New global.
724 (sim_stop): Set sim state to STOP and set
725 stop_simulator.
726 (sim_resume): Reset stop_simulator.
727 (sim_stop_reason): If stop_simulator is set, tell gdb
728 that the we took SIGINT.
729 * armemu.c (ARMul_Emulate26): Don't loop forever. Stop if
730 stop_simulator is set.
731
7321999-04-02 Keith Seitz <keiths@cygnus.com>
733
734 * armemu.c (ARMul_Emulate26): If NEED_UI_LOOP_HOOK, call ui_loop_hook
735 whenever the counter expires.
736 * Makefile.in (SIM_EXTRA_CFLAGS): Include define NEED_UI_LOOP_HOOK.
737
7381999-03-24 Nick Clifton <nickc@cygnus.com>
739
740 * armemu.c (ARMul_Emulate26): Handle new breakpoint value.
741 * thumbemu.c (ARMul_ThumbDecode): Handle new breakpoint value.
742
c906108c
SS
743Mon Sep 14 09:00:05 1998 Nick Clifton <nickc@cygnus.com>
744
745 * wrapper.c (sim_open): Set endianness according to BFD or command
746 line switch.
747
748 * tconfig.in: Define SIM_HAVE_BIENDIAN.
749
750Thu Aug 27 11:00:05 1998 Nick Clifton <nickc@cygnus.com>
751
752 * armemu.c (Multiply64): Test for Rm (rather than Rs) not being
753 the same as either RdHi or RdLo.
754
755Thu Jul 2 10:24:35 1998 Nick Clifton <nickc@cygnus.com>
756
757 * armos.c (ARMul_OSHandleSWI: AngelSWI_Reason_ReportException):
758 Set Reg[0] based on reason for for the exception.
759
760Thu Jun 4 15:22:03 1998 Jason Molenda (crash@bugshack.cygnus.com)
761
762 * armos.c (SWIwrite0): New function.
763 (WriteCommandLineTo): New function.
764 (SWIopen): New function.
765 (SWIread): New function.
766 (SWIwrite): New function.
767 (SWIflen): New function.
768 (ARMul_OSHandleSWI): Call new functions instead of handling
769 these here.
770 (ARMul_OSHandleSWI): Handle Angel SWIs correctly.
771 (*): Reformat spacing to be a bit more GNUly.
772 Most code taken from a patch by Anthony Thompson
773 (athompso@cambridge.arm.com)
774
775Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
776
777 * armos.h: Add Angel SWI and its reason codes.
778 * armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
779
780Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
781
782 * armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
783 of ":tt" to catch stdin in addition to stdout.
784 (ARMul_OSHandleSWI::SWI_Seek): Return 0 or 1 to indicate failure
785 or success of lseek().
786
787Wed May 20 17:36:25 1998 Nick Clifton <nickc@cygnus.com>
788
789 * armos.c (ARMul_OSHandleSWI): Special case code to catch attempts
790 to open stdout.
791
792Wed Apr 29 15:29:55 1998 Jeff Johnston <jjohnstn@cygnus.com>
793
794 * armos.c (ARMul_OSHandleSWI): Added code for SWI_Clock,
795 SWI_Flen, and SWI_Time. Also fixed SWI_Seek code to only
796 seek from offset 0 and not to use R2 for whence since it is
797 not passed as part of the SWI call.
798
799Tue Apr 28 18:33:31 1998 Geoffrey Noer <noer@cygnus.com>
800
801 * configure: Regenerated to track ../common/aclocal.m4 changes.
802
803Sun Apr 26 15:31:55 1998 Tom Tromey <tromey@creche>
804
805 * configure: Regenerated to track ../common/aclocal.m4 changes.
806 * config.in: Ditto.
807
808Sun Apr 26 15:20:26 1998 Tom Tromey <tromey@cygnus.com>
809
810 * acconfig.h: New file.
811 * configure.in: Reverted change of Apr 24; use sinclude again.
812
813Fri Apr 24 14:16:40 1998 Tom Tromey <tromey@creche>
814
815 * configure: Regenerated to track ../common/aclocal.m4 changes.
816 * config.in: Ditto.
817
818Fri Apr 24 11:20:19 1998 Tom Tromey <tromey@cygnus.com>
819
820 * configure.in: Don't call sinclude.
821
822Sat Apr 4 20:36:25 1998 Andrew Cagney <cagney@b1.cygnus.com>
823
824 * configure: Regenerated to track ../common/aclocal.m4 changes.
825
826Fri Mar 27 16:15:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
827
828 * configure: Regenerated to track ../common/aclocal.m4 changes.
829
830Wed Mar 25 12:35:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
831
832 * configure: Regenerated to track ../common/aclocal.m4 changes.
833
834Wed Mar 18 12:38:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
835
836 * configure: Regenerated to track ../common/aclocal.m4 changes.
837
838Tue Mar 10 09:26:38 1998 Nick Clifton <nickc@cygnus.com>
839
840 * armopts.h: Remove definition of LITTLEND - it is not used.
841
842Tue Feb 17 12:35:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
843
844 * wrapper.c (sim_store_register, sim_fetch_register): Pass in
845 length parameter. Return -1.
846
847Sun Feb 1 16:47:51 1998 Andrew Cagney <cagney@b1.cygnus.com>
848
849 * configure: Regenerated to track ../common/aclocal.m4 changes.
850
851Sat Jan 31 18:15:41 1998 Andrew Cagney <cagney@b1.cygnus.com>
852
853 * configure: Regenerated to track ../common/aclocal.m4 changes.
854
855Mon Jan 19 22:26:29 1998 Doug Evans <devans@seba>
856
857 * configure: Regenerated to track ../common/aclocal.m4 changes.
858
859Mon Dec 15 23:17:11 1997 Andrew Cagney <cagney@b1.cygnus.com>
860
861 * configure: Regenerated to track ../common/aclocal.m4 changes.
862 * config.in: Ditto.
863
864Tue Dec 9 11:30:48 1997 Nick Clifton <nickc@cygnus.com>
865
866 * Makefile.in: Updated with changes from branch.
867 * armdefs.h: ditto
868 * armemu.c: ditto these changes
869 * armemu.h: ditto add support for
870 * armos.c: ditto the Thumb instruction
871 * armsupp.c: ditto set and the new v4
872 * armvirt.c: ditto architecture.
873 * wrapper.c: ditto
874 * thumbemu.c: New file from branch.
875
876
877Thu Dec 4 09:21:05 1997 Doug Evans <devans@canuck.cygnus.com>
878
879 * configure: Regenerated to track ../common/aclocal.m4 changes.
880
881Thu Oct 30 13:54:06 1997 Nick Clifton <nickc@cygnus.com>
882
883 * armos.c (ARMul_OSHandleSWI): Add support for GetEnv SWI. Patch
884 from Tony Thompson at ARM: athompso@arm.com
885
886 * wrapper.c (sim_create_inferior): Add code to create an execution
887 environment. Patch from Tony Thompson at ARM: athompso@arm.com
888
889Wed Oct 22 14:43:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
890
891 * wrapper.c (sim_load): Pass lma_p and sim_write args to
892 sim_load_file.
893
894Fri Oct 3 09:28:00 1997 Andrew Cagney <cagney@b1.cygnus.com>
895
896 * configure: Regenerated to track ../common/aclocal.m4 changes.
897
898Wed Sep 24 17:38:57 1997 Andrew Cagney <cagney@b1.cygnus.com>
899
900 * configure: Regenerated to track ../common/aclocal.m4 changes.
901
902Tue Sep 23 11:04:38 1997 Andrew Cagney <cagney@b1.cygnus.com>
903
904 * configure: Regenerated to track ../common/aclocal.m4 changes.
905
906Mon Sep 22 11:46:20 1997 Andrew Cagney <cagney@b1.cygnus.com>
907
908 * configure: Regenerated to track ../common/aclocal.m4 changes.
909
910Fri Sep 19 17:45:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
911
912 * configure: Regenerated to track ../common/aclocal.m4 changes.
913
914Mon Sep 15 17:36:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
915
916 * configure: Regenerated to track ../common/aclocal.m4 changes.
917
918Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
919
920 * configure: Regenerated to track ../common/aclocal.m4 changes.
921
922Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
923
924 * configure: Regenerated to track ../common/aclocal.m4 changes.
925 * config.in: Ditto.
926
927Tue Aug 26 10:37:27 1997 Andrew Cagney <cagney@b1.cygnus.com>
928
929 * wrapper.c (sim_kill): Delete.
930 (sim_create_inferior): Add ABFD argument.
931 (sim_load): Move setting of PC from here.
932 (sim_create_inferior): To here.
933
934Mon Aug 25 17:50:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
935
936 * configure: Regenerated to track ../common/aclocal.m4 changes.
937 * config.in: Ditto.
938
939Mon Aug 25 15:35:45 1997 Andrew Cagney <cagney@b1.cygnus.com>
940
941 * wrapper.c (sim_open): Add ABFD argument.
942
943Tue May 20 10:13:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
944
945 * wrapper.c (sim_open): Add callback argument.
946 (sim_set_callbacks): Drop SIM_DESC argument.
947
948Thu Apr 24 00:39:51 1997 Doug Evans <dje@canuck.cygnus.com>
949
950 * configure: Regenerated to track ../common/aclocal.m4 changes.
951
952Fri Apr 18 13:32:23 1997 Andrew Cagney <cagney@b1.cygnus.com>
953
954 * wrapper.c (sim_stop): Stub sim_stop function.
955
956Thu Apr 17 18:33:01 1997 Fred Fish <fnf@cygnus.com>
957
958 * arminit.c (ARMul_NewState): Preinitialize the state to
959 all zero/NULL.
960
961Thu Apr 17 02:39:02 1997 Doug Evans <dje@canuck.cygnus.com>
962
963 * Makefile.in (SIM_OBJS): Add sim-load.o.
964 * wrapper.c (sim_kind,myname): New static locals.
965 (sim_open): Set sim_kind, myname.
966 (sim_load): Call sim_load_file to do work. Set start address from bfd.
967 (sim_create_inferior): Return SIM_RC. Delete start_address arg.
968
969Thu Apr 17 11:48:25 1997 Andrew Cagney <cagney@b1.cygnus.com>
970
971 * wrapper.c (sim_trace): Update so that it matches prototype.
972
973Mon Apr 7 15:45:02 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
974
975 * configure: Regenerated to track ../common/aclocal.m4 changes.
976 * config.in: Ditto.
977
978Mon Apr 7 12:01:17 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
979
980 * Makefile.in (armemu32.o): Replace $< with autoconf recommended
981 $(srcdir)/....
982 (armemu26.o): Ditto.
983
984Wed Apr 2 15:06:28 1997 Doug Evans <dje@canuck.cygnus.com>
985
986 * wrapper.c (sim_open): New arg `kind'.
987
988 * configure: Regenerated to track ../common/aclocal.m4 changes.
989
990Wed Apr 2 14:50:44 1997 Ian Lance Taylor <ian@cygnus.com>
991
992 * COPYING: Update FSF address.
993
994Wed Apr 2 14:34:19 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
995
996 * configure: Regenerated to track ../common/aclocal.m4 changes.
997
998Wed Mar 19 01:14:00 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
999
1000 * configure: Regenerated to track ../common/aclocal.m4 changes.
1001
1002Mon Mar 17 15:10:07 1997 Andrew Cagney <cagney@kremvax.cygnus.com>
1003
1004 * configure: Re-generate.
1005
1006Fri Mar 14 10:34:11 1997 Michael Meissner <meissner@cygnus.com>
1007
1008 * configure: Regenerate to track ../common/aclocal.m4 changes.
1009
1010Thu Mar 13 12:38:56 1997 Doug Evans <dje@canuck.cygnus.com>
1011
1012 * wrapper.c (sim_open): Has result now.
1013 (sim_*): New SIM_DESC argument.
1014
1015Tue Feb 4 13:22:21 1997 Doug Evans <dje@canuck.cygnus.com>
1016
1017 * Makefile.in (@COMMON_MAKEFILE_FRAG@): Use
1018 COMMON_{PRE,POST}_CONFIG_FRAG instead.
1019 * configure.in: sinclude ../common/aclocal.m4.
1020 * configure: Regenerated.
1021
1022Thu Jan 23 11:46:23 1997 Stu Grossman (grossman@critters.cygnus.com)
1023
1024 * configure configure.in Makefile.in: Update to new configure
1025 scheme which is more compatible with WinGDB builds.
1026 * configure.in: Improve comment on how to run autoconf.
1027 * configure: Re-run autoconf to get new ../common/aclocal.m4.
1028 * Makefile.in: Use autoconf substitution to install common
1029 makefile fragment.
1030
1031Wed Nov 20 01:05:10 1996 Doug Evans <dje@canuck.cygnus.com>
1032
1033 * run.c: Deleted, use one in ../common now.
1034 * Makefile.in: Delete everything that's been moved to
1035 ../common/Make-common.in.
1036 (SIM_OBJS): Define.
1037 * configure.in: Simplify using macros in ../common/aclocal.m4.
1038 * configure: Regenerated.
1039 * config.in: New file.
1040 * armos.c: #include config.h.
1041 * wrapper.c (mem_size): Value is in bytes now.
1042 (sim_callback): New global.
1043 (arm_sim_set_profile{,_size}): Delete.
1044 (arm_sim_set_mem_size): Rename to sim_size.
1045 (sim_do_command): Call printf_filtered via callback.
1046 (sim_set_callbacks): Record callback.
1047
1048Thu Oct 3 16:10:27 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1049
1050 * Makefile.in (mostlyclean): Remove config.log.
1051
1052Wed Jun 26 12:17:24 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1053
1054 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir,
1055 INSTALL_PROGRAM, INSTALL_DATA): Use autoconf-set values.
1056 (docdir): Removed.
1057 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1058 (AC_PROG_INSTALL): Added.
1059 * configure: Rebuilt.
1060
1061Wed Feb 21 12:14:31 1996 Ian Lance Taylor <ian@cygnus.com>
1062
1063 * configure: Regenerate with autoconf 2.7.
1064
1065Fri Dec 15 16:27:30 1995 Ian Lance Taylor <ian@cygnus.com>
1066
1067 * run.c (main): Use new bfd_big_endian macro.
1068
1069Mon Nov 20 17:40:38 1995 Doug Evans <dje@canuck.cygnus.com>
1070
1071 * run.c: Include "getopt.h".
1072 (verbose): Delete.
1073 (usage): Make static.
1074 (main): Call arm_sim_set_verbosity.
1075 Only load sections marked SEC_LOAD.
1076 * wrapper.c (mem_size, verbosity): New static global.
1077 (arm_sim_set_mem_size): Renamed from sim_size. Callers updated.
1078 (arm_sim_set_profile{,_size}): Renamed from sim_foo. Callers updated.
1079
1080Fri Nov 17 19:35:11 1995 Doug Evans <dje@canuck.cygnus.com>
1081
1082 * armdefs.h (ARMul_State): New member `verbose'.
1083 * armrdi.c (ARMul_ConsolePrint): Add missing va_end.
1084 * run.c (verbose): Make global.
1085 * wrapper.c (init): Set state->verbose.
1086 (ARMul_ConsolePrint): Don't print anything if !verbose.
1087
1088Fri Oct 13 15:30:30 1995 Doug Evans <dje@canuck.cygnus.com>
1089
1090 * armos.c: #include dbg_rdi.h.
1091 (ARMul_OSHandleSWI): Handle SWI_Breakpoint.
1092 * armos.h (SWI_Breakpoint): Define.
1093 * wrapper.c: #include armemu.h, dbg_rdi.h.
1094 (rc): Delete.
1095 (sim_resume): Use state->EndCondition to record stop state.
1096 Call FLUSHPIPE before returning.
1097 (sim_stop_reason): Determine reason from state->EndCondition.
1098
1099Fri Oct 13 15:04:05 1995 steve chamberlain <sac@slash.cygnus.com>
1100
1101 * wrapper.c (sim_set_callbacks): New.
1102
1103Thu Sep 28 19:45:56 1995 Doug Evans <dje@deneb.cygnus.com>
1104
1105 * armos.c (ARMul_OSHandleSWI): Result of read/write calls is
1106 number of bytes not read/written (or -1).
1107
1108Wed Sep 20 13:35:54 1995 Ian Lance Taylor <ian@cygnus.com>
1109
1110 * Makefile.in (maintainer-clean): New synonym for realclean.
1111
1112Fri Sep 8 14:27:20 1995 Ian Lance Taylor <ian@cygnus.com>
1113
1114 * configure.in: Remove AC_PROG_INSTALL.
1115 * configure: Rebuild.
1116 * Makefile.in (INSTALL): Revert to using install.sh.
1117 (INSTALL_PROGRAM, INSTALL_DATA): Set to $(INSTALL).
1118 (INSTALL_XFORM, INSTALL_XFORM1): Restore.
1119 (mostlyclean): Make the same as clean, not distclean.
1120 (clean): Remove config.log.
1121 (install): Don't install in $(tooldir).
1122
1123Thu Sep 7 12:00:17 1995 Doug Evans <dje@canuck.cygnus.com>
1124
1125 (Try to) Update to new bfd autoconf scheme.
1126 * run.c: Don't include sysdep.h.
1127 * Makefile.in (INSTALL{,_PROGRAM,_DATA}): Use autoconf computed value.
1128 (CC, CFLAGS, AR, RANLIB): Likewise.
1129 (HDEFINES, TDEFINES): Define.
1130 (CC_FOR_BUILD): Delete.
1131 (host_makefile_frag): Delete.
1132 (Makefile): Don't depend on frags.
1133 * configure.in (sysdep.h): Don't create symlink.
1134 (host_makefile_frag, frags): Deleted.
1135 (CC, CFLAGS, AR, RANLIB, INSTALL): Compute values.
1136 * configure: Regenerated.
1137
1138Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1139
1140 * Update all FSF addresses except those in COPYING* files.
1141
1142Wed Jul 5 16:15:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1143
1144 * Makefile.in (clean): Remove run, libsim.a.
1145
1146 * Makefile.in, configure.in: converted to autoconf.
1147 * configure: New file, generated with autconf 2.4.
1148
1149 * arm.mt: Removed.
1150
1151Fri Jun 30 16:49:47 1995 Stan Shebs <shebs@andros.cygnus.com>
1152
1153 * wrapper.c (sim_do_command): New function.
1154
1155Tue Jun 13 10:57:32 1995 Steve Chamberlain <sac@slash.cygnus.com>
1156
1157 * armos.c (ARMul_OSHandleSWI): New version to work with
1158 newlib simply.
1159
1160Thu Jun 8 14:37:14 1995 Steve Chamberlain <sac@slash.cygnus.com>
1161
1162 * run.c (main): Grab return value from right register.
1163
1164Wed May 24 14:37:31 1995 Steve Chamberlain <sac@slash.cygnus.com>
1165
1166 * New.
1167
1168
This page took 0.334928 seconds and 4 git commands to generate.