replace XZALLOC with XCNEW
[deliverable/binutils-gdb.git] / gdb / bsd-uthread.c
index 5757e770510834fa8984f193432520fe6cdb6849..af522fa4994026f6a0da703de7fdd9008ffa7d08 100644 (file)
@@ -518,7 +518,7 @@ bsd_uthread_pid_to_str (struct target_ops *ops, ptid_t ptid)
 static struct target_ops *
 bsd_uthread_target (void)
 {
-  struct target_ops *t = XZALLOC (struct target_ops);
+  struct target_ops *t = XCNEW (struct target_ops);
 
   t->to_shortname = "bsd-uthreads";
   t->to_longname = "BSD user-level threads";
This page took 0.025056 seconds and 4 git commands to generate.