gdb: Fix an infrun debug log message
[deliverable/binutils-gdb.git] / gdb / infrun.c
index 94a88c13d79375e0a5f0a74f58694d35cac67755..655681ff3601e062d6437db5739886c7e3412496 100644 (file)
@@ -3533,7 +3533,7 @@ do_target_wait (ptid_t ptid, struct target_waitstatus *status, int options)
            fprintf_unfiltered (gdb_stdlog,
                                "infrun: PC of %s changed.  was=%s, now=%s\n",
                                target_pid_to_str (tp->ptid),
-                               paddress (gdbarch, tp->prev_pc),
+                               paddress (gdbarch, tp->suspend.stop_pc),
                                paddress (gdbarch, pc));
          discard = 1;
        }
This page took 0.024092 seconds and 4 git commands to generate.