diff options
author | Michael Meissner <gnu@the-meissners.org> | 1998-01-14 23:13:56 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1998-01-14 23:13:56 +0000 |
commit | f27bb101a59e704fc2e6d6984d622d750537a7dc (patch) | |
tree | 6cb75be2de35de0d231eea98844bacac9bb714f3 | |
parent | 4ef6f7f11f8dff37796b3262f8e19ea6cd349839 (diff) | |
download | gdb-f27bb101a59e704fc2e6d6984d622d750537a7dc.zip gdb-f27bb101a59e704fc2e6d6984d622d750537a7dc.tar.gz gdb-f27bb101a59e704fc2e6d6984d622d750537a7dc.tar.bz2 |
Remove GCC-isms
-rw-r--r-- | gdb/ChangeLog | 10 | ||||
-rw-r--r-- | gdb/config/d30v/tm-d30v.h | 2 | ||||
-rw-r--r-- | gdb/d30v-tdep.c | 2 |
3 files changed, 13 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a782655..83b4e1f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +start-sanitize-d30v +Wed Jan 14 18:11:26 1998 Michael Meissner <meissner@cygnus.com> + + Patch from Jim Wilson. + * d30v-tdep.c (d30v_frame_find_saved_regs_offsets): Properly + declare void function before use. + + * config/d30v/tm-d30v.h (CALL_DUMMY): Initialize as { 0 }, not {}. + +end-sanitize-d30v Tue Jan 13 16:38:48 1998 Fred Fish <fnf@cygnus.com> * configure.in (--with-mmalloc): Add new configure arg to use the diff --git a/gdb/config/d30v/tm-d30v.h b/gdb/config/d30v/tm-d30v.h index 01aee67..bd15ef5 100644 --- a/gdb/config/d30v/tm-d30v.h +++ b/gdb/config/d30v/tm-d30v.h @@ -270,7 +270,7 @@ extern void d30v_frame_find_saved_regs PARAMS ((struct frame_info *, struct fram When it hits the breakpoint, clear the break point and pop the old register contents off the stack. */ -#define CALL_DUMMY { } +#define CALL_DUMMY { 0 } #define PUSH_DUMMY_FRAME #define CALL_DUMMY_START_OFFSET 0 #define CALL_DUMMY_LOCATION AT_ENTRY_POINT diff --git a/gdb/d30v-tdep.c b/gdb/d30v-tdep.c index cca76d2..1add1db 100644 --- a/gdb/d30v-tdep.c +++ b/gdb/d30v-tdep.c @@ -35,6 +35,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ void d30v_frame_find_saved_regs PARAMS ((struct frame_info *fi, struct frame_saved_regs *fsr)); +void d30v_frame_find_saved_regs_offsets PARAMS ((struct frame_info *fi, + struct frame_saved_regs *fsr)); static void d30v_pop_dummy_frame PARAMS ((struct frame_info *fi)); static void d30v_print_flags PARAMS ((void)); static void print_flags_command PARAMS ((char *, int)); |