From 0c8053b6bbb15fdc02be5c0ab6471d4c7a6c6757 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Mon, 11 Dec 2000 21:34:27 +0000 Subject: [PATCH] 2000-12-11 Michael Snyder * sh-tdep.c (sh_extract_struct_value_address): Protoize. 2000-12-11 Michael Snyder * blockframe.c (get_prev_frame): Add missing paren omitted in last check-in. --- gdb/ChangeLog | 9 +++++++++ gdb/blockframe.c | 2 +- gdb/sh-tdep.c | 3 +-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6def89e77ed..5bcc1e7dda6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2000-12-11 Michael Snyder + + * sh-tdep.c (sh_extract_struct_value_address): Protoize. + +2000-12-11 Michael Snyder + + * blockframe.c (get_prev_frame): Add missing paren omitted in + last check-in. + 2000-12-11 Fernando Nasser * Makefile.in (SUBDIR_GDBTK_OBS, SUBDIR_GDBTK_SRCS, diff --git a/gdb/blockframe.c b/gdb/blockframe.c index 730c651c0ab..b9008139344 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 b008409eba9..51a95b8a23e 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))); } -- 2.30.2