Put GDB's terminal settings into effect when paginating
[deliverable/binutils-gdb.git] / gdb / opencl-lang.c
index f098b3f0e035e6799bcc33b2b8cc345d322a6ff2..2dd76fac36eeb4694e4611d3ba62595f99bf758d 100644 (file)
@@ -24,7 +24,6 @@
 #include "symtab.h"
 #include "expression.h"
 #include "parser-defs.h"
-#include "symtab.h"
 #include "language.h"
 #include "varobj.h"
 #include "c-lang.h"
@@ -157,11 +156,11 @@ struct lval_closure
 static struct lval_closure *
 allocate_lval_closure (int *indices, int n, struct value *val)
 {
-  struct lval_closure *c = XZALLOC (struct lval_closure);
+  struct lval_closure *c = XCNEW (struct lval_closure);
 
   c->refc = 1;
   c->n = n;
-  c->indices = XCALLOC (n, int);
+  c->indices = XCNEWVEC (int, n);
   memcpy (c->indices, indices, n * sizeof (int));
   value_incref (val); /* Increment the reference counter of the value.  */
   c->val = val;
This page took 0.02391 seconds and 4 git commands to generate.