Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / arm-linux-tdep.c
index 4772d822acd02cda42d0c290f818c81cb6c85a3b..b3ad8686e4852099bdcb4f508153b323a0eb5a45 100644 (file)
@@ -1100,8 +1100,7 @@ arm_linux_displaced_step_copy_insn (struct gdbarch *gdbarch,
                                    CORE_ADDR from, CORE_ADDR to,
                                    struct regcache *regs)
 {
-  struct displaced_step_closure *dsc
-    = xmalloc (sizeof (struct displaced_step_closure));
+  struct displaced_step_closure *dsc = XNEW (struct displaced_step_closure);
 
   /* Detect when we enter an (inaccessible by GDB) Linux kernel helper, and
      stop at the return location.  */
This page took 0.036902 seconds and 4 git commands to generate.