aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-12-11 21:34:27 +0000
committerMichael Snyder <msnyder@vmware.com>2000-12-11 21:34:27 +0000
commit0c8053b6bbb15fdc02be5c0ab6471d4c7a6c6757 (patch)
treeff6ed2b00d97edad7afcdc3abf5761774cb56303
parent4226a5a5186ebf70608a289aafdb88ceb3ac5090 (diff)
downloadgdb-0c8053b6bbb15fdc02be5c0ab6471d4c7a6c6757.zip
gdb-0c8053b6bbb15fdc02be5c0ab6471d4c7a6c6757.tar.gz
gdb-0c8053b6bbb15fdc02be5c0ab6471d4c7a6c6757.tar.bz2
2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
* sh-tdep.c (sh_extract_struct_value_address): Protoize. 2000-12-11 Michael Snyder <msnyder@mvstp600e.cygnus.com> * blockframe.c (get_prev_frame): Add missing paren omitted in last check-in.
-rw-r--r--gdb/ChangeLog9
-rw-r--r--gdb/blockframe.c2
-rw-r--r--gdb/sh-tdep.c3
3 files changed, 11 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6def89e..5bcc1e7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,12 @@
+2000-12-11 Michael Snyder <msnyder@cleaver.cygnus.com>
+
+ * sh-tdep.c (sh_extract_struct_value_address): Protoize.
+
+2000-12-11 Michael Snyder <msnyder@mvstp600e.cygnus.com>
+
+ * blockframe.c (get_prev_frame): Add missing paren omitted in
+ last check-in.
+
2000-12-11 Fernando Nasser <fnasser@redhat.com>
* Makefile.in (SUBDIR_GDBTK_OBS, SUBDIR_GDBTK_SRCS,
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 730c651..b900813 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -394,7 +394,7 @@ get_prev_frame (struct frame_info *next_frame)
sizeof (struct frame_info));
/* Zero all fields by default. */
- memset (prev, 0, sizeof (struct frame_info);
+ memset (prev, 0, sizeof (struct frame_info));
if (next_frame)
next_frame->prev = prev;
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index b008409..51a95b8 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -827,8 +827,7 @@ sh_init_extra_frame_info (int fromleaf, struct frame_info *fi)
the address in which a function should return its structure value,
as a CORE_ADDR (or an expression that can be used as one). */
static CORE_ADDR
-sh_extract_struct_value_address (regbuf)
- char *regbuf;
+sh_extract_struct_value_address (char *regbuf)
{
return (extract_address ((regbuf), REGISTER_RAW_SIZE (0)));
}