* i386gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
[deliverable/binutils-gdb.git] / gdb / alpha-tdep.c
index 132dec73e45d80f1c5a4994d706a52ed552c41c0..571c3d6257575f1925f27c24ec5c9512abcb8e84 100644 (file)
@@ -29,6 +29,7 @@
 #include "symfile.h"
 #include "objfiles.h"
 #include "gdb_string.h"
+#include "linespec.h"
 
 /* FIXME: Some of this code should perhaps be merged with mips-tdep.c.  */
 
@@ -1153,7 +1154,7 @@ alpha_pop_frame (void)
       else
        linked_proc_desc_table = pi_ptr->next;
 
-      free (pi_ptr);
+      xfree (pi_ptr);
     }
 }
 \f
@@ -1163,8 +1164,8 @@ alpha_pop_frame (void)
    LENIENT, then we must skip everything which is involved in setting
    up the frame (it's OK to skip more, just so long as we don't skip
    anything which might clobber the registers which are being saved.
-   Currently we must not skip more on the alpha, but we might the lenient
-   stuff some day.  */
+   Currently we must not skip more on the alpha, but we might need the
+   lenient stuff some day.  */
 
 CORE_ADDR
 alpha_skip_prologue (CORE_ADDR pc, int lenient)
@@ -1316,10 +1317,8 @@ alpha_register_convert_to_raw (struct type *valtype, int regnum,
    extract and copy its value into `valbuf'.  */
 
 void
-alpha_extract_return_value (valtype, regbuf, valbuf)
-     struct type *valtype;
-     char regbuf[REGISTER_BYTES];
-     char *valbuf;
+alpha_extract_return_value (struct type *valtype,
+                           char regbuf[REGISTER_BYTES], char *valbuf)
 {
   if (TYPE_CODE (valtype) == TYPE_CODE_FLT)
     alpha_register_convert_to_virtual (FP0_REGNUM, valtype,
This page took 0.024499 seconds and 4 git commands to generate.