diff options
Diffstat (limited to 'gdb/mipsread.c')
-rw-r--r-- | gdb/mipsread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mipsread.c b/gdb/mipsread.c index 275627596c5..d1228ea237f 100644 --- a/gdb/mipsread.c +++ b/gdb/mipsread.c @@ -853,7 +853,7 @@ parse_symbol (sh, ax, ext_sh, bigend) /* Generate a template for the type of this function. The types of the arguments will be added as we read the symbol table. */ - bcopy (SYMBOL_TYPE (s), lookup_function_type (t), sizeof (struct type)); + memcpy (lookup_function_type (t), SYMBOL_TYPE (s), sizeof (struct type)); #else SYMBOL_TYPE (s) = lookup_function_type (t); #endif |