diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-08-10 01:09:11 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-08-10 01:09:11 +0000 |
commit | 119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9 (patch) | |
tree | 3bf037cf96a58b174f8f475e59fb6ad05d65f6fc /gdb | |
parent | ee0cf7cc8a2ec63b4369afbf4675edb577071bed (diff) | |
download | gdb-119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9.zip gdb-119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9.tar.gz gdb-119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9.tar.bz2 |
Oversights in previous checkin.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/config/mips/tm-mips.h | 5 | ||||
-rw-r--r-- | gdb/mips-tdep.c | 2 |
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)) |