Index: gdb/nacl-tdep.c |
diff --git a/gdb/nacl-tdep.c b/gdb/nacl-tdep.c |
index 6ac49c75b7078453736102c85a2c855b0b71cf66..e7a1a8f40aedf565619f8cf2c1850ab36d357a85 100644 |
--- a/gdb/nacl-tdep.c |
+++ b/gdb/nacl-tdep.c |
@@ -132,6 +132,7 @@ amd64_nacl_software_single_step (struct frame_info *frame) |
gdbarch = get_frame_arch (frame); |
pc = get_frame_register_unsigned (frame, gdbarch_pc_regnum (gdbarch)); |
+ pc = amd64_nacl_addr_bits_remove (gdbarch, pc); |
/* Check if next instruction is rsp sandboxing. If yes, assume current |
instruction is rsp modification. */ |