diff options
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r-- | gdb/xcoffread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index efa8e7d..28948d5 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -1942,7 +1942,7 @@ init_stringtab(abfd, offset, objfile) if (strtbl == NULL) return -1; - bcopy(&length, strtbl, sizeof length); + memcpy(strtbl, &length, sizeof length); if (length == sizeof length) return 0; |