aboutsummaryrefslogtreecommitdiff
path: root/target/openrisc/gdbstub.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2016-04-05 18:00:33 -0700
committerRichard Henderson <rth@twiddle.net>2017-02-14 08:15:00 +1100
commita01deb36a685365b4a3117112da3cc4f0f79e955 (patch)
tree5b5c12ab0b7d9437f55f4efb452d51f66f6f6337 /target/openrisc/gdbstub.c
parent24c328521b19aff2559118809ddf0522d6dfaaea (diff)
target/openrisc: Tidy handling of delayed branches
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/openrisc/gdbstub.c')
-rw-r--r--target/openrisc/gdbstub.c2
1 files changed, 1 insertions, 1 deletions
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;