aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-05-05 18:49:57 +0000
committerAlexandre Oliva <aoliva@redhat.com>2002-05-05 18:49:57 +0000
commit997b20b8cef7ea130b7d029ff0159d11db0695c0 (patch)
tree705450514112d35bc12857e13c730a51845a6783 /gdb
parent535c96ce65ae40c2a0088d9b2cbcdbc4ef22fd90 (diff)
downloadgdb-997b20b8cef7ea130b7d029ff0159d11db0695c0.zip
gdb-997b20b8cef7ea130b7d029ff0159d11db0695c0.tar.gz
gdb-997b20b8cef7ea130b7d029ff0159d11db0695c0.tar.bz2
* alpha-tdep.c (alpha_extract_return_value): Don't use
non-constant array size in prototype.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/alpha-tdep.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2e046ac..fb6af8e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-05-05 Alexandre Oliva <aoliva@redhat.com>
+
+ * alpha-tdep.c (alpha_extract_return_value): Don't use
+ non-constant array size in prototype.
+
2002-05-04 Andrew Cagney <ac131313@redhat.com>
From Brian Taylor <briant at model dot com>:
diff --git a/gdb/alpha-tdep.c b/gdb/alpha-tdep.c
index 6f52097..f354036 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,