diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-05-09 05:03:01 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-05-09 05:03:01 +0000 |
commit | c064f384c9752d3906924c3e642853bc07647ca6 (patch) | |
tree | e40d531a06318931d640d5c141343d337ce979f9 /gdb | |
parent | 2343651077b403e5810808286218b7923965bd9f (diff) | |
download | gdb-c064f384c9752d3906924c3e642853bc07647ca6.zip gdb-c064f384c9752d3906924c3e642853bc07647ca6.tar.gz gdb-c064f384c9752d3906924c3e642853bc07647ca6.tar.bz2 |
* mn10300-tdep.c (mn10300_extract_return_value): Mark this as
static. (This was accidentally omitted from the earlier patch.)
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) |