btrace: temporarily set inferior_ptid in record_btrace_start_replaying
[deliverable/binutils-gdb.git] / gdb / ax-general.c
index 485b2ad10307469c1c454b9298c2402f30713318..8dbe5729c019e30cfced004cc783dd5456d73a69 100644 (file)
@@ -41,7 +41,7 @@ static void generic_ext (struct agent_expr *x, enum agent_op op, int n);
 struct agent_expr *
 new_agent_expr (struct gdbarch *gdbarch, CORE_ADDR scope)
 {
-  struct agent_expr *x = xmalloc (sizeof (*x));
+  struct agent_expr *x = XNEW (struct agent_expr);
 
   x->len = 0;
   x->size = 1;                 /* Change this to a larger value once
This page took 0.024046 seconds and 4 git commands to generate.