From 997b20b8cef7ea130b7d029ff0159d11db0695c0 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Sun, 5 May 2002 18:49:57 +0000 Subject: [PATCH] * alpha-tdep.c (alpha_extract_return_value): Don't use non-constant array size in prototype. --- gdb/ChangeLog | 5 +++++ gdb/alpha-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2e046ac1c70..fb6af8eabbb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-05-05 Alexandre Oliva + + * alpha-tdep.c (alpha_extract_return_value): Don't use + non-constant array size in prototype. + 2002-05-04 Andrew Cagney From Brian Taylor : diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c index 6f5209782fa..f354036dda4 100644 --- a/gdb/alpha-tdep.c +++ b/gdb/alpha-tdep.c @@ -1530,7 +1530,7 @@ alpha_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr) static void alpha_extract_return_value (struct type *valtype, - char regbuf[REGISTER_BYTES], char *valbuf) + char regbuf[ALPHA_REGISTER_BYTES], char *valbuf) { if (TYPE_CODE (valtype) == TYPE_CODE_FLT) alpha_register_convert_to_virtual (FP0_REGNUM, valtype, -- 2.30.2