aboutsummaryrefslogtreecommitdiff
path: root/gdb/umax-xdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/umax-xdep.c')
-rw-r--r--gdb/umax-xdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/umax-xdep.c b/gdb/umax-xdep.c
index 35bebf5..edcfee4 100644
--- a/gdb/umax-xdep.c
+++ b/gdb/umax-xdep.c
@@ -90,7 +90,7 @@ core_file_command (filename, from_tty)
stack_offset = data_offset + u.pt_dsize;
reg_offset = 0;
- bcopy (&u.pt_aouthdr, &core_aouthdr, sizeof (AOUTHDR));
+ memcpy (&core_aouthdr, &u.pt_aouthdr, sizeof (AOUTHDR));
printf ("Core file is from \"%s\".\n", u.pt_comm);
if (u.pt_signal > 0)
printf ("Program terminated with signal %d, %s.\n",