binutils-gdb/sim/arm
Mike Frysinger ffeb72b44c sim: sim_cpu: invert sim_cpu storage
Currently all ports have to declare sim_cpu themselves in their
sim-main.h and then embed the common sim_cpu_base in it.  This
dynamic makes it impossible to share common object code among
multiple ports because the core data structure is always different.

Let's invert this relationship: common code declares sim_cpu, and
the port uses the new arch_data field for its per-cpu state.

This is the first in a series of changes: it adds a define to select
between the old & new layouts, then converts all the ports that don't
need custom state over to the new layout.  This includes mn10300 that,
while it defines custom fields in its cpu struct, never uses them.
2022-12-20 23:57:38 -05:00
..
armcopro.c
armdefs.h
armemu32.c
armemu.c
armemu.h
armfpe.h
arminit.c
armos.c
armos.h
armsupp.c
armvirt.c
ChangeLog-2021
dbg_rdi.h
iwmmxt.c
iwmmxt.h
local.mk sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
Makefile.in sim: drop -lm from SIM_EXTRA_LIBS 2022-11-04 07:42:31 +07:00
maverick.c
maverick.h
README
sim-main.h sim: sim_cpu: invert sim_cpu storage 2022-12-20 23:57:38 -05:00
thumbemu.c
wrapper.c sim: move register headers into sim/ namespace [PR sim/29869] 2022-12-20 21:06:32 -05:00

This directory contains the standard release of the ARMulator from
Advanced RISC Machines, and was ftp'd from.

ftp.cl.cam.ac.uk:/arm/gnu

It likes to use TCP/IP between the simulator and the host, which is
nice, but is a pain to use under anything non-unix.

I've added created a new Makefile.in (the original in Makefile.orig)
to build a version of the simulator without the TCP/IP stuff, and a
wrapper.c to link directly into gdb and the run command.

It should be possible (barring major changes in the layout of
the armulator) to upgrade the simulator by copying all the files
out of a release into this directory and renaming the Makefile.

(Except that I changed armos.c to work more simply with our
simulator rigs)

Steve

sac@cygnus.com

Mon May 15 12:03:28 PDT 1995