summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2002-08-10 01:09:11 +0000
committerMichael Snyder <msnyder@specifix.com>2002-08-10 01:09:11 +0000
commit59c813c0c84a2b77d3c60ee8e697b5a9df3a8fa6 (patch)
treebb96c6fcbe19434f3ec7ecc1d0bdbee1def4f2c4
parenteceefdd012ea0c362dd4e446d0e33b6668c4de56 (diff)
downloadgdb-59c813c0c84a2b77d3c60ee8e697b5a9df3a8fa6.tar.gz
Oversights in previous checkin.
-rw-r--r--gdb/config/mips/tm-mips.h5
-rw-r--r--gdb/mips-tdep.c2
2 files changed, 1 insertions, 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))