Remove GCC-isms

This commit is contained in:
Michael Meissner 1998-01-14 23:13:56 +00:00
parent 4ef6f7f11f
commit f27bb101a5
3 changed files with 13 additions and 1 deletions

View File

@ -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> Tue Jan 13 16:38:48 1998 Fred Fish <fnf@cygnus.com>
* configure.in (--with-mmalloc): Add new configure arg to use the * configure.in (--with-mmalloc): Add new configure arg to use the

View File

@ -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 When it hits the breakpoint, clear the break point and pop the old
register contents off the stack. */ register contents off the stack. */
#define CALL_DUMMY { } #define CALL_DUMMY { 0 }
#define PUSH_DUMMY_FRAME #define PUSH_DUMMY_FRAME
#define CALL_DUMMY_START_OFFSET 0 #define CALL_DUMMY_START_OFFSET 0
#define CALL_DUMMY_LOCATION AT_ENTRY_POINT #define CALL_DUMMY_LOCATION AT_ENTRY_POINT

View File

@ -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, void d30v_frame_find_saved_regs PARAMS ((struct frame_info *fi,
struct frame_saved_regs *fsr)); 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_pop_dummy_frame PARAMS ((struct frame_info *fi));
static void d30v_print_flags PARAMS ((void)); static void d30v_print_flags PARAMS ((void));
static void print_flags_command PARAMS ((char *, int)); static void print_flags_command PARAMS ((char *, int));