aboutsummaryrefslogtreecommitdiff
path: root/sim
AgeCommit message (Collapse)AuthorFilesLines
2001-03-20Do not enable alignment checking when loading unaligned thumb instructions.Nick Clifton2-2/+7
2001-03-20* mmap support for common simulatorsFrank Ch. Eigler6-12/+205
2001-03-16 Frank Ch. Eigler <fche@redhat.com> Add support for mmap-based memory regions. * sim-memopt.c (mmap_next_fd): New global. (sim_memory_init): Reinitialize it. (OPTION_MEMORY_MAPFILE, memory_option_handler): Support new "--memory-mapfile FILE" option. Check for some errors. (do_memopt_add): Conditionally do mmap instead of malloc for backing store of simulated memory. Check for more errors. (do_simopt_delete, sim_memory_uninstall): Corresponding cleanup. * sim-memopt.h (munmap_length): New member of _sim_memopt. * configure.in: Look for mmap/fstat related functions and headers. * config.in, configure: Regenerated.
2001-03-16* tweakFrank Ch. Eigler2-3/+8
2001-03-15 Frank Ch. Eigler <fche@redhat.com> * sim-core.c (sim_core_map_attach): Correct overlap-related error messages.
2001-03-14Link with libintl, needed by libopcodes.Andrew Cagney2-2/+6
2001-03-07Remove reference to alloca-conf.hMichael Meissner2-2/+4
2001-03-06Fix BLX(1) for ThumbNick Clifton2-5/+24
2001-03-05Fixes for NetBSD 1.5. NetBSD has been renumbering/renaming itsAndrew Cagney2-0/+22
SYS_* interfaces.
2001-03-052001-03-05 Dave Brolley <brolleyDave Brolley17-635/+413
arch.c: Regenerate. arch.h: Regenerate. cpu.c: Regenerate. cpu.h: Regenerate. cpuall.h: Regenerate. cpux.c: Regenerate. cpux.h: Regenerate. decode.c: Regenerate. decode.h: Regenerate. decodex.c: Regenerate. decodex.h: Regenerate. model.c: Regenerate. modelx.c: Regenerate. sem-switch.c: Regenerate. sem.c: Regenerate. semx-switch.c: Regenerate.
2001-03-052001-03-05 Dave Brolley <brolley@Dave Brolley11-580/+336
* arch.c: Regenerate. * 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.
2001-02-28Add support for disabling alignment checks when performing GDB interfaceNick Clifton8-44/+95
calls or SWI emulaiton routines. (Alignment checking code has not yet been contributed).
2001-02-242001-02-23 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+7
* sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Only define if not already defined elsewhere.
2001-02-222001-02-22 Ben Elliston <bje@redhat.com>Ben Elliston3-6/+35
* sim-trace.h (TRACE_VPU_IDX): Add. (TRACE_vpu): Define. (WITH_TRACE_VPU_P): Likewise. (TRACE_VPU_P): Likewise. * sim-trace.c (OPTION_TRACE_VPU): Define. (trace_options): Add --trace-vpu. (trace_option_handler): Handle OPTION_TRACE_VPU. (trace_option_handler): Include VPU tracing in --trace-semantics. (trace_idx_to_str): Handle TRACE_VPU_IDX.
2001-02-212001-02-21 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+20
* sim-trace.h (TRACE_BRANCH_INPUT1): New macro. (TRACE_BRANCH_INPUT2): Likewise.
2001-02-192001-02-19 Ben Elliston <bje@redhat.com>Ben Elliston3-7/+15
* sim-main.h (sim_monitor): Return an int. * interp.c (sim_monitor): Add return values. (signal_exception): Handle error conditions from sim_monitor.
2001-02-16Remove Prefetch abort for breakpoints. Instead set the state to RESUME.Nick Clifton2-12/+7
2001-02-152001-02-16 Ben Elliston <bje@redhat.com>Ben Elliston2-1/+6
* MAINTAINERS: Add myself for common portions.
2001-02-15* profiling bug fixes.Ben Elliston2-2/+17
2001-02-09 Ben Elliston <bje@redhat.com> * (profile_print_pc): Write header out in target byte order. 2001-02-09 Ben Elliston <bje@redhat.com> * sim-profile.c (profile_pc_init): Correct bug in loop logic when adjusting the pc shift value.
2001-02-15Add code to preserve processor mode when a prefetchNick Clifton2-0/+14
abort is signalled after processing a breakpoint.
2001-02-14Reset processor into ARM mode for any machine type except the early ARMs.Nick Clifton2-12/+20
2001-02-14remove spurious whitespaceNick Clifton1-6/+6
2001-02-14Prevent Aborts from happening whilst emulating a SWINick Clifton2-62/+83
2001-02-12Fix definition of NEGBRANCHNick Clifton2-1/+6
2001-02-082001-02-08 Ben Elliston <bje@redhat.com>Chris Demetriou2-34/+23
* sim-main.c (load_memory): Pass cia to sim_core_read* functions. (store_memory): Likewise, pass cia to sim_core_write*.
2001-02-07* i960-desc.c: Update all the A macro definitions to the newDJ Delorie2-6/+31
stdc-sensitive versions that cgen would have used.
2001-02-01Add parentheses ready for future conbtributionNick Clifton1-39/+63
2001-02-01Update base address register after restoring register bank.Nick Clifton2-26/+64
2001-02-01 * Makefile.in (gencode): Link with libopcodes in build tree ratherJonathan Larmour2-4/+7
than building source files from there.
2001-02-01Detect installation of SWI vector by running program as well as loading program.Nick Clifton5-7/+18
2001-01-30* interp.c (sim_create_inferior): Record program arguments forAlexandre Oliva3-5/+59
later inspection by the trap handler. (count_argc): New function. (prog_argv): Declare static. (sim_write): Declare. (trap): Implement argc, argnlen and argn system calls. Do not abort on unknown system calls--simply return -1. * syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define.
2001-01-24* interp.c (trap): Implement time.Alexandre Oliva2-0/+7
2001-01-15 * emul_netbsd.c (do_open): Translate the flag parameter to theGeoffrey Keating2-1/+24
open syscall to the numbers supported by the host.
2001-01-15 * MAINTAINERS: Added self and Andrew for the mips sim.Chris Demetriou2-0/+6
2001-01-15* Tidy.Ben Elliston1-2/+2
2001-01-12* configury fixFrank Ch. Eigler8-4/+21
[common/ChangeLog] 2001-01-12 Chris Demetriou <cgd@sibyte.com> * aclocal.m4 (SIM_AC_OPTION_SCACHE): Properly handle the case where a numeric value is supplied. [eg. m32r/ChangeLog] 2001-01-12 Frank Ch. Eigler <fche@redhat.com> * configure: Regenerated with sim_scache fix.
2001-01-052001-01-06 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+20
* cgen.sh: Allow extrafiles to include the semantics files when generating an ISA-specific decoder.
2000-12-27* Make-common.in (sim-io.o): Depend on targ-vals.h.Alexandre Oliva2-1/+5
2000-12-232000-12-23 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+20
* cgen-trace.c (trace_result): Handle 'f' type operands; output them to the trace stream using sim_fpu_printn_fpu. Include "sim-fpu.h".
2000-12-232000-12-15 Ben Elliston <bje@redhat.com>Ben Elliston3-31/+36
* sim-fpu.h (sim_fpu_printn_fpu): Declare. * sim-fpu.c (print_bits): Add digits parameter. Print only as many trailing digits as specified (-1 to print all digits). (sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu. (sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls to print_bits ().
2000-12-19Fix test for StoreDouble Instruction.Nick Clifton2-12/+17
2000-12-132000-12-13 Ben Elliston <bje@redhat.com>Ben Elliston2-24/+53
* cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor sed expressions into $sedscript, substituting @prefix@/@PREFIX@. (defs): New action.
2000-12-12In sim/common:Geoffrey Keating4-105/+117
* sim-endian.h: Don't have parameters on macro definitions which are simply renaming functions, to permit use of XCONCAT2 in both the macro name and the arguments in a use of such a definition. In sim/ppc: * sim-endian.h: Don't have parameters on macro definitions which are simply renaming functions, to permit use of XCONCAT2 in both the macro name and the arguments in a use of such a definition.
2000-12-112000-12-11 Ben Elliston <bje@redhat.com>Ben Elliston2-0/+13
* cgen-ops.h (SUBWORDDFDI): New function.
2000-12-11Add 0x91 as an FPE SWI.Nick Clifton2-0/+5
2000-12-082000-11-15 Jim Blandy <jimb@redhat.com>Michael Chastain2-24/+37
* sim_calls.c: Doc fix. (sim_fetch_register, sim_store_register): Call gdbarch_register_name directly, instead of going through REGISTER_NAME macro.
2000-12-08oops - remove redundant prototype introduced in previous deltaNick Clifton1-2/+0
2000-12-08Add emulation of double word load and store instructions.Nick Clifton2-3/+348
2000-12-052000-12-05 Ben Elliston <bje@redhat.com>Ben Elliston2-2/+10
* Make-common.in (cgen-defs): New target. (cgen-decode): Pass $(EXTRAFILES).
2000-12-052000-12-05 Ben Elliston <bje@redhat.com>Ben Elliston2-60/+84
* genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and -outfile-suffix options.
2000-12-042000-12-04 Ben Elliston <bje@redhat.com>Ben Elliston2-3/+16
* cgen-ops.h (SUBWORDSIQI): Mask off top bits. (SUBWORDSIUQI): Likewise. (SUBWORDDIHI): Likewise. (SUBWORDDIQI): New function.
2000-12-042000-12-04 Ben Elliston <bje@redhat.com>Ben Elliston3-6/+5
* cgen-trace.c (disassemble_insn): Remove unused declaration. * cgen-scache.c (scache_option_handler): Remove unused local var.