* inftarg.c (child_thread_alive): New function to see if a
[deliverable/binutils-gdb.git] / gdb / umax-xdep.c
index edcfee4941690b386066b3d580a5aa45328f8d73..800e8c068c84db4dbb9580c92154f20d31e6a772 100644 (file)
@@ -91,9 +91,9 @@ core_file_command (filename, from_tty)
        reg_offset = 0;
 
        memcpy (&core_aouthdr, &u.pt_aouthdr, sizeof (AOUTHDR));
-       printf ("Core file is from \"%s\".\n", u.pt_comm);
+       printf_unfiltered ("Core file is from \"%s\".\n", u.pt_comm);
        if (u.pt_signal > 0)
-         printf ("Program terminated with signal %d, %s.\n",
+         printf_unfiltered ("Program terminated with signal %d, %s.\n",
                  u.pt_signal, safe_strsignal (u.pt_signal));
 
        /* Read the register values out of the core file and store
@@ -124,11 +124,10 @@ 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");
 }
This page took 0.023318 seconds and 4 git commands to generate.