* serial.h (SERIAL_SET_TTY_STATE): Comment return value.
[deliverable/binutils-gdb.git] / gdb / altos-xdep.c
index 4156c331eb373d4674c000ff10fa20e0ab72247d..42848604ba219dcebc66148364f2ba2ed18c6162 100644 (file)
@@ -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.02289 seconds and 4 git commands to generate.