summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2008-10-06 17:23:31 +0000
committerMichael Snyder <msnyder@specifix.com>2008-10-06 17:23:31 +0000
commit9826041128a4ab29e685150aba1696c63f85f87d (patch)
treee76def38dfd6254e8a17f2ebfbad467391a3bab2
parent7561d52ad93b3b81eedd03ed4f7e51d772cb0f23 (diff)
downloadgdb-9826041128a4ab29e685150aba1696c63f85f87d.tar.gz
2008-10-05 Michael Snyder <msnyder@vmware.com>
* infrun.c (use_displaced_stepping): Disallow displaced stepping if using record/replay target.
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index dd038eafb7e..1f407b61ddc 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -645,7 +645,7 @@ use_displaced_stepping (struct gdbarch *gdbarch)
{
return (can_use_displaced_stepping
&& gdbarch_displaced_step_copy_insn_p (gdbarch)
- && !RECORD_IS_REPLAY);
+ && !RECORD_IS_USED);
}
/* Clean out any stray displaced stepping state. */