* sim-main.h (CIA_ADDR): Define.

* Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
This commit is contained in:
Doug Evans
1997-11-18 23:36:46 +00:00
parent 74f79ec566
commit d5d9a1e155
3 changed files with 12 additions and 14 deletions

View File

@@ -40,6 +40,9 @@
typedef instruction_address sim_cia;
static const sim_cia null_cia = {0}; /* Dummy */
#define NULL_CIA null_cia
/* FIXME: Perhaps igen should generate access macros for
`instruction_address' that we could use. */
#define CIA_ADDR(cia) ((cia).ip)
#define WITH_WATCHPOINTS 1