gdb: Fix incorrect variable name in scoped_switch_fork_info
[deliverable/binutils-gdb.git] / gdb / linux-fork.c
index 9bbf9c4a141074ed032281081df4173a3431bac7..96663a560e63f3c33577278f08213efc7fd61e8e 100644 (file)
@@ -481,7 +481,7 @@ public:
        CATCH (ex, RETURN_MASK_ALL)
          {
            warning (_("Couldn't restore checkpoint state in %s: %s"),
-                    target_pid_to_str (fp->ptid), ex.message);
+                    target_pid_to_str (m_oldfp->ptid), ex.message);
          }
        END_CATCH
       }
This page took 0.02413 seconds and 4 git commands to generate.