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 | aad49b0a560544598d1cb3fbfdbc27dca2c0246c (patch) | |
tree | 01a0c760eb184319280a9e54400ee87fb8da62c9 /gdb | |
parent | cb73b656feb7dd235c186e8440e7e91b18f207a5 (diff) | |
download | gdb-aad49b0a560544598d1cb3fbfdbc27dca2c0246c.tar.gz |
* 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 a200519a9d4..c2a2340bce9 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 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) |