* infcmd.c (post_create_inferior): Ignore NOT_AVAILABLE_ERROR
[deliverable/binutils-gdb.git] / gdb / printcmd.c
index 81360ada90cdbc83a966357329437a7c5e573f8b..f1ebb7e9e0121bc7b2290f1bfe6b6fb64b9eb3c0 100644 (file)
@@ -759,9 +759,7 @@ pc_prefix (CORE_ADDR addr)
       CORE_ADDR pc;
 
       frame = get_selected_frame (NULL);
-      pc = get_frame_pc (frame);
-
-      if (pc == addr)
+      if (get_frame_pc_if_available (frame, &pc) && pc == addr)
        return "=> ";
     }
   return "   ";
This page took 0.02686 seconds and 4 git commands to generate.