aboutsummaryrefslogtreecommitdiff
path: root/sim/lm32/model.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/lm32/model.c')
-rw-r--r--sim/lm32/model.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/lm32/model.c b/sim/lm32/model.c
index 7b30c93..931bb48 100644
--- a/sim/lm32/model.c
+++ b/sim/lm32/model.c
@@ -997,7 +997,7 @@ model_lm32_xnori (SIM_CPU *current_cpu, void *sem_arg)
static int
model_lm32_break (SIM_CPU *current_cpu, void *sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
const IDESC * UNUSED idesc = abuf->idesc;
int cycles = 0;
@@ -1013,7 +1013,7 @@ model_lm32_break (SIM_CPU *current_cpu, void *sem_arg)
static int
model_lm32_scall (SIM_CPU *current_cpu, void *sem_arg)
{
-#define FLD(f) abuf->fields.fmt_empty.f
+#define FLD(f) abuf->fields.sfmt_empty.f
const ARGBUF * UNUSED abuf = SEM_ARGBUF ((SEM_ARG) sem_arg);
const IDESC * UNUSED idesc = abuf->idesc;
int cycles = 0;