From 119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Sat, 10 Aug 2002 01:09:11 +0000 Subject: [PATCH] Oversights in previous checkin. --- gdb/config/mips/tm-mips.h | 5 ----- gdb/mips-tdep.c | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h index 11aba8403b6..500207214c7 100644 --- a/gdb/config/mips/tm-mips.h +++ b/gdb/config/mips/tm-mips.h @@ -312,11 +312,6 @@ extern int mips_frame_num_args (struct frame_info *); function calls. We don't need STACK_ALIGN, PUSH_ARGUMENTS will handle it. */ -extern CORE_ADDR mips_push_arguments (int, struct value **, CORE_ADDR, int, - CORE_ADDR); -#define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) \ - (mips_push_arguments((nargs), (args), (sp), (struct_return), (struct_addr))) - extern CORE_ADDR mips_push_return_address (CORE_ADDR pc, CORE_ADDR sp); #define PUSH_RETURN_ADDRESS(PC, SP) (mips_push_return_address ((PC), (SP))) diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index c57a03b2609..421b45f42c5 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -3298,7 +3298,7 @@ mips_read_fp_register_double (int regno, char *rare_buffer) static void mips_print_register (int regnum, int all) { - char *raw_buffer (MAX_REGISTER_RAW_SIZE); + char *raw_buffer = alloca (MAX_REGISTER_RAW_SIZE); /* Get the data in raw format. */ if (!frame_register_read (selected_frame, regnum, raw_buffer)) -- 2.30.2