target/ppc: Put dbcr0 single-step bits into hflags
commit7da31f260d194d203c83712cfa7b2dfe605375fd
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 23 Mar 2021 18:43:34 +0000 (23 12:43 -0600)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 4 May 2021 01:41:24 +0000 (4 11:41 +1000)
tree3b9a4fc5b1c362fb0bdf0595eb99f61d5e9f6dce
parent26c55599b8c79887040c6910054a8c3f3f6f9147
target/ppc: Put dbcr0 single-step bits into hflags

Because these bits were not in hflags, the code generated
for single-stepping on BookE was essentially random.
Recompute hflags when storing to dbcr0.

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210323184340.619757-5-richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/helper_regs.c
target/ppc/misc_helper.c
target/ppc/translate.c