diff options
author | Doug Evans <dje@google.com> | 1997-11-18 23:36:46 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1997-11-18 23:36:46 +0000 |
commit | d5d9a1e155df4a41f54bcdbcc3359628819be697 (patch) | |
tree | 78cb5035c980fac3b902d8bb6c7f28b73d7d04a9 /sim/tic80/sim-main.h | |
parent | 74f79ec566779bcecaca800f5cbb57d2dde926e3 (diff) | |
download | gdb-d5d9a1e155df4a41f54bcdbcc3359628819be697.zip gdb-d5d9a1e155df4a41f54bcdbcc3359628819be697.tar.gz gdb-d5d9a1e155df4a41f54bcdbcc3359628819be697.tar.bz2 |
* sim-main.h (CIA_ADDR): Define.
* Makefile.in (SIM_OBJS): Use $(SIM_NEW_COMMON_OBJS).
Diffstat (limited to 'sim/tic80/sim-main.h')
-rw-r--r-- | sim/tic80/sim-main.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/tic80/sim-main.h b/sim/tic80/sim-main.h index 8b4c930..228ad9a 100644 --- a/sim/tic80/sim-main.h +++ b/sim/tic80/sim-main.h @@ -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 |