aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
2006-08-08gdb/Daniel Jacobowitz6-3/+32
* 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-07-19compile.c (OBITOP): Bit address mask low three bit.Yoshinori Sato2-3/+8
compile.c (decode): Fix warning.
2006-07-12Patch reviewed and approved by Daniel Jacobowitz <drow@false.org>.Fred Fish2-1/+5
2006-07-12 Fred Fish <fnf@specifix.com> * sim-endian.h (asm/byteorder.h): Don't include private kernel header.
2006-06-26* r8c.opc (decode_r8c): Don't bother reading the destinationDJ Delorie2-4/+9
before moving a constant into it. Fix borrow comparison for SUB.
2006-06-13 * common/aclocal.m4: Pass ../../intl to ZW_GNU_GETTEXT_SISTER_DIR.Richard Earnshaw35-36/+119
* common/common.m4: Likewise. * */configure: Regenerate.
2006-06-05common/Daniel Jacobowitz35-35/+1498
* aclocal.m4: Use ZW_GNU_GETTEXT_SISTER_DIR. most subdirs/ * configure: Regenerated.
2006-05-31Configury changes: update src repository (binutils, gdb, and rda) to useDaniel Jacobowitz40-50852/+955
config/gettext-sister.m4 instead of the old gettext.m4. Regenerate all affected autotools files. Include intl in gdb releases again.
2006-05-15* mips32-dsp.s: Add some tests for shra_r.ph, shrav_r.ph, shra_r.w,Chao-ying Fu2-0/+16
shrav_r.w.
2006-05-15* dsp.igen (do_ph_shift, do_w_shra): Fix bugs for rounding instructions.Chao-ying Fu2-6/+12
2006-05-05sim/:Andreas Schwab8-8/+35
* 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-04 * MAINTAINERS: Add an "Authorized committers" section, and listDaniel Jacobowitz2-0/+8
DJ Delorie for v850.
2006-04-23 * Makefile.in (tmp-ld-decode): Fix dependencies.Andreas Schwab2-3/+9
(tmp-ld-cache): Likewise. (tmp-ld-insn): Likewise.
2006-04-18* dv-tx3904tmr.c (deliver_tx3904tmr_tick): Add missing break statement.Nick Clifton2-0/+6
2006-04-18ooops - omitted from previous deltaNick Clifton1-0/+4
2006-04-18* interp.c (sim_stop_reason): Fix typo.Nick Clifton1-1/+1
2006-04-08 * cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.Hans-Peter Nilsson2-0/+6
2006-04-08 * sim/cris/hw/rv-n-cris/irq6.ms: New test.Hans-Peter Nilsson2-0/+103
2006-04-03 * sim/cris/hw: New directory for subdirectories with tests.Hans-Peter Nilsson22-0/+986
* sim/cris/hw/rv-n-cris: New directory with tests.
2006-04-03 * cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.Hans-Peter Nilsson14-13/+2649
* 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-02 * cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.Hans-Peter Nilsson2-4/+8
(CRISV32F_OBJS): Remove semcrisv32f-switch.o. (semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
2006-04-02 * sim/cris/asm/testutils.inc (test_h_mem): Use register prefix.Hans-Peter Nilsson2-8/+14
(testr_h_dr, test_h_dr, ldmem_h_gr, mvr_h_mem): Ditto. Correct syntax.
2006-04-02 * sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Widen regexp forHans-Peter Nilsson3-4/+9
stack pointer values.
2006-03-29 * configure: Regenerate.Hans-Peter Nilsson6-9/+18
2006-03-29 * aclocal.m4 (SIM_AC_OPTION_HARDWARE): Correct duplicate-Hans-Peter Nilsson2-3/+7
option-contents test.
2006-03-14* mem.c (mem_put_byte): Hook simulated UART to stdout.DJ Delorie6-12/+111
(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* MAINTAINERS: Add self as m32c sim maintainer.DJ Delorie2-0/+5
2006-03-072006-03-07 Paul Brook <paul@codesourcery.com>Paul Brook2-2/+6
* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
2006-02-23 * cris/traps.c (syscall_map): Remove CB_SYS_time / TARGET_SYS_timeHans-Peter Nilsson2-1/+17
mapping. (cris_break_13_handler) <case TARGET_SYS_time>: New case.
2006-02-23 * sim/cris/c/time2.c: New test.Hans-Peter Nilsson2-0/+22
2006-02-02 * emul_netbsd.c (emul_netbsd_create): Quote file-name property.Mark Mitchell5-2/+65
* 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 * armos.c (ARMul_OSHandleSWI): Handle the RedBoot systemDaniel Jacobowitz2-3/+25
call meminfo. Return ENOSYS for unhandled RedBoot syscalls.
2006-01-25 * words.h (natural32): Define as "int".Mark Mitchell2-1/+5
2006-01-24 * words.h (signed32): Define as "int".Mark Mitchell2-2/+7
(unsigned32): Define as "unsigned int".
2006-01-23sim/ChangeLog:Jim Blandy35-0/+17347
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-10Now saved ChangeLog for previous entry.Hans-Peter Nilsson1-1/+2
2006-01-10 * sim/cris/asm/x1-v10.ms, sim/cris/asm/x3-v10.ms,Hans-Peter Nilsson4-4/+15
sim/cris/asm/x7-v10.ms: Update expected cycle output.
2006-01-10Update Copyright yearsHans-Peter Nilsson1-1/+1
2006-01-10 * cris/cris-tmpl.c (MY (f_model_insn_before)): Only display basicHans-Peter Nilsson2-18/+15
cycle count for the current insn.
2005-12-14* basic.exp: Run the dsp test.Chao-ying Fu4-0/+1192
* utils-dsp.inc: New file. * mips32-dsp.s: New test.
2005-12-14* Makefile.in (SIM_OBJS): Add dsp.o.Chao-ying Fu8-86/+2044
(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-07Add missing ChangeLog entryHans-Peter Nilsson1-0/+7
2005-12-06 * cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,Hans-Peter Nilsson12-1494/+807
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 * sim/cris/asm/movmp8.ms, sim/cris/asm/pcplus.ms: New tests.Hans-Peter Nilsson5-2/+98
* 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-05 * cris/arch.c, cris/arch.h, cris/cpuall.h, cris/cpuv10.c,Hans-Peter Nilsson19-1596/+3209
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-05Fix typo last entryHans-Peter Nilsson1-1/+1
2005-11-29 * sim-signal.c (sim_signal_to_target): Fix typos.Mark Mitchell2-2/+4
2005-11-28 * configure.ac (USE_WIN32API): Define it.Mark Mitchell6-71/+167
* 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 * psim.c: Include gdb/signals.h.Mark Mitchell2-1/+3
2005-11-28 * remote-sim.c (gdbsim_wait): Pass target signal numbers toMark Mitchell13-40/+89
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-21 * sim/cris: New directory with C and assembly tests for the CRISHans-Peter Nilsson316-0/+13606
simulator.