diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-05-13 13:57:49 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-05-13 13:57:49 +0000 |
commit | 8490235019dde8d3b838f3b7f6666ca0eca63911 (patch) | |
tree | b84b555e14da65824920dba1b9c9a5e2547ed049 /sim/tic80/alu.h | |
parent | 1a7f2a866ea638dce6bbac83a4f5fcd686f51795 (diff) | |
download | gdb-8490235019dde8d3b838f3b7f6666ca0eca63911.zip gdb-8490235019dde8d3b838f3b7f6666ca0eca63911.tar.gz gdb-8490235019dde8d3b838f3b7f6666ca0eca63911.tar.bz2 |
Remove ANNULed cycle - was confusing gdb.
Diffstat (limited to 'sim/tic80/alu.h')
-rw-r--r-- | sim/tic80/alu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/tic80/alu.h b/sim/tic80/alu.h index 4300723..3f13759 100644 --- a/sim/tic80/alu.h +++ b/sim/tic80/alu.h @@ -38,8 +38,8 @@ with this program; if not, write to the Free Software Foundation, Inc., /* Bring data in from the cold */ -#define IMEM(EA) \ -(sim_core_read_aligned_4(STATE_CPU (sd, 0), cia, sim_core_execute_map, (EA))) +#define IMEM(CIA) \ +(sim_core_read_aligned_4(STATE_CPU (sd, 0), CIA, sim_core_execute_map, (CIA).ip)) #define MEM(SIGN, EA, NR_BYTES) \ ((SIGN##_##NR_BYTES) sim_core_read_unaligned_##NR_BYTES (STATE_CPU (sd, 0), cia, \ |