From c064f384c9752d3906924c3e642853bc07647ca6 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 9 May 2001 05:03:01 +0000 Subject: [PATCH] * mn10300-tdep.c (mn10300_extract_return_value): Mark this as static. (This was accidentally omitted from the earlier patch.) --- gdb/ChangeLog | 3 +++ gdb/mn10300-tdep.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a200519a9d4..c2a2340bce9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2001-05-08 Jim Blandy + * 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 d0d710abe34..dd7674edc8d 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) -- 2.30.2