diff options
author | Michael Snyder <msnyder@vmware.com> | 2000-12-11 21:04:04 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2000-12-11 21:04:04 +0000 |
commit | b3df3fffb82c92e199743c96cb21e02ee1b60ab2 (patch) | |
tree | 8f64ab5dff333578f313d30c640c19e64ddf1ca5 /gdb | |
parent | 486697a0b352f0a659ccecd18de64d83a8df5078 (diff) | |
download | gdb-b3df3fffb82c92e199743c96cb21e02ee1b60ab2.zip gdb-b3df3fffb82c92e199743c96cb21e02ee1b60ab2.tar.gz gdb-b3df3fffb82c92e199743c96cb21e02ee1b60ab2.tar.bz2 |
2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
* sh-tdep.c (sh_extract_struct_value_address): For consistancy,
change decl from "CORE_ADDR static" to "static CORE_ADDR".
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/sh-tdep.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8e8c12c..5cd0fb9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com> + + * sh-tdep.c (sh_extract_struct_value_address): For consistancy, + change decl from "CORE_ADDR static" to "static CORE_ADDR". + 2000-12-11 Fernando Nasser <fnasser@redhat.com> * configure.in: Fix typos. It is CONFIG_SRCS not CONFIG_SRS. diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index bf10c6c..b008409 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -826,8 +826,8 @@ sh_init_extra_frame_info (int fromleaf, struct frame_info *fi) /* Extract from an array REGBUF containing the (raw) register state the address in which a function should return its structure value, as a CORE_ADDR (or an expression that can be used as one). */ -CORE_ADDR -static sh_extract_struct_value_address (regbuf) +static CORE_ADDR +sh_extract_struct_value_address (regbuf) char *regbuf; { return (extract_address ((regbuf), REGISTER_RAW_SIZE (0))); |