Plug target side conditions and commands leaks.
[deliverable/binutils-gdb.git] / gdb / vax-tdep.c
index f42a3981d9604d773d1937a0534373b380b96da6..e766f0056daca1d617ed4cc3bf1d3a26b04e9dd1 100644 (file)
@@ -1,7 +1,6 @@
 /* Target-dependent code for the VAX.
 
-   Copyright (C) 1986, 1989, 1991, 1992, 1995, 1996, 1998, 1999, 2000, 2002,
-   2003, 2004, 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
+   Copyright (C) 1986-2013 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -33,7 +32,7 @@
 #include "trad-frame.h"
 #include "value.h"
 
-#include "gdb_string.h"
+#include <string.h>
 
 #include "vax-tdep.h"
 
@@ -56,7 +55,7 @@ vax_register_name (struct gdbarch *gdbarch, int regnum)
 }
 
 /* Return the GDB type object for the "standard" data type of data in
-   register REGNUM. */
+   register REGNUM.  */
 
 static struct type *
 vax_register_type (struct gdbarch *gdbarch, int regnum)
@@ -204,7 +203,7 @@ vax_dummy_id (struct gdbarch *gdbarch, struct frame_info *this_frame)
 \f
 
 static enum return_value_convention
-vax_return_value (struct gdbarch *gdbarch, struct type *func_type,
+vax_return_value (struct gdbarch *gdbarch, struct value *function,
                  struct type *type, struct regcache *regcache,
                  gdb_byte *readbuf, const gdb_byte *writebuf)
 {
@@ -401,6 +400,7 @@ vax_frame_prev_register (struct frame_info *this_frame,
 static const struct frame_unwind vax_frame_unwind =
 {
   NORMAL_FRAME,
+  default_frame_unwind_stop_reason,
   vax_frame_this_id,
   vax_frame_prev_register,
   NULL,
This page took 0.02547 seconds and 4 git commands to generate.