diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-11-01 18:49:48 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-21 00:00:01 -0500 |
commit | 06f4b7b6d11c87b6420a1afe495d66c55be46913 (patch) | |
tree | 4d97772eefa2b5b2baaa88b8345e87ce1032fb41 /sim/iq2000/cpu.h | |
parent | 811727abbd870ad86d21e537ba80ddeac8836167 (diff) | |
download | gdb-06f4b7b6d11c87b6420a1afe495d66c55be46913.zip gdb-06f4b7b6d11c87b6420a1afe495d66c55be46913.tar.gz gdb-06f4b7b6d11c87b6420a1afe495d66c55be46913.tar.bz2 |
sim: iq2000: invert sim_cpu storage
The cpu.h change is in generated cgen code, but that has been sent
upstream too, so the next regen should include it automatically.
Diffstat (limited to 'sim/iq2000/cpu.h')
-rw-r--r-- | sim/iq2000/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/iq2000/cpu.h b/sim/iq2000/cpu.h index a204eeb..0a9aa80 100644 --- a/sim/iq2000/cpu.h +++ b/sim/iq2000/cpu.h @@ -61,7 +61,7 @@ CPU (h_gr[(index)]) = (x);\ }\ ;} while (0) } hardware; -#define CPU_CGEN_HW(cpu) (& (cpu)->cpu_data.hardware) +#define CPU_CGEN_HW(cpu) (& IQ2000_SIM_CPU (cpu)->cpu_data.hardware) } IQ2000BF_CPU_DATA; /* Cover fns for register access. */ |