aboutsummaryrefslogtreecommitdiff
path: root/gdb/altos-xdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/altos-xdep.c')
-rw-r--r--gdb/altos-xdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/altos-xdep.c b/gdb/altos-xdep.c
index 4156c33..ce2a5a7 100644
--- a/gdb/altos-xdep.c
+++ b/gdb/altos-xdep.c
@@ -115,7 +115,7 @@ core_file_command (filename, from_tty)
if (reg_offset > NBPG * UPAGES)
reg_offset -= KERNEL_U_ADDR;
- bcopy (&u.u_exdata, &core_aouthdr, sizeof (AOUTHDR));
+ memcpy (&core_aouthdr, &u.u_exdata, sizeof (AOUTHDR));
printf ("Core file is from \"%s\".\n", u.u_comm);
/* I don't know where to find this info.