replace XZALLOC with XCNEW
[deliverable/binutils-gdb.git] / gdb / cli / cli-dump.c
index 9e202b6eaf659d2c0d40dbd3fee89191f4e8d0ca..c3c220059bfa9a471c2c77f63fb887f0baa90f2a 100644 (file)
@@ -1,6 +1,6 @@
 /* Dump-to-file commands, for GDB, the GNU debugger.
 
-   Copyright (C) 2002-2013 Free Software Foundation, Inc.
+   Copyright (C) 2002-2014 Free Software Foundation, Inc.
 
    Contributed by Red Hat.
 
@@ -20,7 +20,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "gdb_string.h"
+#include <string.h>
 #include "cli/cli-decode.h"
 #include "cli/cli-cmds.h"
 #include "value.h"
@@ -34,8 +34,6 @@
 #include "gdb_bfd.h"
 #include "filestuff.h"
 
-#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))
-
 
 static char *
 scan_expression_with_cleanup (char **cmd, const char *def)
This page took 0.039377 seconds and 4 git commands to generate.