* gdb.texinfo (Continuing and Stepping): When talking about "step"
[deliverable/binutils-gdb.git] / gdb / altos-xdep.c
index 243f35e2c736d367ec67c2642dfa7f8a01724309..42848604ba219dcebc66148364f2ba2ed18c6162 100644 (file)
@@ -80,7 +80,7 @@ core_file_command (filename, from_tty)
       make_cleanup (free, filename);
       
       if (have_inferior_p ())
-       error ("To look at a core file, you must kill the inferior with \"kill\".");
+       error ("To look at a core file, you must kill the program with \"kill\".");
       corechan = open (filename, O_RDONLY, 0);
       if (corechan < 0)
        perror_with_name (filename);
@@ -115,8 +115,8 @@ core_file_command (filename, from_tty)
        if (reg_offset > NBPG * UPAGES)
          reg_offset -= KERNEL_U_ADDR;
 
-       bcopy (&u.u_exdata, &core_aouthdr, sizeof (AOUTHDR));
-       printf ("Core file is from \"%s\".\n", u.u_comm);
+       memcpy (&core_aouthdr, &u.u_exdata, sizeof (AOUTHDR));
+       printf_unfiltered ("Core file is from \"%s\".\n", u.u_comm);
 
        /* I don't know where to find this info.
           So, for now, mark it as not available.  */
@@ -161,5 +161,5 @@ core_file_command (filename, from_tty)
       validate_files ();
     }
   else if (from_tty)
-    printf ("No core file now.\n");
+    printf_unfiltered ("No core file now.\n");
 }
This page took 0.024068 seconds and 4 git commands to generate.