* mn10300-tdep.c (mn10300_extract_return_value): Mark this as

static.  (This was accidentally omitted from the earlier patch.)
This commit is contained in:
Jim Blandy 2001-05-09 05:03:01 +00:00
parent 2343651077
commit c064f384c9
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2001-05-08 Jim Blandy <jimb@redhat.com>
* mn10300-tdep.c (mn10300_extract_return_value): Mark this as
static. (This was accidentally omitted from the earlier patch.)
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
(mn10300_gdbarch_init): Register it as the architecture's
dwarf2_reg_to_regnum method.

View File

@ -92,7 +92,7 @@ mn10300_saved_pc_after_call (struct frame_info *fi)
return read_memory_integer (read_register (SP_REGNUM), 4);
}
void
static void
mn10300_extract_return_value (struct type *type, char *regbuf, char *valbuf)
{
if (TYPE_CODE (type) == TYPE_CODE_PTR)