Hans-Peter Nilsson
1654a6f728
* sim/cris/c/clone5.c, sim/cris/c/mprotect1.c,
...
sim/cris/c/rtsigprocmask1.c, sim/cris/c/rtsigsuspend1.c,
sim/cris/c/sig7.c, sim/cris/c/sigreturn1.c,
sim/cris/c/sigreturn2.c, sim/cris/c/syscall1.c,
sim/cris/c/syscall2.c, sim/cris/c/sysctl2.c, sim/cris/c/fcntl1.c,
sim/cris/c/readlink2.c: Add code to print ENOSYS if syscall being
tested returns ENOSYS. Add early exit where needed. Change any
existing code to print "xyzzy", not "pass".
* sim/cris/asm/option3.ms, sim/cris/asm/option4.ms,
sim/cris/c/clone6.c, sim/cris/c/fcntl2.c,
sim/cris/c/mprotect2.c, sim/cris/c/readlink11.c,
sim/cris/c/rtsigprocmask2.c, sim/cris/c/rtsigsuspend2.c,
sim/cris/c/sig13.c, sim/cris/c/sigreturn3.c,
sim/cris/c/sigreturn4.c, sim/cris/c/syscall3.c,
sim/cris/c/syscall4.c, sim/cris/c/syscall5.c,
sim/cris/c/syscall6.c, sim/cris/c/syscall7.c,
sim/cris/c/syscall8.c, sim/cris/c/sysctl3.c: New tests.
2006-10-02 03:18:51 +00:00
Daniel Jacobowitz
bac25e5b7a
* MAINTAINERS: Add Dave Brolley for sh64.
2006-10-01 04:00:30 +00:00
Hans-Peter Nilsson
eccd787e25
* cris/traps.c (TARGET_PIPE_BUF): New macro.
...
(cris_pipe_empty): Correct initialization of "remaining". Only
adjust the "write" return value if more than TARGET_PIPE_BUF bytes
are written.
2006-09-30 02:38:06 +00:00
Hans-Peter Nilsson
539a52558f
* sim/cris/c/pipe2.c: Adjust expected output.
...
(process): Don't write as much to the pipe as to trig the
inordinate-amount test in the sim pipe machinery. Correct test of
write return-value; check only that pipemax bytes were
successfully written. For error-case, emit strerror as well.
(main): Add a second read.
2006-09-30 02:34:43 +00:00
Hans-Peter Nilsson
3ca4d560ef
* cris/configure.ac: Check for limits.h and sys/param.h.
...
* cris/configure, cris/config.in: Rebuild.
* cris/traps.c (SIM_PATHMAX): New macro.
(cris_break_13_handler): Use SIM_PATHMAX, not MAXPATHLEN.
2006-09-29 02:45:48 +00:00
Thiemo Seufer
3ae2e9a36f
* sim-fpu.c (pack_fpu): Handle QUIET_NAN correctly for
...
SIM_QUIET_NAN_NEGATED.
2006-08-29 13:18:27 +00:00
Thiemo Seufer
41ec9f205e
* sim-profile.c (profile_pc_init): Initialise default profiling
...
frequency to a prime number.
(profile_print_pc): Convert gmon.out sample data into target
byte order.
2006-08-29 13:16:19 +00:00
Thiemo Seufer
2d2733fc96
* configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*): Add smartmips to
...
sim_igen_machine.
* configure: Regenerate.
* mips.igen (model): Add smartmips.
(MADDU): Increment ACX if carry.
(do_mult): Clear ACX.
(ROR,RORV): Add smartmips.
(include): Include smartmips.igen.
* sim-main.h (ACX): Set to REGISTERS[89].
* smartmips.igen: New file.
2006-08-29 12:45:26 +00:00
Thiemo Seufer
d85c3a10ae
* Makefile.in (IGEN_INCLUDE): Add missing includes for m16e.igen and
...
mips3264r2.igen. Add missing dependency rules.
* m16e.igen: Support for mips16e save/restore instructions.
2006-08-29 12:38:45 +00:00
Thiemo Seufer
6b637da758
* testutils.inc (setup): __start is also a valid start symbol.
2006-08-29 12:18:43 +00:00
Thiemo Seufer
afddf9e98c
Add myself as mips maintainer.
2006-08-25 18:06:21 +00:00
Daniel Jacobowitz
ce928021ab
gdb/
...
* config/sparc/embed.mt: New file.
* configure.tgt (sparc-*-rtems*): Use embed.mt.
sim/
* configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
* Makefile.in (FLAGS_TO_PASS): Include libdir.
* configure: Regenerated.
sim/erc32/
* Makefile.in (func.o, help.o): Correct dependencies.
* Makefile.in (install-sis): Honor DESTDIR.
2006-08-08 18:57:25 +00:00
Yoshinori Sato
b86015eaa5
compile.c (OBITOP): Bit address mask low three bit.
...
compile.c (decode): Fix warning.
2006-07-19 06:27:04 +00:00
Fred Fish
08f7d065a6
Patch reviewed and approved by Daniel Jacobowitz <drow@false.org>.
...
2006-07-12 Fred Fish <fnf@specifix.com>
* sim-endian.h (asm/byteorder.h): Don't include private kernel
header.
2006-07-12 21:37:21 +00:00
DJ Delorie
f4f21c206a
* r8c.opc (decode_r8c): Don't bother reading the destination
...
before moving a constant into it. Fix borrow comparison for SUB.
2006-06-26 20:31:43 +00:00
Richard Earnshaw
e85e320515
* common/aclocal.m4: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.
...
* common/common.m4: Likewise.
* */configure: Regenerate.
2006-06-13 08:06:50 +00:00
Daniel Jacobowitz
2f0122dcdf
common/
...
* aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR.
most subdirs/
* configure: Regenerated.
2006-06-05 14:21:13 +00:00
Daniel Jacobowitz
20e95c23ab
Configury changes: update src repository (binutils, gdb, and rda) to use
...
config/gettext-sister.m4 instead of the old gettext.m4. Regenerate all
affected autotools files. Include intl in gdb releases again.
2006-05-31 15:14:46 +00:00
Chao-ying Fu
dc6641a558
* mips32-dsp.s: Add some tests for shra_r.ph, shrav_r.ph, shra_r.w,
...
shrav_r.w.
2006-05-15 20:34:56 +00:00
Chao-ying Fu
69088b1706
* dsp.igen (do_ph_shift, do_w_shra): Fix bugs for rounding instructions.
2006-05-15 20:34:18 +00:00
Andreas Schwab
4b164edfca
sim/:
...
* configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
* configure: Regenerate.
* Makefile.in (CFLAGS_FOR_BUILD): Define.
(CC_FOR_BUILD): Don't override.
(FLAGS_TO_PASS): Pass CFLAGS_FOR_BUILD.
sim/ppc/:
* configure.ac (CFLAGS_FOR_BUILD): Set and substitute.
* configure: Regenerate.
* Makefile.in (CFLAGS_FOR_BUILD): Define.
(BUILD_CFLAGS): Use it instead of hardcoding "-g -O".
(gentmap): Fix typo BUILD_FLAGS -> BUILD_CFLAGS.
2006-05-05 17:11:19 +00:00
Daniel Jacobowitz
8b2f7496cc
* MAINTAINERS: Add an "Authorized committers" section, and list
...
DJ Delorie for v850.
2006-05-04 15:39:19 +00:00
Andreas Schwab
d8006e0592
* Makefile.in (tmp-ld-decode): Fix dependencies.
...
(tmp-ld-cache): Likewise.
(tmp-ld-insn): Likewise.
2006-04-23 14:54:42 +00:00
Nick Clifton
0275de4ee1
* dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break statement.
2006-04-18 09:19:28 +00:00
Nick Clifton
9517c9780f
ooops - omitted from previous delta
2006-04-18 09:16:01 +00:00
Nick Clifton
95bd752a6c
* interp.c (sim_stop_reason): Fix typo.
2006-04-18 09:15:29 +00:00
Hans-Peter Nilsson
5cf3f6e292
* cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
2006-04-08 17:37:56 +00:00
Hans-Peter Nilsson
c466736ab1
* sim/cris/hw/rv-n-cris/irq6.ms: New test.
2006-04-08 17:37:23 +00:00
Hans-Peter Nilsson
26d01138dd
* sim/cris/hw: New directory for subdirectories with tests.
...
* sim/cris/hw/rv-n-cris: New directory with tests.
2006-04-03 03:05:00 +00:00
Hans-Peter Nilsson
aad3b3cbc1
* cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.
...
* cris/Makefile.in (CONFIG_DEVICES): Remove redundant setting.
(dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
(all): Depend on rvdummy$(EXEEXT).
* cris/configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for
sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE,
default off.
* cris/configure: Regenerate.
* cris/cris-sim.h (cris_have_900000xxif): Declare here.
(enum cris_interrupt_type, crisv10deliver_interrupt)
(crisv32deliver_interrupt: New declarations.
* cris/cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
sim_events_tickn and set state-events member work_pending when it's
time for the next event.
[WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
interrupt-delivery function.
* cris/crisv10f.c (MY (deliver_interrupt)): New function.
* cris/crisv32f.c (MY (deliver_interrupt)): New function.
* cris/devices.c: Include hw-device.h.
(device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
(device_io_write_buffer): Only perform 0x900000xx-functions if
cris_have_900000xxif is nonzero. Else if WITH_HW defined,
call hw_io_write_buffer. Add return 0 last in function.
* cris/sim-if.c (cris_have_900000xxif): Now global.
(sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
Force "-model" option, effectively.
* cris/sim-main.h (cris_interrupt_delivery_fn): New type.
(struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
2006-04-03 03:01:45 +00:00
Hans-Peter Nilsson
530d581366
* cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
...
(CRISV32F_OBJS): Remove semcrisv32f-switch.o.
(semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
2006-04-02 12:46:42 +00:00
Hans-Peter Nilsson
ef6affe12f
* sim/cris/asm/testutils.inc (test_h_mem): Use register prefix.
...
(testr_h_dr, test_h_dr, ldmem_h_gr, mvr_h_mem): Ditto. Correct
syntax.
2006-04-02 11:43:44 +00:00
Hans-Peter Nilsson
4369b6eb6e
* sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Widen regexp for
...
stack pointer values.
2006-04-02 11:31:41 +00:00
Hans-Peter Nilsson
b3a3ffefce
* configure: Regenerate.
2006-03-29 03:42:03 +00:00
Hans-Peter Nilsson
ea696909f3
* aclocal.m4 (SIM_AC_OPTION_HARDWARE): Correct duplicate-
...
option-contents test.
2006-03-29 03:40:25 +00:00
DJ Delorie
727b6b4b41
* mem.c (mem_put_byte): Hook simulated UART to stdout.
...
(mem_put_hi): Hook in simulated trace port.
(mem_get_byte): Hook in simulated uart control port.
* opc2c: Be more picky about matching special comments.
* r8c.opc (shift_op): Limit shift counts to -16..16.
(BMcnd): Map conditional codes.
* reg.c (condition_true): Mask condition code to 4 bits.
* syscalls.c: Include local syscall.h.
* syscall.h: New, copied from libgloss.
2006-03-14 03:34:28 +00:00
DJ Delorie
1f810f7808
* MAINTAINERS: Add self as m32c sim maintainer.
2006-03-14 02:37:35 +00:00
Paul Brook
4b1d9c5854
2006-03-07 Paul Brook <paul@codesourcery.com>
...
* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
2006-03-07 19:55:55 +00:00
Hans-Peter Nilsson
d022998de5
* cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_time
...
mapping.
(cris_break_13_handler) <case TARGET_SYS_time>: New case.
2006-02-23 02:01:51 +00:00
Hans-Peter Nilsson
77dfaed337
* sim/cris/c/time2.c: New test.
2006-02-23 02:01:09 +00:00
Mark Mitchell
59f6d9d6f8
* emul_netbsd.c (emul_netbsd_create): Quote file-name property.
...
* emul_unix.c (emul_unix_create): Likewise.
* tree.c (libiberty.h): Include it.
(tree_quote_property): New function.
* tree.h (tree_quote_property): Declare.
2006-02-02 06:45:49 +00:00
Daniel Jacobowitz
eeea466063
* armos.c (ARMul_OSHandleSWI): Handle the RedBoot system
...
call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
2006-02-02 01:48:16 +00:00
Mark Mitchell
e8a15d32f6
* words.h (natural32): Define as "int".
2006-01-25 17:29:44 +00:00
Mark Mitchell
0b06d9f4d3
* words.h (signed32): Define as "int".
...
(unsigned32): Define as "unsigned int".
2006-01-24 23:48:01 +00:00
Jim Blandy
d45a4bef83
sim/ChangeLog:
...
2005-10-06 Jim Blandy <jimb@redhat.com>
Add simulator for Renesas M32C and M16C.
* m32c: New directory.
* configure.ac: Add entry for Renesas M32C.
* configure: Regenerate.
sim/m32c/ChangeLog:
2005-10-06 Jim Blandy <jimb@redhat.com>
Simulator for Renesas M32C and M16C, by DJ Delorie <dj@redhat.com>,
with further work from Jim Blandy <jimb@redhat.com> and
Kevin Buettner <kevinb@redhat.com>.
* ChangeLog: New.
* Makefile.in: New.
* blinky.S: New.
* config.in: New.
* configure: New.
* configure.in: New.
* cpu.h: New.
* gdb-if.c: New.
* gloss.S: New.
* int.c: New.
* int.h: New.
* load.c: New.
* load.h: New.
* m32c.opc: New.
* main.c: New.
* mem.c: New.
* mem.h: New.
* misc.c: New.
* misc.h: New.
* opc2c.c: New.
* r8c.opc: New.
* reg.c: New.
* safe-fgets.c: New.
* safe-fgets.h: New.
* sample.S: New.
* sample.ld: New.
* sample2.c: New.
* srcdest.c: New.
* syscalls.c: New.
* syscalls.h: New.
* trace.c: New.
* trace.h: New.
2006-01-23 22:10:41 +00:00
Hans-Peter Nilsson
ca47226b72
Now saved ChangeLog for previous entry.
2006-01-10 07:17:17 +00:00
Hans-Peter Nilsson
9e49fc3d98
* sim/cris/asm/x1-v10.ms, sim/cris/asm/x3-v10.ms,
...
sim/cris/asm/x7-v10.ms: Update expected cycle output.
2006-01-10 07:11:21 +00:00
Hans-Peter Nilsson
8d516ebcaa
Update Copyright years
2006-01-10 07:06:25 +00:00
Hans-Peter Nilsson
4fc9958a54
* cris/cris-tmpl.c (MY (f_model_insn_before)): Only display basic
...
cycle count for the current insn.
2006-01-10 07:05:44 +00:00
Chao-ying Fu
fcc392a34e
* basic.exp: Run the dsp test.
...
* utils-dsp.inc: New file.
* mips32-dsp.s: New test.
2005-12-14 23:09:26 +00:00
Chao-ying Fu
40a5538e94
* Makefile.in (SIM_OBJS): Add dsp.o.
...
(dsp.o): New dependency.
(IGEN_INCLUDE): Add dsp.igen.
* configure.ac (mipsisa32r2*-*-*, mipsisa32*-*-*, mipsisa64r2*-*-*,
mipsisa64*-*-*): Add dsp to sim_igen_machine.
* configure: Regenerate.
* mips.igen: Add dsp model and include dsp.igen.
(MFHI, MFLO, MTHI, MTLO): Remove mips32, mips32r2, mips64, mips64r2,
because these instructions are extended in DSP ASE.
* sim-main.h (LAST_EMBED_REGNUM): Change from 89 to 96 because of
adding 6 DSP accumulator registers and 1 DSP control register.
(AC0LOIDX, AC0HIIDX, AC1LOIDX, AC1HIIDX, AC2LOIDX, AC2HIIDX, AC3LOIDX,
AC3HIIDX, DSPLO, DSPHI, DSPCRIDX, DSPCR, DSPCR_POS_SHIFT,
DSPCR_POS_MASK, DSPCR_POS_SMASK, DSPCR_SCOUNT_SHIFT, DSPCR_SCOUNT_MASK,
DSPCR_SCOUNT_SMASK, DSPCR_CARRY_SHIFT, DSPCR_CARRY_MASK,
DSPCR_CARRY_SMASK, DSPCR_CARRY, DSPCR_EFI_SHIFT, DSPCR_EFI_MASK,
DSPCR_EFI_SMASK, DSPCR_EFI, DSPCR_OUFLAG_SHIFT, DSPCR_OUFLAG_MASK,
DSPCR_OUFLAG_SMASK, DSPCR_OUFLAG4, DSPCR_OUFLAG5, DSPCR_OUFLAG6,
DSPCR_OUFLAG7, DSPCR_CCOND_SHIFT, DSPCR_CCOND_MASK,
DSPCR_CCOND_SMASK): New define.
(DSPLO_REGNUM, DSPHI_REGNUM): New array for DSP accumulators.
* dsp.c, dsp.igen: New files for MIPS DSP ASE.
2005-12-14 23:07:56 +00:00
Hans-Peter Nilsson
be37be02a4
Add missing ChangeLog entry
2005-12-07 01:36:14 +00:00
Hans-Peter Nilsson
392753ae2f
* cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
...
cris/decodev10.c, cris/decodev10.h, cris/decodev32.c,
cris/decodev32.h, cris/modelv10.c, cris/modelv32.c,
cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.
2005-12-06 22:42:43 +00:00
Hans-Peter Nilsson
632c75db43
* sim/cris/asm/movmp8.ms, sim/cris/asm/pcplus.ms: New tests.
...
* sim/cris/asm/movmp.ms: Do not write to P0, P4 or P8.
* sim/cris/asm/raw13.ms: Write to MOF instead of WZ (P4).
2005-12-06 22:42:07 +00:00
Hans-Peter Nilsson
cf2bf87e21
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
...
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
cris/semcrisv32f-switch.c: Regenerate.
2005-12-05 03:11:47 +00:00
Hans-Peter Nilsson
59e834e427
Fix typo last entry
2005-12-05 03:11:08 +00:00
Mark Mitchell
255208590a
* sim-signal.c (sim_signal_to_target): Fix typos.
2005-11-29 02:43:06 +00:00
Mark Mitchell
058ad2697e
* configure.ac (USE_WIN32API): Define it.
...
* configure.in: Regenerate.
* config.in: Likewise.
* emul_netbsd.c (write_timezone): Guard with HAVE_GETTIMEOFDAY.
* emul_unix.c (do_unix_mkdir): Handle Win32 1-argument mkdir.
2005-11-28 23:19:39 +00:00
Mark Mitchell
3a611ef503
* psim.c: Include gdb/signals.h.
2005-11-28 21:30:07 +00:00
Mark Mitchell
aba6488e0b
* remote-sim.c (gdbsim_wait): Pass target signal numbers to
...
sim_resume. Expect target signal numbers from sim_stop_reason.
* wrapper.c (gdb/signals.h): Include it.
(SIGTRAP): Don't define.
(SIGBUS): Likewise.
(sim_stop_reason): Use TARGET_SIGNAL_* instead of SIG*.
* sim-reason.c (sim_stop_reason): Use
sim_signal_to_target, not sim_signal_to_host.
* sim-signal.c (sim_signal_to_host): Fix typo.
(sim_signal_to_target): New function.
* interp.c (gdb/signals.h): Include it.
(sim_stop_reason): Use TARGET_SIGNAL_*.
* interf.c: (gdb/signals.h): Include it.
(sim_stop_reason): Use TARGET_SIGNAL_*.
* sim_calls.c (gdb/signals.h): Include it.
(sim_stop_reason): Use TARGET_SIGNAL_*.
* psim.c (cntrl_c_simulation): Use TARGET_SIGNAL_*.
2005-11-28 18:33:03 +00:00
Hans-Peter Nilsson
5e1f64305e
* sim/cris: New directory with C and assembly tests for the CRIS
...
simulator.
2005-11-21 04:48:19 +00:00
Hans-Peter Nilsson
8b9b39f44a
cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
...
(open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
TARGET_O_WRONLY.
(cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
F_GETFL on fd 0, 1 and 2.
2005-11-20 14:52:36 +00:00
Hans-Peter Nilsson
ed1f044ac6
* cris/sim-main.h (struct _sim_cpu): New members last_syscall,
...
last_open_fd, last_open_flags.
* cris/traps.c: Don't include targ-vals.h.
(TARGET_O_ACCMODE): Define.
(cris_break_13_handler): Set new _sim_cpu members.
<case TARGET_SYS_fcntl>: Support special case of F_GETFL.
Rearrange code as switch. Emit "unimplemented" abort for
unimplemented fcntl calls.
2005-11-17 16:14:53 +00:00
Hans-Peter Nilsson
5457266c93
* cris/traps.c (TARGET_SYS_stat): Define.
...
(syscall_stat32_map): Add entry for TARGET_SYS_stat.
(cris_break_13_handler) <case TARGET_SYS_stat>: New case.
2005-11-17 15:51:24 +00:00
Daniel Jacobowitz
2be701a30f
2005-11-16 Shaun Jackman <sjackman@gmail.com>
...
* sim/arm/armos.c: Include limits.h
(unlink): Remove this macro. It is unused in this file and
conflicts with sim_callback->unlink.
(PATH_MAX): Define as 1024 if not already defined.
(ReadFileName): New function.
(SWIopen): Fix a potential buffer overflow.
(SWIremove): New function.
(SWIrename): Ditto.
(ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
SWI_Remove, and SWI_Rename, as well as the RDI calls
AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
AngelSWI_Reason_Rename.
2005-11-17 04:23:03 +00:00
Hans-Peter Nilsson
ae81c23549
* cris/cris-tmpl.c (MY (f_model_insn_before)): Make sure only the
...
low 32 bits are used after an unsigned long cast.
2005-11-16 04:50:57 +00:00
Andrew Stubbs
72a37d8dad
2005-11-10 Andrew Stubbs <andrew.stubbs@st.com>
...
* interp.c (sim_memory_size): Use same amount of memory on Windows as
elsewhere.
2005-11-10 11:05:31 +00:00
Dave Brolley
79e59fe67b
2005-10-28 Dave Brolley <brolley@redhat.com>
...
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.
Contribute the following changes:
2003-09-29 Dave Brolley <brolley@redhat.com>
* frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
CGEN_ATTR_VALUE_TYPE.
* mloop.in: Ditto.
* pipeline.c: Ditto.
* traps.c: Ditto.
2005-10-28 19:58:11 +00:00
Paul Brook
c4793bacbf
2005-09-19 Paul Brook <paul@codesourcery.com>
...
* armdefs.h: Define ARMsword and ARMsdword. Use stdint.h when
available.
* armemu.c: Use them.
* armvirt.c (ARMul_MemoryInit): Use correct type for size.
* configure.ac: Check for stdint.h.
* config.in: Regenerate.
* configure: Regenerate.
2005-09-19 14:21:09 +00:00
Joern Rennecke
6a8492b562
* interp.c (<sys/mman.h>): Include.
...
(mcalloc): New function / macro.
(mfree): New macro.
(sim_size): Use mcalloc and mfree.
2005-09-19 11:29:30 +00:00
Joern Rennecke
63bee80353
* interp.c (strswaplen): Add one for '\0' delimiter.
2005-08-02 16:17:59 +00:00
Ben Elliston
fb6ae37f9e
* hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's.
2005-07-15 03:52:31 +00:00
Ben Elliston
50427dbf8f
* hw_init.c: Comment out tokens after #endif directive.
...
* hw_register.c: Likewise.
* hw_trace.c: Likewise.
* hw_vm.c: Likewise.
2005-07-15 03:42:32 +00:00
Hans-Peter Nilsson
f010abaa2b
* sim-load.c (xprintf, eprintf): Remove fallout from ANSI_PROTOTYPES
...
change.
2005-07-10 15:23:42 +00:00
Ian Lance Taylor
efd3631498
* sim-fpu.c (sim_fpu_abs): Always clear the sign bit.
2005-07-08 18:46:23 +00:00
Ian Lance Taylor
21d1489665
* tconfig.in (SIM_QUIET_NAN_NEGATED): Define.
2005-07-08 18:42:15 +00:00
Ian Lance Taylor
09b96ea041
* sim-fpu.c (pack_fpu): If SIM_QUIET_NAN_NEGATED is defined, use a
...
different fraction for a quiet NaN.
(unpack_fpu): Likewise.
2005-07-08 18:41:54 +00:00
Ben Elliston
3b02a06bd6
* callback.c: Remove ANSI_PROTOTYPES conditional code.
...
* sim-load.c: Likewise.
* syscall.c: Likewise.
2005-07-08 08:05:35 +00:00
Ben Elliston
4eeb4f8dbf
* func.c: Remove ANSI_PROTOTYPES conditional code.
2005-07-08 08:04:54 +00:00
Daniel Jacobowitz
195b8a572e
* gencode.c (tab): Avoid lvalue casts. Suggested by
...
Ralf Corsepius <ralf.corsepius@rtems.org>.
2005-06-17 03:13:07 +00:00
David Ung
b16d63dac6
* mips.igen: New mips16e model and include m16e.igen.
...
(check_u64): Add mips16e tag.
* m16e.igen: New file for MIPS16e instructions.
* configure.ac (mipsisa32*-*-*, mipsisa32r2*-*-*, mipsisa64*-*-*,
mipsisa64r2*-*-*): Change sim_gen to M16, add mips16 and mips16e
models.
* configure: Regenerate.
2005-06-16 15:15:49 +00:00
Hans-Peter Nilsson
c318251408
* cris/Makefile.in (stamp-v32fmloop): Depend on stamp-v10fmloop.
2005-05-28 08:47:30 +00:00
Chris Demetriou
d81ffbc49a
2005-05-26 Chris Demetriou <cgd@netbsd.org>
...
* MAINTAINERS: Update my mail address, move myself to the
"Past maintainers" section.
2005-05-26 21:37:09 +00:00
Chris Demetriou
e70cb6cd9a
2005-05-26 David Ung <davidu@mips.com>
...
* mips.igen (mips32r2, mips64r2): New ISA models. Add new model
tags to all instructions which are applicable to the new ISAs.
(do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Add, moved from
vr.igen.
* mips3264r2.igen: New file for MIPS 32/64 revision 2 specific
instructions.
* vr.igen (do_ror, do_dror, ROR, RORV, DROR, DROR32, DRORV): Move
to mips.igen.
* configure.ac (mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add new targets.
* configure: Regenerate.
2005-05-26 21:31:57 +00:00
Nick Clifton
546aee7a22
(handle_v6_thumb_insn): New function.
...
(ARMul_ThumbDecode): Call handle_v6_thumb_insn() when an undefined instruction
binary is encountered.
2005-05-24 15:30:38 +00:00
Corinna Vinschen
18d59ab9dd
* Make-common.in (LIBDEPS): Correctly use INTLDEPS for dependency
...
check.
2005-05-24 14:21:19 +00:00
Daniel Jacobowitz
ef5a45edc7
Update copyright years for last commit.
2005-05-18 01:55:46 +00:00
Daniel Jacobowitz
149cfe5bb4
* Make-common.in (install-common, installdirs): Honor $DESTDIR.
2005-05-18 01:54:39 +00:00
Corinna Vinschen
c3357c6410
* configure.ac: Add igen to v850 build.
...
* configure: Regenerate.
2005-05-17 14:11:24 +00:00
Ben Elliston
44cd25cf2d
Typo fix.
2005-05-16 01:03:40 +00:00
Nick Clifton
380d9419c9
Update the address of the FSF organization
2005-05-12 07:36:59 +00:00
Corinna Vinschen
4839e910a0
* sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
...
inclusion of cgen.h.
2005-05-02 15:23:09 +00:00
Paul Brook
33aa0cbb6b
2005-04-29 Paul Brook <paul@codesourcery.com>
...
* common/callback.c (PIPE_BUF): Provide default refinition.
(os_lstat): Use stat if lstat is not available on the host.
(os_ftruncate): Return EINVAL if not available on the host.
(os_truncate): Ditto.
* common/configure.ac: Check for lstat, truncate and ftruncate.
* common/configure: Regenerate.
* common/config.in: Regenerate.
2005-04-29 14:48:03 +00:00
Paul Brook
4ec242d7be
2005-04-27 Paul Brook <paul@codesourcery.com>
...
* common/Make-common.in: Add $(EXEEXT) to "run".
2005-04-27 20:38:08 +00:00
Nick Clifton
8207e0f24e
* armemu.c (handle_v6_insn): New function - emulate a few of the v6 instructions - the ones now generated by GCC.
...
(ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is found.
* armdefs.h (struct ARMul_State): Add new field: is_v6.#
(ARM_v6_Prop): Define.
* arminit.c (ARMul_NewState): Initialise the v6 flag.
(ARMul_SelectProcessor): Determine if the v6 flag should be set.
* wrapper.c (sim_create_inferior): For unknown architectures, default to allowing the v6 instructions.
2005-04-25 07:48:59 +00:00
Manoj Iyer
c55c7ff100
added missing header file #include "libiberty.h" to psim.c
...
2005-04-20 Manoj Iyer <manjo@austin.ibm.com>
* psim.c: Added libiberty.h header file.
2005-04-20 22:33:08 +00:00
Manoj Iyer
f5e8ac0e51
added missing header file libiberty.h to psim.c
2005-04-20 22:30:30 +00:00
Manoj Iyer
15254e9d32
Insert a blank like after header
2005-04-20 22:28:52 +00:00
Manoj Iyer
5d74254dbf
Inserting a blank line to changelog
2005-04-20 22:27:40 +00:00
Manoj Iyer
3f6da72206
unsigned32 and unsigned64 is multiply defined in sim-types.h.
...
2005-04-20 Manoj Iyer <manjo@austin.ibm.com>
* sim-types.h: Changed unsigned32 and unsigned64 to signed32
and signed64 for __ALPHA__.
2005-04-20 15:21:37 +00:00
Manoj Iyer
30e6617391
Use HAVE_LONG_LONG to check if compiler supports long long instead of using __GNU__.
...
2005-04-18 Manoj Iyer <manjo@austin.ibm.com>
* configure.ac: Added check for long long.
* config.in: Regenerated.
* configure: Regenerated.
* words.h: Modified logic to check for HAVE_LONG_LONG instead of
__GNUC__, added config.h header file.
2005-04-20 14:43:55 +00:00
Nick Clifton
16d55f1479
(WMAC, WMADD): Move casts from the LHS of an assignment operator to the RHS.
...
(WSLL, WSRA, WSRL, WUNPCKEH, WUNPACKEL): Use ULL suffix to indicate an
unsigned long long constant.
2005-04-18 12:17:51 +00:00
Hans-Peter Nilsson
69308976e8
* cris/traps.c (cris_break_13_handler) <case TARGET_SYS_mmap2>:
...
For ((len & 8191) != 0 && fd == (USI) -1), don't say this isn't
implemented. In call to create_map, pad length argument to 8k.
2005-04-18 03:08:46 +00:00
Corinna Vinschen
21bc75678f
* configure.ac: Add explicit sh64 case.
...
* configure: Regenerate.
* sh64/configure.ac: New file.
* sh64/configure.in: Remove.
* sh64/configure: Regenerate.
* sh64/defs-media.h (sem_fields): Add missing sfmt_ldhil member.
* sh64/sim-if.c (sim_open): Use struct bfd instead of struct _bfd.
(sim_create_inferior): Ditto.
2005-04-15 08:15:52 +00:00
Jonathan Larmour
53f541af8d
* gencode.c (tab): Avoid inserting code before variables all declared.
2005-04-14 20:16:06 +00:00
Paul Brook
74ec5579b9
2005-03-30 Paul Brook <paul@codesourcery.com>
...
* arm/wrapper.c: Provide SIGTRAP and SIGBUS.
2005-03-30 16:21:33 +00:00
Anthony Green
170cd118a9
Fix memset thinkos.
2005-03-25 20:40:02 +00:00
Hans-Peter Nilsson
cce0efb55e
* cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge to
...
include cgen-ops.h in decodev10.c and decodev32.c.
* cris/sim-main.h: Don't include cgen-ops.h here.
* cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,
cris/cpuv10.h, cris/cpuv32.c, cris/cpuv32.h, cris/cris-desc.c,
cris/cris-desc.h, cris/cris-opc.h, cris/decodev10.c,
cris/decodev10.h, cris/decodev32.c, cris/decodev32.h,
cris/modelv10.c, cris/modelv32.c, cris/semcrisv10f-switch.c,
cris/semcrisv32f-switch.c: Regenerate.
2005-03-24 06:12:42 +00:00
Hans-Peter Nilsson
2ecb839027
* cris/traps.c (cris_break_13_handler) <case
...
TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags,
sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
2005-03-24 01:14:09 +00:00
Mark Kettenis
2b193c4ab6
From common/ChangeLog:
...
* aclocal.m4 Include ../../gettext.m4.
(CY_WITH_NLS, CY_GNU_GETTEXT, AM_PATH_PROG_WITH_TEST)
(AM_LC_MESSAGES): Remove.
* configure: Regenerate.
Regenerate all other configures.
2005-03-23 18:55:19 +00:00
Jim Blandy
51216631bc
sim/common/ChangeLog:
...
2005-02-28 Jim Blandy <jimb@redhat.com>
* aclocal.m4 (SIM_AC_OPTION_WARNINGS): Don't include
-Wuninitialized in the default list of build warnings if CFLAGS is
set, and doesn't include -O. (Using -Wuninitialized without
optimization produces a warning, which interferes with compilation
with -Werror.)
sim/ChangeLog:
2005-02-28 Jim Blandy <jimb@redhat.com>
* d10v/configure.ac, igen/configure.ac, m68hc11/configure.ac,
mips/configure.ac, mn10300/configure.ac, v850/configure.ac:
Regenerated, after change to common/aclocal.m4.
2005-03-15 23:25:59 +00:00
Corinna Vinschen
edece23776
* iq2000: New target subdirectory.
...
* configure.ac: Add iq2000 target.
* configure: Regenerate.
2005-03-08 08:55:34 +00:00
Jerome Guitton
187d3d28e2
2005-03-07 Jerome Guitton <guitton@gnat.com>
...
* sim/erc32/float.c (set_fsr): Do not use deprecated multi-line
strings.
(clear_accex): Ditto.
* sim/erc32/interf.c: Remove the redeclaration of fprintf.
* sim/erc32/sis.c: Ditto.
* sim/erc32/exec.c: Add missing semicolon.
* sim/erc32/func.c: Remove definitions of generic_print_address,
generic_symbol_at_address, buffer_read_memory and perror_memory, as
they are already defined in opcodes/dis-buf.c.
2005-03-07 11:09:05 +00:00
Jim Blandy
0c4507fdbe
* callback.c (os_fstat): Don't declare 't' unless it's used.
2005-02-21 21:59:54 +00:00
Jim Blandy
9ab46d5398
cgen/ChangeLog:
...
2005-02-09 Jim Blandy <jimb@redhat.com>
* cgen-sim.scm (load-files): Don't load fixup.scm. (See
corresponding change in the sim/common directory.)
sim/common/ChangeLog:
2005-02-09 Jim Blandy <jimb@redhat.com>
* Make-common.in (CGEN): Load guile.scm, and include a trailing
'-s' argument.
(CGEN_FLAGS_TO_PASS): Include single quotes around the reference
to $(CGEN), to ensure that the command substitution happens where
the variable is referenced in the submake, not when the submake's
arguments are expanded.
(cgen.sh): Be prepared for the 'cgen' argument to contain spaces.
(arch, cpu, decode, cpu-decode, defs, desc): Place the name of the
application Scheme script directly after ${cgen}; don't precede it
with a -s.
2005-02-09 22:04:04 +00:00
Hans-Peter Nilsson
8bdcadb12f
* Makefile.in (all, clean mostlyclean, distclean maintainer-clean)
...
(realclean, install): Fail if subdir make failed.
2005-01-29 00:53:13 +00:00
Hans-Peter Nilsson
f6bcefefe8
* cris: New directory, simulator for Axis Communications CRIS
...
including CRIS v32, CGEN-based.
* configure.ac: Add corresponding configury.
* configure: Regenerate.
2005-01-28 04:29:00 +00:00
Hans-Peter Nilsson
97f669eda9
* syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.
...
* callback.c [HAVE_LIMITS_H]: Include limits.h.
Include libiberty.h.
(os_close, os_read, os_write, os_fstat, os_ftruncate): Support fd
being either end of a pipe.
(os_pipe, os_pipe_empty, os_pipe_nonempty): New functions.
(os_shutdown): Clear pipe state.
(default_callback): Initialize new members.
2005-01-28 03:40:54 +00:00
Hans-Peter Nilsson
f4f8cce440
* callback.c (default_callback): Initialize target_endian.
...
(cb_store_target_endian): Renamed from store, new first parameter
host_callback *cb, drop last parameter big_p. Take endianness
from cb.
(cb_host_to_target_stat): Change to use cb_store_target_endian.
Remove variable big_p.
* nrun.c (main): Initialize default_callback.target_endian.
2005-01-28 03:28:40 +00:00
Andrew Cagney
4ac6917f4d
2005-01-17 Andrew Cagney <cagney@gnu.org>
...
* configure.ac: For mips*-*-* and mn10300*-*-* configure the
common directory. Remove sparc*-*-* from list.
2005-01-17 18:04:10 +00:00
Andrew Cagney
35695fd6e5
Index: arm/ChangeLog
...
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: common/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Replace SIM_AC_COMMON with sinclude of common.m4.
Add explicit call to AC_CONFIG_HEADER.
* common.m4: Delete call to AC_CONFIG_HEADER, update usage.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: erc32/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: frv/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: h8300/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: m32r/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: m68hc11/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: mcore/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: mips/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: mn10300/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: sh/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
Index: v850/ChangeLog
2005-01-14 Andrew Cagney <cagney@gnu.org>
* configure.ac: Sinclude aclocal.m4 before common.m4. Add
explicit call to AC_CONFIG_HEADER.
* configure: Regenerate.
2005-01-14 20:05:48 +00:00
Andrew Cagney
f05692463c
Index: sh/ChangeLog
...
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: mn10300/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: erc32/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: frv/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: h8300/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: m32r/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: mcore/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: mips/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: v850/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
Index: common/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* common.m4: New file, based on of aclocal.m4.
Index: arm/ChangeLog
2005-01-12 Andrew Cagney <cagney@gnu.org>
* configure.ac: Update to use ../common/common.m4.
* configure: Re-generate.
2005-01-12 17:12:46 +00:00
Andrew Cagney
38f48d729d
Index: m32r/ChangeLog
...
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: m68hc11/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mcore/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mips/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: mn10300/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: ppc/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: sh/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: testsuite/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: v850/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: erc32/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: frv/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: h8300/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: igen/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: ChangeLog
2005-01-11 Andrew Cagney <cagney@gnu.org>
* Makefile.in (autoconf-common autoheader-common): Add --force to
autoconf and autoheader.
(autoconf-common autoheader-common)
(autoconf-install autoheader-install): Check for configure.ac, not
configure.in.
* configure.ac: Delete AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: arm/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
Index: common/ChangeLog
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* aclocal.m4 (SIM_AC_OUTPUT): Rewrite to use 2.59 macros.
* configure: Regenerated to track ../common/aclocal.m4 changes.
2005-01-12 16:23:24 +00:00
Andrew Cagney
b702665739
Index: arm/ChangeLog
...
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Replace configure.in. Requires autoconf 2.59 and
correctly calls AC_CONFIG_SUBDIRS.
* configure: Re-generate.
Index: common/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* aclocal.m4 (SIM_AC_COMMON): Delete call to AC_CONFIG_AUX_DIR.
* configure: Re-generate.
Index: d10v/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: erc32/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: frv/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: h8300/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: igen/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: m32r/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: m68hc11/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: mcore/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: mips/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: mn10300/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: ppc/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: sh/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/d10v-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/frv-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/m32r-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/mips64el-elf/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: testsuite/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
Index: v850/ChangeLog
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
2005-01-10 16:14:50 +00:00
Andrew Cagney
d0945c9b3b
2005-01-07 Andrew Cagney <cagney@gnu.org>
...
* configure.in: Pass literal subdirectories to AC_CONFIG_SUBDIRS.
* configure: Re-generate.
2005-01-07 23:37:38 +00:00
Andrew Cagney
4db6a73d17
2005-01-07 Andrew Cagney <cagney@gnu.org>
...
* fr30-elf, d30v-elf: Delete directory.
2005-01-07 23:25:38 +00:00
Andreas Schwab
38edcf8ace
* Makefile.in (hw_com.o, hw_eeprom.o): Depend on
...
$(DEVICE_TABLE_H).
2005-01-03 15:34:19 +00:00
Hans-Peter Nilsson
5d945fec64
* syscall.c (cb_syscall) <case CB_SYS_truncate>
...
<case CB_SYS_ftruncate>: New cases.
2004-12-15 01:26:40 +00:00
Hans-Peter Nilsson
af596d0889
Correct last mispasted entry
2004-12-13 00:46:42 +00:00
Hans-Peter Nilsson
82571856a8
* syscall.c (cb_syscall) <case CB_SYS_rename>: New case.
2004-12-13 00:46:05 +00:00
Hans-Peter Nilsson
0d3cd463e3
* syscall.c (cb_syscall) <case CB_SYS_lstat>: New case.
...
* callback.c (os_lstat): New function.
2004-12-13 00:38:38 +00:00
Kazuhiro Inaoka
19e64aa99d
2004-12-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
...
Committed by Kei Sakamoto.
* traps-linux.c (m32r_trap): Add entries of the following dummy system
calls: __NR_mmap2, __NR_lchown32, __NR_getuid32, __NR_getgid32,
__NR_geteuid32, __NR_getegid32, __NR_getgroups32, __NR_fchown32,
__NR_setfsuid32, __NR_setfsgid32, __NR_getresuid32,
__NR_getresgid32 and __NR_chown32.
* syscall.h: Add new definitions of system call number.
2004-12-09 00:47:45 +00:00
Hans-Peter Nilsson
027e2a04f1
* run.1: Document --sysroot=filepath.
...
* sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT.
(standard_options): Support --sysroot=<path>.
(standard_option_handler): Handle OPTION_SYSROOT.
* syscall.c (simulator_sysroot): Define, initialized empty.
(get_path): Prepend simulator_sysroot to absolute file path.
[HAVE_STRING_H]: Include string.h.
[!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h.
* nrun.c [HAVE_UNISTD_H]: Include unistd.h.
(main): If simulator_sysroot is not empty, chdir there.
* sim-config.h (simulator_sysroot): Declare.
2004-12-08 00:40:30 +00:00
Hans-Peter Nilsson
379832de9a
* configure: Regenerate for ../common/aclocal.m4 update.
2004-12-07 23:51:23 +00:00
Hans-Peter Nilsson
119860e511
* aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "break
...
cgen_rtx_error" in a CGEN-generated simulator.
* gdbinit.in: Break on sim_core_signal too. Have autoconf
replacement for CGEN-related breakpoints.
2004-12-07 23:37:35 +00:00
Hans-Peter Nilsson
70ae66113d
* Make-common.in (sim-basics_h): Add $(callback_h).
2004-12-07 22:28:53 +00:00
Hans-Peter Nilsson
e1591da4fd
Bah, forgot to commit the trivial fix I pointed out myself after applying patch for previous change
2004-12-03 23:34:55 +00:00
Hans-Peter Nilsson
697afb65fc
* configure.in (SIM_CHECK_MEMBERS): Call for struct stat members
...
st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev,
st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime.
* aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1)
(SIM_CHECK_MEMBERS): New macros.
* callback.c (cb_host_to_target_stat): Use temporary macro ST_x
for struct stat member test and write. Add ST_x calls for each
struct stat member tested in configure.in. Wrap each ST_x call in
#ifdef of configure macro for that member.
* configure, config.in: Regenerate.
2004-12-03 19:36:53 +00:00
Andrew Cagney
44b263ce53
Delete h8500 simulator, gdb droped h8500 in 6.1.
2004-12-01 15:41:27 +00:00
Andrew Cagney
33841fd962
Delete i960; deleted from GDB long long ago.
2004-12-01 15:27:21 +00:00
Hans-Peter Nilsson
6e56eb075a
Oops, forgot to save ChangeLog before committing
2004-12-01 13:53:28 +00:00
Hans-Peter Nilsson
5e77bda967
Update copyright year
2004-12-01 02:32:08 +00:00
Hans-Peter Nilsson
76e417689c
* Makefile.in (stamp-desc): Specify opcfile.
2004-12-01 02:30:49 +00:00
Hans-Peter Nilsson
ad6e5d2e31
* cgen.sh: New thirteenth parameter opcfile, defaulting to
...
/dev/null.
<case desc>: Pass -OPC opcfile.
* Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth
parameter to cgen.sh.
2004-12-01 02:29:30 +00:00
Richard Earnshaw
c87368acf2
* Make-common.in (sim-basics_h): Correct dependencies on
...
cconfig.h and tconfig.h
(sim-load.o): Correct typo in sim-basics_h dependency.
2004-11-30 13:44:13 +00:00
Richard Earnshaw
15f5e61fb4
In last change: macros not rules.
2004-11-18 10:56:28 +00:00
Richard Earnshaw
08cd376098
* Make-common.in (sim-*_h): Add rules for all sim headers. Also
...
add sub-dependencies for other sim files that they include.
(sim_main_headers): Use sim-*_h rules.
(sim-load.o): Depend on sim-basics_h, not sim_main_headers.
2004-11-18 10:21:39 +00:00
Hans-Peter Nilsson
27509da04b
Fix consistenco; it's triplets, not triples
2004-11-16 16:22:09 +00:00
Hans-Peter Nilsson
310ca70ce2
* lib/sim-defs.exp (run_sim_test): Support "xfail" and "kfail".
2004-11-16 16:20:32 +00:00
Andreas Schwab
99b5727687
* Makefile.in (defines.h): Depend on tmp-defines.
...
(hw.c hw.h): Depend on tmp-hw.
(pk.h): Depend on tmp-pk.
2004-11-16 10:21:19 +00:00