replace XZALLOC with XCNEW
[deliverable/binutils-gdb.git] / gdb / skip.c
index 5aadb73b0a90290d1d5347f9741aa974a171052f..64a0254ba37160fcede121bad5b165c4d639bb0b 100644 (file)
@@ -101,7 +101,7 @@ Ignore file pending future shared library load? ")))
       filename = arg;
     }
 
-  e = XZALLOC (struct skiplist_entry);
+  e = XCNEW (struct skiplist_entry);
   e->filename = xstrdup (filename);
   e->enabled = 1;
 
@@ -295,7 +295,7 @@ skip_delete_command (char *arg, int from_tty)
 static void
 skip_function (const char *name)
 {
-  struct skiplist_entry *e = XZALLOC (struct skiplist_entry);
+  struct skiplist_entry *e = XCNEW (struct skiplist_entry);
 
   e->enabled = 1;
   e->function_name = xstrdup (name);
This page took 0.025203 seconds and 4 git commands to generate.