diff options
Diffstat (limited to 'gdb/m88k-tdep.c')
-rw-r--r-- | gdb/m88k-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m88k-tdep.c b/gdb/m88k-tdep.c index 63a545f..62f7f06 100644 --- a/gdb/m88k-tdep.c +++ b/gdb/m88k-tdep.c @@ -774,7 +774,7 @@ collect_returned_value (rval, value_type, struct_return, nargs, args) { char retbuf[REGISTER_BYTES]; - bcopy (registers, retbuf, REGISTER_BYTES); + memcpy (retbuf, registers, REGISTER_BYTES); *rval = value_being_returned (value_type, retbuf, struct_return); return; } |