* gdb.guile/guile.exp (guile not supported): Verify multi-line
[deliverable/binutils-gdb.git] / gdb / user-regs.c
index 2541aa701134191e5eec185877ee0064de073d65..db0cac8e6916d10b99fa9f2c73ecd9326e591fad 100644 (file)
@@ -1,6 +1,6 @@
 /* User visible, per-frame registers, for GDB, the GNU debugger.
 
-   Copyright (C) 2002-2004, 2007-2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2014 Free Software Foundation, Inc.
 
    Contributed by Red Hat.
 
@@ -22,7 +22,7 @@
 #include "defs.h"
 #include "user-regs.h"
 #include "gdbtypes.h"
-#include "gdb_string.h"
+#include <string.h>
 #include "gdb_assert.h"
 #include "frame.h"
 
@@ -85,7 +85,7 @@ user_reg_add_builtin (const char *name, user_reg_read_ftype *read,
                      const void *baton)
 {
   append_user_reg (&builtin_user_regs, name, read, baton,
-                  XMALLOC (struct user_reg));
+                  XNEW (struct user_reg));
 }
 
 /* Per-architecture user registers.  Start with the builtin user
This page took 0.028098 seconds and 4 git commands to generate.