Nick Clifton
3cf84db9ef
Do not enable alignment checking when loading unaligned thumb instructions.
26 years ago
Frank Ch. Eigler
764f1408a3
* mmap support for common simulators
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.
26 years ago
Frank Ch. Eigler
35c209920b
* tweak
2001-03-15 Frank Ch. Eigler <fche@redhat.com>
* sim-core.c (sim_core_map_attach): Correct overlap-related
error messages.
26 years ago
Andrew Cagney
1e6cd1593b
Link with libintl, needed by libopcodes.
26 years ago
Michael Meissner
f6bb7a3bb0
Remove reference to alloca-conf.h
26 years ago
Nick Clifton
4f3c3dbb37
Fix BLX(1) for Thumb
26 years ago
Andrew Cagney
c663138840
Fixes for NetBSD 1.5. NetBSD has been renumbering/renaming its
SYS_* interfaces.
26 years ago
Dave Brolley
55552082e8
2001-03-05 Dave Brolley <brolley
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.
26 years ago
Dave Brolley
52fa932eab
2001-03-05 Dave Brolley <brolley@
* 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.
26 years ago
Nick Clifton
917bca4f21
Add support for disabling alignment checks when performing GDB interface
calls or SWI emulaiton routines. (Alignment checking code has not yet been
contributed).
26 years ago
Ben Elliston
fb891446b7
2001-02-23 Ben Elliston <bje@redhat.com>
* sim-main.h (ENGINE_ISSUE_PREFIX_HOOK): Only define if not
already defined elsewhere.
26 years ago
Ben Elliston
01816cd804
2001-02-22 Ben Elliston <bje@redhat.com>
* 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.
26 years ago
Ben Elliston
44a9331cdf
2001-02-21 Ben Elliston <bje@redhat.com>
* sim-trace.h (TRACE_BRANCH_INPUT1): New macro.
(TRACE_BRANCH_INPUT2): Likewise.
26 years ago
Ben Elliston
8030f85769
2001-02-19 Ben Elliston <bje@redhat.com>
* sim-main.h (sim_monitor): Return an int.
* interp.c (sim_monitor): Add return values.
(signal_exception): Handle error conditions from sim_monitor.
26 years ago
Nick Clifton
2ef048fc9f
Remove Prefetch abort for breakpoints. Instead set the state to RESUME.
26 years ago
Ben Elliston
9afc4bbfbb
2001-02-16 Ben Elliston <bje@redhat.com>
* MAINTAINERS: Add myself for common portions.
26 years ago
Ben Elliston
c43ad8eb1e
* profiling bug fixes.
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.
26 years ago
Nick Clifton
44e23e575b
Add code to preserve processor mode when a prefetch
abort is signalled after processing a breakpoint.
26 years ago
Nick Clifton
5f7d0a33db
Reset processor into ARM mode for any machine type except the early ARMs.
26 years ago
Nick Clifton
94ab9d7b9e
remove spurious whitespace
26 years ago
Nick Clifton
1e5d4e465c
Prevent Aborts from happening whilst emulating a SWI
26 years ago
Nick Clifton
179ae6ea64
Fix definition of NEGBRANCH
26 years ago
Chris Demetriou
56b48a7a9b
2001-02-08 Ben Elliston <bje@redhat.com>
* sim-main.c (load_memory): Pass cia to sim_core_read* functions.
(store_memory): Likewise, pass cia to sim_core_write*.
26 years ago
DJ Delorie
ddcd33c11d
* i960-desc.c: Update all the A macro definitions to the new
stdc-sensitive versions that cgen would have used.
26 years ago
Nick Clifton
fae0bf59e6
Add parentheses ready for future conbtribution
26 years ago
Nick Clifton
dda308f5fd
Update base address register after restoring register bank.
26 years ago
Jonathan Larmour
42acc51e30
* Makefile.in (gencode): Link with libopcodes in build tree rather
26 years ago
Nick Clifton
88694af3f9
Detect installation of SWI vector by running program as well as loading program.
26 years ago
Alexandre Oliva
de0492b6fb
* interp.c (sim_create_inferior): Record program arguments for
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.
26 years ago
Alexandre Oliva
554064594b
* interp.c (trap): Implement time.
26 years ago
Geoffrey Keating
428e1889bc
* emul_netbsd.c (do_open): Translate the flag parameter to the
open syscall to the numbers supported by the host.
26 years ago
Chris Demetriou
0b8c7076b5
* MAINTAINERS: Added self and Andrew for the mips sim.
26 years ago
Ben Elliston
badd2b1e70
* Tidy.
26 years ago
Frank Ch. Eigler
9397fcbf1c
* configury fix
[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.
26 years ago
Ben Elliston
63fe103861
2001-01-06 Ben Elliston <bje@redhat.com>
* cgen.sh: Allow extrafiles to include the semantics files when
generating an ISA-specific decoder.
26 years ago
Alexandre Oliva
b6f6b44d62
* Make-common.in (sim-io.o): Depend on targ-vals.h.
26 years ago
Ben Elliston
ad8707b58d
2000-12-23 Ben Elliston <bje@redhat.com>
* cgen-trace.c (trace_result): Handle 'f' type operands; output
them to the trace stream using sim_fpu_printn_fpu. Include
"sim-fpu.h".
26 years ago
Ben Elliston
b94c096644
2000-12-15 Ben Elliston <bje@redhat.com>
* 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 ().
26 years ago
Nick Clifton
ac1c9d3aad
Fix test for StoreDouble Instruction.
26 years ago
Ben Elliston
fd5d712edf
2000-12-13 Ben Elliston <bje@redhat.com>
* cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor
sed expressions into $sedscript, substituting @prefix@/@PREFIX@.
(defs): New action.
26 years ago
Geoffrey Keating
4c15ccf7af
In sim/common:
* 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.
26 years ago
Ben Elliston
0d277f51d0
2000-12-11 Ben Elliston <bje@redhat.com>
* cgen-ops.h (SUBWORDDFDI): New function.
26 years ago
Nick Clifton
9a6b6a66b7
Add 0x91 as an FPE SWI.
26 years ago
Michael Chastain
7c721b2a2a
2000-11-15 Jim Blandy <jimb@redhat.com>
* sim_calls.c: Doc fix.
(sim_fetch_register, sim_store_register): Call
gdbarch_register_name directly, instead of going through
REGISTER_NAME macro.
26 years ago
Nick Clifton
df38a86eec
oops - remove redundant prototype introduced in previous delta
26 years ago
Nick Clifton
760a7bbec5
Add emulation of double word load and store instructions.
26 years ago
Ben Elliston
c79688eb6e
2000-12-05 Ben Elliston <bje@redhat.com>
* Make-common.in (cgen-defs): New target.
(cgen-decode): Pass $(EXTRAFILES).
26 years ago
Ben Elliston
bb4e03e555
2000-12-05 Ben Elliston <bje@redhat.com>
* genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and
-outfile-suffix options.
26 years ago
Ben Elliston
6227bc851d
2000-12-04 Ben Elliston <bje@redhat.com>
* cgen-ops.h (SUBWORDSIQI): Mask off top bits.
(SUBWORDSIUQI): Likewise.
(SUBWORDDIHI): Likewise.
(SUBWORDDIQI): New function.
26 years ago
Ben Elliston
76440e4ba0
2000-12-04 Ben Elliston <bje@redhat.com>
* cgen-trace.c (disassemble_insn): Remove unused declaration.
* cgen-scache.c (scache_option_handler): Remove unused local var.
26 years ago