target: add to_record_stop_replaying target method
[deliverable/binutils-gdb.git] / gdb / valops.c
index 26fdfa666f7f4c11e5815b164b72253d5249d757..173ef4e7bd12871281a9d149a82af1c31b5845ab 100644 (file)
@@ -3028,8 +3028,7 @@ find_oload_champ (struct value **args, int nargs,
          else
            nparms = TYPE_NFIELDS (SYMBOL_TYPE (oload_syms[ix]));
 
-         parm_types = (struct type **)
-           xmalloc (nparms * (sizeof (struct type *)));
+         parm_types = XNEWVEC (struct type *, nparms);
          for (jj = 0; jj < nparms; jj++)
            parm_types[jj] = (fns_ptr != NULL
                              ? (TYPE_FN_FIELD_ARGS (fns_ptr, ix)[jj].type)
This page took 0.025043 seconds and 4 git commands to generate.