aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
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/mips-tdep.c
parentee0cf7cc8a2ec63b4369afbf4675edb577071bed (diff)
downloadgdb-119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9.zip
gdb-119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9.tar.gz
gdb-119d55d8e40fb1ccbd7a92e8c4cd05de0ea2c0c9.tar.bz2
Oversights in previous checkin.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c2
1 files changed, 1 insertions, 1 deletions
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))