diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/mn10300-tdep.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a200519..c2a2340 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index d0d710a..dd7674e 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -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) |