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