aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
2010-03-16sim: avoid TRACE redefine warningsMike Frysinger3-16/+13
The common code sets up an autoconf option --enable-sim-trace which adds -DTRACE= to CPPFLAGS. This causes warnings in the building of some files that declare a local TRACE() helper macro. So punt it from hw-ports.c (since it isn't actually used) and convert hw-properties.c to HW_TRACE().
2010-03-15sim: rename bool argument to avoid stdbool clashMike Frysinger2-1/+6
Including stdbool.h before hw-properties.h results in a build error due to the hw_add_boolean_property function having an argument named "bool" in its prototype. The source file has already be renamed to not use this ("boolean" instead), so match the header to the source.
2010-02-27sim/moxie/Jan Kratochvil2-2/+7
* interp.c (sim_create_inferior): Fix crashes on zero PROG_BFD or ARGV.
2010-02-14* ppc-instructions: Fix missing assignment in last change.Andreas Schwab2-0/+5
2010-02-14 * configure.in: Check if the host has getopt.h.Masaki Muranaka5-0/+138
* configure: Regenerate. * config.in: Regenerate. * main.c: Include config.h. Use HAVE_STDLIB_H, HAVE_UNISTD_H, HAVE_GETOPT_H. Include getopt.h in case HAVE_GETOPT_H is defined.
2010-02-14 * interp.c: Don't include sysdep.h.Masaki Muranaka2-1/+24
Include stdio.h and errno.h. Include string.h strings.h stdlib.h sys/stat.h if present.
2010-02-13regenerate cgen-based filesDoug Evans6-95/+606
2010-02-12Regenerate cgen-derived files.Doug Evans53-795/+720
2010-02-05* ppc-instructions: Fix aliasing bugs when callingAndreas Schwab2-8/+28
invalid_arithemetic_operation.
2010-02-04sim-model.c: Include sim-model.hMike Frysinger2-0/+5
2010-02-04sime-base.h: fix typos in STATE_CPU() examplesMike Frysinger2-3/+8
2010-02-03Fix nop insn for moxieAnthony Green2-11/+20
2010-01-25 common/Doug Evans7-75/+103
* cgen-accfp.c (fextsfdf): New arg how. All callers updated. (ftruncdfsf, floatsisf, flostsidf, ufloatsisf, fixsfsi, fixdfsi, ufixsfsi): Ditto. * cgen-fpu.h (CGEN_FPCONV_KIND): New enum. (struct cgen_fp_ops): Update signatures of floating point conversion operations. frv/ * sem.c: Regenerate. sh64/ * cpu.h: Regenerate.
2010-01-25 * Make-common.in (CGEN_SIM_DEPS): Define.Doug Evans2-9/+19
(CGEN_INCLUDE_DEPS): Use it. (CGEN_MAIN_CPU_DEPS): Simplify.
2010-01-22 * cgen-ops.h (SUBWORDXFSI): Fix word ordering.Doug Evans2-6/+14
(SUBWORDTFSI, JOINSIDI): Ditto.
2010-01-20* m32c.opc (MATH_OP): When doing subtraction, also set carry ifDJ Delorie2-1/+6
the result is zero.
2010-01-18Cannot build mips simulator on darwin.Joel Brobecker2-2/+4
Masaki Muranaka <monaka@monami-software.com> (tiny change) * interp.c: Don't include sysdep.h
2010-01-13Add period to sentence in comment.Anthony Green2-1/+5
2010-01-13Initialize SIM_DESC properly.Anthony Green2-0/+21
2010-01-09Sync Libtool from GCC.Ralf Wildenhues43-25/+126
/: * libtool.m4: Sync from git Libtool. * ltmain.sh: Likewise. * ltoptions.m4: Likewise. * ltversion.m4: Likewise. * lt~obsolete.m4: Likewise. sim/iq2000/: * configure: Regenerate. sim/d10v/: * configure: Regenerate. sim/m32r/: * configure: Regenerate. sim/frv/: * configure: Regenerate. sim/: * avr/configure: Regenerate. * cris/configure: Regenerate. * microblaze/configure: Regenerate. sim/h8300/: * configure: Regenerate. sim/mn10300/: * 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. gprof/: * Makefile.in: Regenerate. * configure: Regenerate. opcodes/: * Makefile.in: Regenerate. * configure: Regenerate. gas/: * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. ld/: * configure: Regenerate. gdb/testsuite/: * gdb.cell/configure: Regenerate. binutils/: * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. bfd/: * Makefile.in: Regenerate. * configure: Regenerate. bfd/doc/: * Makefile.in: Regenerate.
2010-01-06 * cpu.h: Regenerate.Doug Evans3-5/+10
* decode.c: Regenerate.
2010-01-06 * cgen-types.h (SETDI): Delete, unused.Doug Evans2-2/+4
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.