From a01deb36a685365b4a3117112da3cc4f0f79e955 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 5 Apr 2016 18:00:33 -0700 Subject: target/openrisc: Tidy handling of delayed branches Signed-off-by: Richard Henderson --- target/openrisc/gdbstub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/openrisc/gdbstub.c') diff --git a/target/openrisc/gdbstub.c b/target/openrisc/gdbstub.c index 2a4821fe9b..b18c7e9f05 100644 --- a/target/openrisc/gdbstub.c +++ b/target/openrisc/gdbstub.c @@ -73,7 +73,7 @@ int openrisc_cpu_gdb_write_register(CPUState *cs, uint8_t *mem_buf, int n) also clear delayed branch status. */ if (env->pc != tmp) { env->pc = tmp; - env->flags = 0; + env->dflag = 0; } break; -- cgit 1.4.1