aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-08-10 01:09:11 +0000
committerMichael Snyder <msnyder@vmware.com>2002-08-10 01:09:11 +0000
commit119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9 (patch)
tree3bf037cf96a58b174f8f475e59fb6ad05d65f6fc /gdb
parentee0cf7cc8a2ec63b4369afbf4675edb577071bed (diff)
downloadfsf-binutils-gdb-119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9.zip
fsf-binutils-gdb-119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9.tar.gz
fsf-binutils-gdb-119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9.tar.bz2
Oversights in previous checkin.
Diffstat (limited to 'gdb')
-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 11aba84..5002072 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 c57a03b..421b45f 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))