mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-05 12:53:16 +08:00
383861bd08
Currently all ports have to declare sim_state themselves in their sim-main.h and then embed the common sim_state_base & sim_cpu 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_state, and if the port actually needs state on a per-instance basis, it can use the new arch_data field for it. Most ports don't actually use it, so they don't need to declare anything at all. 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. |
||
---|---|---|
.. | ||
aclocal.m4 | ||
armcopro.c | ||
armdefs.h | ||
armemu32.c | ||
armemu.c | ||
armemu.h | ||
armfpe.h | ||
arminit.c | ||
armos.c | ||
armos.h | ||
armsupp.c | ||
armvirt.c | ||
ChangeLog | ||
config.in | ||
configure | ||
configure.ac | ||
COPYING | ||
dbg_rdi.h | ||
iwmmxt.c | ||
iwmmxt.h | ||
Makefile.in | ||
maverick.c | ||
maverick.h | ||
README | ||
sim-main.h | ||
thumbemu.c | ||
wrapper.c |
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