[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL 21/49] ppc: Fix single step with gdb stub
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PULL 21/49] ppc: Fix single step with gdb stub |
Date: |
Wed, 26 Oct 2016 22:42:25 +1100 |
From: Benjamin Herrenschmidt <address@hidden>
Signed-off-by: Benjamin Herrenschmidt <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
target-ppc/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 94989b2..43505a9 100644
--- 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);
--
2.7.4
- [Qemu-ppc] [PULL 00/49] ppc-for-2.8 queue 20161026, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 04/49] tests: don't check if qtest_spapr_boot() returns NULL, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 02/49] ppc/xics: Add xics to the monitor "info pic" command, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 03/49] tests: fix memory leak in virtio-scsi-test, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 09/49] spapr_pci: advertise explicit numa IDs even when there's 1 node, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 19/49] ppc: fix MSR_ME handling for system reset interrupt, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 10/49] nvram: Introduce helper functions for CHRP "system" and "free space" partitions, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 06/49] tests: rename target_big_endian() as qvirtio_is_big_endian(), David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 08/49] tests: enable virtio tests on SPAPR, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 21/49] ppc: Fix single step with gdb stub,
David Gibson <=
- [Qemu-ppc] [PULL 11/49] sparc: Use the new common NVRAM functions for system and free space partition, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 14/49] target-ppc: implement vnegw/d instructions, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 20/49] pseries: Remove unused callbacks from sPAPR VIO bus state, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 12/49] nvram: Move the remaining CHRP NVRAM related code to chrp_nvram.[ch], David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 07/49] tests: use qtest_pc_boot()/qtest_shutdown() in virtio tests, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 18/49] ppc/xics: change the icp_ routines API to use an 'ICPState *' argument, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 35/49] pseries: Make spapr_create_fdt_skel() get information from machine state, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 05/49] tests: move QVirtioBus pointer into QVirtioDevice, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 24/49] ppc/pnv: add a PnvChip object, David Gibson, 2016/10/26
- [Qemu-ppc] [PULL 33/49] pseries: Split device tree construction from device tree load, David Gibson, 2016/10/26