OSDN Git Service

* alpha-tdep.c (alpha_extract_return_value): Don't use
authorAlexandre Oliva <aoliva@redhat.com>
Sun, 5 May 2002 18:49:57 +0000 (18:49 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 5 May 2002 18:49:57 +0000 (18:49 +0000)
non-constant array size in prototype.

gdb/ChangeLog
gdb/alpha-tdep.c

index 2e046ac..fb6af8e 100644 (file)
@@ -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>:
index 6f52097..f354036 100644 (file)
@@ -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,