aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
2005-03-302005-03-30 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+12
* arm/wrapper.c: Provide SIGTRAP and SIGBUS.
2005-03-25Fix memset thinkos.Anthony Green2-1/+5
2005-03-24 * cris/Makefile.in (stamp-v10fcpu, stamp-v32fcpu): Add kludge toHans-Peter Nilsson21-25/+39
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 * cris/traps.c (cris_break_13_handler) <caseHans-Peter Nilsson2-12/+19
TARGET_SYS_rt_sigaction>: Rename sa_handler, sa_flags, sa_restorer, sa_mask_low, sa_mask_high to target_sa_handler etc.
2005-03-23From common/ChangeLog:Mark Kettenis33-519/+372
* 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-15sim/common/ChangeLog:Jim Blandy9-7/+98
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-08 * iq2000: New target subdirectory.Corinna Vinschen25-0/+21933
* configure.ac: Add iq2000 target. * configure: Regenerate.
2005-03-072005-03-07 Jerome Guitton <guitton@gnat.com>Jerome Guitton6-112/+75
* 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-02-21* callback.c (os_fstat): Don't declare 't' unless it's used.Jim Blandy2-0/+6
2005-02-09cgen/ChangeLog:Jim Blandy3-7/+20
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-01-29 * Makefile.in (all, clean mostlyclean, distclean maintainer-clean)Hans-Peter Nilsson2-4/+9
(realclean, install): Fail if subdir make failed.
2005-01-28 * cris: New directory, simulator for Axis Communications CRISHans-Peter Nilsson35-0/+71595
including CRIS v32, CGEN-based. * configure.ac: Add corresponding configury. * configure: Regenerate.
2005-01-28 * syscall.c (cb_syscall) <case CB_SYS_pipe>: New case.Hans-Peter Nilsson3-1/+278
* 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 * callback.c (default_callback): Initialize target_endian.Hans-Peter Nilsson3-8/+27
(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-172005-01-17 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-35/+9
* configure.ac: For mips*-*-* and mn10300*-*-* configure the common directory. Remove sparc*-*-* from list.
2005-01-14Index: arm/ChangeLogAndrew Cagney40-3291/+36457
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-12Index: sh/ChangeLogAndrew Cagney37-35997/+5263
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-12Index: m32r/ChangeLogAndrew Cagney36-550/+623
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-10Index: arm/ChangeLogAndrew Cagney65-41531/+118874
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-072005-01-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney3-31/+28
* configure.in: Pass literal subdirectories to AC_CONFIG_SUBDIRS. * configure: Re-generate.
2005-01-072005-01-07 Andrew Cagney <cagney@gnu.org>Andrew Cagney52-3572/+4
* fr30-elf, d30v-elf: Delete directory.
2005-01-03 * Makefile.in (hw_com.o, hw_eeprom.o): Depend onAndreas Schwab2-0/+7
$(DEVICE_TABLE_H).
2004-12-15 * syscall.c (cb_syscall) <case CB_SYS_truncate>Hans-Peter Nilsson2-0/+35
<case CB_SYS_ftruncate>: New cases.
2004-12-13Correct last mispasted entryHans-Peter Nilsson1-1/+1
2004-12-13 * syscall.c (cb_syscall) <case CB_SYS_rename>: New case.Hans-Peter Nilsson2-0/+28
2004-12-13 * syscall.c (cb_syscall) <case CB_SYS_lstat>: New case.Hans-Peter Nilsson3-0/+60
* callback.c (os_lstat): New function.
2004-12-092004-12-09 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>Kazuhiro Inaoka3-0/+135
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-08 * run.1: Document --sysroot=filepath.Hans-Peter Nilsson6-7/+90
* 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-07 * configure: Regenerate for ../common/aclocal.m4 update.Hans-Peter Nilsson26-180/+288
2004-12-07 * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "breakHans-Peter Nilsson3-0/+15
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 * Make-common.in (sim-basics_h): Add $(callback_h).Hans-Peter Nilsson2-0/+5
2004-12-03Bah, forgot to commit the trivial fix I pointed out myself after applying ↵Hans-Peter Nilsson1-1/+1
patch for previous change
2004-12-03 * configure.in (SIM_CHECK_MEMBERS): Call for struct stat membersHans-Peter Nilsson6-5/+1044
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-01Delete h8500 simulator, gdb droped h8500 in 6.1.Andrew Cagney10-7306/+1
2004-12-01Delete i960; deleted from GDB long long ago.Andrew Cagney30-40714/+4
2004-12-01Oops, forgot to save ChangeLog before committingHans-Peter Nilsson1-0/+8
2004-12-01Update copyright yearHans-Peter Nilsson1-1/+1
2004-12-01 * Makefile.in (stamp-desc): Specify opcfile.Hans-Peter Nilsson2-2/+6
2004-12-01 * cgen.sh: New thirteenth parameter opcfile, defaulting toHans-Peter Nilsson2-2/+6
/dev/null. <case desc>: Pass -OPC opcfile. * Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth parameter to cgen.sh.
2004-11-30* Make-common.in (sim-basics_h): Correct dependencies onRichard Earnshaw2-3/+9
cconfig.h and tconfig.h (sim-load.o): Correct typo in sim-basics_h dependency.
2004-11-18In last change: macros not rules.Richard Earnshaw1-3/+3
2004-11-18* Make-common.in (sim-*_h): Add rules for all sim headers. AlsoRichard Earnshaw2-24/+64
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-16Fix consistenco; it's triplets, not triplesHans-Peter Nilsson1-2/+2
2004-11-16 * lib/sim-defs.exp (run_sim_test): Support "xfail" and "kfail".Hans-Peter Nilsson2-0/+26
2004-11-16 * Makefile.in (defines.h): Depend on tmp-defines.Andreas Schwab2-0/+9
(hw.c hw.h): Depend on tmp-hw. (pk.h): Depend on tmp-pk.
2004-11-16 * sim-config.c (sim_config): Recognize when a bfd has unspecifiedHans-Peter Nilsson2-1/+8
endian information.
2004-11-16 * lib/sim-defs.exp (run_sim_test): Make multiple "output"Hans-Peter Nilsson2-0/+9
specifications concatenate, not override.
2004-11-16 * Make-common.in (sim-load.o): Depend on $(sim_main_headers) andHans-Peter Nilsson2-1/+8
$(remote_sim_h) too. (sim_main_headers): Add sim-utils.h.
2004-11-122004-11-12 Andrew Cagney <cagney@gnu.org>Andrew Cagney73-50546/+4
* d30v, fr30, mn10200, z8k: Delete directory.
2004-11-11sim/erc32:Andreas Schwab4-2/+11
* interf.c: Include "libiberty.h" instead of declaring buildargv ourselves. sim/ppc: * sim_calls.c: Include "libiberty.h".