* linux-nat.c (enum sigchld_state): Delete.
[deliverable/binutils-gdb.git] / gdb / record.c
index 40cc1745a9cb8ad7dedeed5bc6f1aef96a4d5582..df59550b86f5cf51bc0d00bd5685ba329593c5a9 100644 (file)
@@ -608,7 +608,7 @@ record_wait (struct target_ops *ops,
                {
                  /* Check if there is a breakpoint.  */
                  registers_changed ();
-                 tmp_pc = read_pc ();
+                 tmp_pc = regcache_read_pc (get_current_regcache ());
                  if (breakpoint_inserted_here_p (tmp_pc))
                    {
                      /* There is a breakpoint.  */
This page took 0.02634 seconds and 4 git commands to generate.