aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
2010-01-02Regenerate cgen files, update copyright year.Doug Evans93-87/+129
2010-01-01tweak wording of previous checkinDoug Evans2-2/+2
2010-01-01cris/Doug Evans4-2/+10
* mloop.in: Fix copyright update snafu. iq2000/ * mloop.in: Fix copyright update snafu.
2010-01-01Update copyright notices to add year 2010.Joel Brobecker357-368/+401
2009-12-23* rx/rx.c (decode_opcode): btst bit address mask fix.DJ Delorie2-1/+5
2009-12-092009-12-09 Yoshinori Sato <ysato@users.sourceforge.jp>Yoshinori Sato2-42/+42
* compile.c(fetch_1): Fix pre-dec, pre-inc, post-dec and post-inc. Index registers not masked memory areas. Only simply increment or decrement. * compile.c(store_1): Ditto.
2009-12-02 * cgen-engine.h: Remove duplicated comment.Doug Evans2-12/+4
2009-11-30* rx/rx.c (decode_opcode): fix SWHILE logic.DJ Delorie2-3/+7
2009-11-24 * common/aclocal.m4: Add include of ../../config/zlib.m4.Joel Brobecker27-2484/+1854
* common/common.m4: Use AM_ZLIB to check for zlib support. * ppc/configure.ac: Likewise. * arm/configure, avr/configure, common/configure, cr16/configure, cris/configure, d10v/configure, erc32/configure, frv/configure, h8300/configure, iq2000/configure, lm32/configure, m32c/configure, m32r/configure, m68hc11/configure, mcore/configure, microblaze/configure, mips/configure, mn10300/configure, moxie/configure, ppc/configure, sh/configure, sh64/configure, v850/configure: Regenerate.
2009-11-24[sim]DJ Delorie28-0/+11874
* rx: New directory. * configure.ac: Add entry for Renesas RX. * configure: Regenerate. [include/gdb] * sim-rx.h: New.
2009-11-23 * cgen-engine.h (EXTRACT_MSB0_SINT): Renamed from EXTRACT_MSB0_INT.Doug Evans23-281/+288
(EXTRACT_LSB0_SINT): Renamed from EXTRACT_LSB0_INT. plus regenerate cgen files
2009-11-23 * cgen-engine.h (EXTRACT_MSB0_LGSINT, EXTRACT_MSB0_LGUINT): Define.Doug Evans43-957/+1072
(EXTRACT_LSB0_LGSINT, EXTRACT_LSB0_LGUINT): Define. (EXTRACT_FN, SEMANTIC_FN): Use CGEN_INSN_WORD in prototype instead of CGEN_INSN_INT. plus, cgen files: Regenerate.
2009-11-22 * cgen-trace.h (trace_extract): Add cast to fix warning.Doug Evans2-1/+5
2009-11-14 * configure.ac: If build != host, create a separate build-config.hNathan Froyd10-7/+73
file desecribing the build machine. * configure: Regenerate. * lf.c: Include build-config.h instead of config.h. * dgen.c: Likewise. * igen.c: Likewise. * misc.c: Likewise. * misc.h: Likewise. * filter.c: Likewise. * table.c: Likewise.
2009-11-122009-11-12 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-16/+25
* avr/interp.c (sim_write): Allow byte access. (sim_read): Ditto.
2009-11-122009-11-12 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-0/+8
* avr/interp.c (sim_load): Clear memory before loading.
2009-11-092009-11-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* avr/interp.c (sim_resume): Fix typo for OP_ret.
2009-11-06 * cgen-mem.h (DECLARE_GETT): Don't inline.Doug Evans2-5/+10
(DECLARE_SETT): Ditto.
2009-11-04 * arch.c: Regenerate.Doug Evans11-291/+176
* arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpuall.h: Regenerate. * decode.c: Regenerate. * decode.h: Regenerate. * model.c: Regenerate. * sem-switch.c: Regenerate. * sem.c: Regenerate.
2009-11-04 * arch.c: Regenerate.Doug Evans11-319/+609
* arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpuall.h: Regenerate. * decode.c: Regenerate. * decode.h: Regenerate. * model.c: Regenerate. * sem-switch.c: Regenerate. * sem.c: Regenerate.
2009-11-04 * arch.c: Regenerate.Doug Evans23-443/+866
* arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpu2.c: Regenerate. * cpu2.h: Regenerate. * cpuall.h: Regenerate. * cpux.c: Regenerate. * cpux.h: Regenerate. * decode.c: Regenerate. * decode.h: Regenerate. * decode2.c: Regenerate. * decode2.h: Regenerate. * decodex.c: Regenerate. * decodex.h: Regenerate. * model.c: Regenerate. * model2.c: Regenerate. * modelx.c: Regenerate. * sem-switch.c: Regenerate. * sem.c: Regenerate. * sem2-switch.c: Regenerate. * semx-switch.c: Regenerate.
2009-11-04 * Makefile.in (mloop.c): Add @true to rule.Doug Evans2-15/+33
(mloopx.c, mloop2.c): Ditto. (stamp-*): Add Makefile dependency. (arch.c, arch.h, cpuall.h): Specify full path. (cpu.h, sem.c, sem-switch.c, model.c, decode.c, decode.h): Ditto. (cpux.h, semx-switch.c, modelx.c, decodex.c, decodex.h): Ditto. (cpu2.h, sem2-switch.c, model2.c, decode2.c, decode2.h): Ditto.
2009-11-04 * arch.c: Regenerate.Doug Evans18-759/+364
* arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpuall.h: Regenerate. * decode-compact.c: Regenerate. * decode-compact.h: Regenerate. * decode-media.c: Regenerate. * decode-media.h: Regenerate. * defs-compact.h: Regenerate. * defs-media.h: Regenerate. * sem-compact-switch.c: Regenerate. * sem-compact.c: Regenerate. * sem-media-switch.c: Regenerate. * sem-media.c: Regenerate. * sh-desc.c: Regenerate. * sh-opc.h: Regenerate.
2009-11-04 * arch.c: Regenerate.Doug Evans10-3293/+2066
* arch.h: Regenerate. * cpu.c: Regenerate. * cpu.h: Regenerate. * cpuall.h: Regenerate. * decode.c: Regenerate. * decode.h: Regenerate. * model.c: Regenerate. * sem.c: Regenerate.
2009-11-03 * Makefile.in (SIM_EXTRA_DEPS): Add sh-desc.h sh-opc.h.Doug Evans2-10/+23
(sh-desc.o): New rule. (sh-desc.h,sh-desc.c,sh-opc.h): Replaces rule for desc.h. (all generated file rules): Specify generated file with full path.
2009-10-28 * Makefile.in (stamp-arch): Update path to lm32.cpu.Doug Evans2-4/+9
(stamp-cpu): Ditto.
2009-10-24 * sh-desc.h: Regenerate.Doug Evans2-13/+16
2009-10-24 * cris/arch.c: Regenerate.Doug Evans19-2202/+643
* cris/arch.h: Regenerate. * cris/cpuall.h: Regenerate. * cris/cpuv10.c: Regenerate. * cris/cpuv10.h: Regenerate. * cris/cpuv32.c: Regenerate. * cris/cpuv32.h: Regenerate. * cris/cris-desc.c: Regenerate. * cris/cris-desc.h: Regenerate. * cris/cris-opc.h: Regenerate. * cris/decodev10.c: Regenerate. * cris/decodev10.h: Regenerate. * cris/decodev32.c: Regenerate. * cris/decodev32.h: Regenerate. * cris/modelv10.c: Regenerate. * cris/modelv32.c: Regenerate. * cris/semcrisv10f-switch.c: Regenerate. * cris/semcrisv32f-switch.c: Regenerate.
2009-10-232009-10-23 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+5
* avr/interp.c (sim_stop): Return 1.
2009-10-16 * MAINTAINERS: Add myself as m32r maintainer.Doug Evans2-0/+5
2009-10-15* MAINTAINERS: Add self as MicroBlaze maintainer.Michael Eager2-0/+5
2009-10-152009-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-1/+5
* std-config.h: Fix spelling error.
2009-10-152009-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-1/+5
* sim-inline.h: Fix spelling error.
2009-10-13 * MAINTAINERS (common): Move myself to "past maintainers" section.Ben Elliston2-1/+5
2009-10-06* microblaze/interp.c: Add include microblaze-dis.h.Michael Eager2-0/+5
2009-10-022009-10-02 Ralf Corsepius <ralf.corsepius@rtems.org>Tom Tromey2-0/+5
* Make-common.in: Add datarootdir.
2009-09-232009-09-23 Michael Eager <eager@eagercon.com>Michael Eager12-0/+9353
* configure: Add microblaze-*.* (not regenerated). * configure.ac: Likewise. * microblaze/config.in: New. * microblaze/configure: Generate. * microblaze/configure.ac: New. * microblaze/interp.c: New. * microblaze/Makefile.in: New. * microblaze/microblaze.h: New. * microblaze/microblaze.isa: New. * microblaze/sim-main.h: New. * microblaze/sysdep.h: New.
2009-09-22 * main.c: Fix spelling error.Joel Brobecker2-1/+5
2009-09-15fix thinko in previous entryDoug Evans1-2/+1
2009-09-15back out previous patch, replace withDoug Evans6-16/+15
* configure.ac (sim_hwflags): Use AC_DEFINE to define HAVE_UNION_SEMUN. * configure: Regenerate. * config.in: Regenerate. * hw_sem.c: #include "config.h". (HAVE_UNION_SEMUN): Renamed from HAS_UNION_SEMUN.
2009-09-15 * configure.ac (sim_hwflags): Clean up definition, AC_SUBST it.Doug Evans4-4/+20
* configure: Regenerate. * Makefile.in (SIM_HWFLAGS): New variable. (STD_CFLAGS, NOWARN_CFLAGS): Add it.
2009-09-10Use common memory infrastructure and introduce device tree supportAnthony Green7-289/+823
2009-08-29Remove SIM_CHECK_MEMBER* in sim/common/.Ralf Wildenhues4-61/+27
sim/common/: * aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS) (SIM_CHECK_MEMBERS_1): Remove. * configure.ac: Replace SIM_CHECK_MEMBERS call with equivalent AC_CHECK_MEMBERS one. * configure: Regenerate.
2009-08-29Fix SIM_CHECK_MEMBER definition with Autoconf 2.64.Ralf Wildenhues3-2/+55
sim/common/: * aclocal.m4 (SIM_CHECK_MEMBER): Use AU_ALIAS to define, not defn. * configure: Regenerate.
2009-08-22Regenerate tree using Autoconf 2.64 and Automake 1.11.Ralf Wildenhues79-101886/+90142
config/: * override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64. /: * configure: Regenerate. etc/: * configure: Regenerate. sim/common/: * config.in: Regenerate. * configure: Likewise. sim/iq2000/: * config.in: Regenerate. * configure: Likewise. sim/d10v/: * config.in: Regenerate. * configure: Likewise. sim/igen/: * config.in: Regenerate. * configure: Likewise. sim/m32r/: * config.in: Regenerate. * configure: Likewise. sim/frv/: * config.in: Regenerate. * configure: Likewise. sim/: * avr/config.in: Regenerate. * avr/configure: Likewise. * configure: Likewise. * cris/config.in: Likewise. * cris/configure: Likewise. sim/h8300/: * config.in: Regenerate. * configure: Likewise. sim/mn10300/: * config.in: Regenerate. * configure: Likewise. sim/ppc/: * config.in: Regenerate. * configure: Likewise. sim/erc32/: * config.in: Regenerate. * configure: Likewise. sim/arm/: * config.in: Regenerate. * configure: Likewise. sim/m68hc11/: * config.in: Regenerate. * configure: Likewise. sim/lm32/: * config.in: Regenerate. * configure: Likewise. sim/sh64/: * config.in: Regenerate. * configure: Likewise. sim/v850/: * config.in: Regenerate. * configure: Likewise. sim/cr16/: * config.in: Regenerate. * configure: Likewise. sim/moxie/: * config.in: Regenerate. * configure: Likewise. sim/m32c/: * config.in: Regenerate. * configure: Likewise. sim/mips/: * config.in: Regenerate. * configure: Likewise. sim/mcore/: * config.in: Regenerate. * configure: Likewise. sim/testsuite/d10v-elf/: * configure: Regenerate. sim/testsuite/: * configure: Regenerate. sim/testsuite/frv-elf/: * configure: Regenerate. sim/testsuite/m32r-elf/: * configure: Regenerate. sim/testsuite/mips64el-elf/: * configure: Regenerate. sim/sh/: * config.in: Regenerate. * configure: Likewise. gold/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. * testsuite/Makefile.in: Likewise. gprof/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * configure: Likewise. * gconfig.in: Likewise. opcodes/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. gas/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. * doc/Makefile.in: Likewise. ld/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. gdb/: * aclocal.m4: Regenerate. * config.in: Likewise. * configure: Likewise. * gnulib/Makefile.in: Likewise. gdb/doc/: * configure: Regenerate. gdb/gdbserver/: * aclocal.m4: Regenerate. * config.in: Likewise. * configure: Likewise. gdb/testsuite/: * configure: Regenerate. * gdb.hp/configure: Likewise. * gdb.hp/gdb.aCC/configure: Likewise. * gdb.hp/gdb.base-hp/configure: Likewise. * gdb.hp/gdb.compat/configure: Likewise. * gdb.hp/gdb.defects/configure: Likewise. * gdb.hp/gdb.objdbg/configure: Likewise. * gdb.stabs/configure: Likewise. binutils/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. * doc/Makefile.in: Likewise. bfd/: * Makefile.in: Regenerate. * aclocal.m4: Likewise. * config.in: Likewise. * configure: Likewise. bfd/doc/: * Makefile.in: Regenerate. readline/: * configure: Regenerate. readline/examples/rlfe/: * configure: Regenerate.
2009-08-22Minor fixes in sim, gold, gdb for Autoconf 2.64, Automake 1.11.Ralf Wildenhues2-22/+4
gold/: * Makefile.am (AUTOMAKE_OPTIONS): Add foreign. * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add foreign. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. gdb/: * configure.ac: Use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE, AC_AIX, AC_ISC_POSIX. sim/common/: * aclocal.m4 (SIM_CHECK_MEMBER): Replace definition with definition of AC_CHECK_MEMBER.
2009-08-22Fixup readline and sim including of override.m4Ralf Wildenhues48-4074/+5509
readline/examples/rlfe/: * configure.in: m4_include toplevel config/override.m4. * configure: Regenerate. readline/ChangeLog.gdb: * configure.in: m4_include toplevel config/override.m4. * configure: Regenerate. sim/: * configure.ac: m4_include toplevel config/override.m4. * configure: Regenerate. * avr/configure: Regenerate. * cris/configure: Regenerate. sim/common/: * aclocal.m4: m4_include toplevel config/override.m4. * configure: Regenerate. sim/iq2000/: * configure: Regenerate. sim/d10v/: * configure: Regenerate. sim/igen/: * configure: Regenerate. sim/m32r/: * configure: Regenerate. sim/frv/: * configure: Regenerate. sim/h8300/: * configure: Regenerate. sim/mn10300/: * configure: Regenerate. sim/ppc/: * configure: Regenerate. sim/erc32/: * configure: Regenerate. sim/arm/: * configure: Regenerate. sim/m68hc11/: * configure: Regenerate. sim/lm32/: * configure: Regenerate. sim/sh64/: * configure: Regenerate. sim/v850/: * configure: Regenerate. sim/cr16/: * configure: Regenerate. sim/moxie/: * configure: Regenerate. sim/m32c/: * configure: Regenerate. sim/mips/: * configure: Regenerate. sim/mcore/: * configure: Regenerate. sim/sh/: * configure: Regenerate.
2009-08-14* configure.in: Check for sys/select.h, termios.h, sys/socket.h,DJ Delorie6-1/+230
netinet/in.h, and netinet/tcp.h. * configure: Regenerate. * config.in: Add those headers. * main.c: Check for them. (setup_tcp_console): Disable if no networking. (main): Note missing networking or termios. * mem.c: Check for those headers. (stdin_ready): Disable if no termios. (m32c_sim_restore_console): Disable if no termios. (mem_get_byte): Disable console input if no termios.
2009-07-31Increase simulated memory size. Support new system call ABI. Support ↵Anthony Green2-10/+38
exception processing for Linux system calls.
2009-07-30sim/Ralf Wildenhues8-0/+20
* Makefile.in (datarootdir): New variable. sim/common/ * Makefile.in (datarootdir): New variable. sim/igen/ * Makefile.in (datarootdir): New variable. sim/ppc/ * Makefile.in (datarootdir): New variable. readline/ * Makefile.in (datarootdir): New variable. * doc/Makefile.in (datarootdir): New variable. * shlib/Makefile.in (datarootdir): New variable. gdb/gdbserver/ * Makefile.in (datarootdir): New variable.