Phase 1 of the ptid_t changes.
[deliverable/binutils-gdb.git] / gdb / blockframe.c
index 94ccb298d5d57039df388c9d808b720ecab14d8c..d35c24a9efb0bfaeed8666c7e4d5b6c1378abdee 100644 (file)
@@ -265,8 +265,8 @@ reinit_frame_cache (void)
 {
   flush_cached_frames ();
 
-  /* FIXME: The inferior_pid test is wrong if there is a corefile.  */
-  if (inferior_pid != 0)
+  /* FIXME: The inferior_ptid test is wrong if there is a corefile.  */
+  if (PIDGET (inferior_ptid) != 0)
     {
       select_frame (get_current_frame (), 0);
     }
This page took 0.025492 seconds and 4 git commands to generate.