* inftarg.c (child_thread_alive): New function to see if a
[deliverable/binutils-gdb.git] / gdb / sun386-nat.c
index 317bd8ab9bfddc75d085a8e83e323f243c73efc0..767fe7599f462dec065a77e308d2d46d74a9769b 100644 (file)
@@ -118,9 +118,9 @@ core_file_command (filename, from_tty)
        core_aouthdr.magic = corestr.c_aouthdr.a_info;
        core_aouthdr.vstamp = /*SUNVERSION*/ 31252;
 #endif
-       printf ("Core file is from \"%s\".\n", corestr.c_cmdname);
+       printf_unfiltered ("Core file is from \"%s\".\n", corestr.c_cmdname);
        if (corestr.c_signo > 0)
-         printf ("Program terminated with signal %d, %s.\n",
+         printf_unfiltered ("Program terminated with signal %d, %s.\n",
                  corestr.c_signo, safe_strsignal (corestr.c_signo));
       }
       if (filename[0] == '/')
@@ -130,14 +130,13 @@ core_file_command (filename, from_tty)
          corefile = concat (current_directory, "/", filename, NULL);
        }
 
-      set_current_frame ( create_new_frame (read_register (FP_REGNUM),
-                                           read_pc ()));
+      flush_cached_frames ();
       select_frame (get_current_frame (), 0);
 
       validate_files ();
     }
   else if (from_tty)
-    printf ("No core file now.\n");
+    printf_unfiltered ("No core file now.\n");
 }
 
 i387_to_double (from, to)
This page took 0.023493 seconds and 4 git commands to generate.