projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e763da2
)
ppc: Fix single step with gdb stub
author
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Sat, 6 Aug 2016 00:11:49 +0000
(10:11 +1000)
committer
David Gibson
<david@gibson.dropbear.id.au>
Thu, 27 Oct 2016 22:36:58 +0000
(09:36 +1100)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/translate.c
patch
|
blob
|
history
diff --git
a/target-ppc/translate.c
b/target-ppc/translate.c
index 94989b2abddaee4175cb0256fb673a9ef1660f9d..43505a936c14688c0604c692118982a3e05f6015 100644
(file)
--- a/
target-ppc/translate.c
+++ b/
target-ppc/translate.c
@@
-322,7
+322,7
@@
static void gen_debug_exception(DisasContext *ctx)
*/
if ((ctx->exception != POWERPC_EXCP_BRANCH) &&
(ctx->exception != POWERPC_EXCP_SYNC)) {
- gen_update_nip(ctx, ctx->nip
- 4
);
+ gen_update_nip(ctx, ctx->nip);
}
t0 = tcg_const_i32(EXCP_DEBUG);
gen_helper_raise_exception(cpu_env, t0);