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 sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
armdefs.h sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
armemu.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
armemu.h
armemu32.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
armfpe.h
arminit.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
armos.c sim: nltvals: localize TARGET_<open> defines 2021-10-31 04:50:44 -04:00
armos.h
armsupp.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
armvirt.c sim: arm/bfin/rx: undefine page size from system headers 2021-11-06 20:40:20 -04:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
dbg_rdi.h
iwmmxt.c sim: constify various integer readers 2022-10-31 21:24:39 +05:45
iwmmxt.h sim: constify various integer readers 2022-10-31 21:24:39 +05:45
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 Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
maverick.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
README
sim-main.h sim: sim_cpu: invert sim_cpu storage 2022-12-20 23:57:38 -05:00
thumbemu.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
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