ld -plugin options when plugins are disabled
[deliverable/binutils-gdb.git] / gdb / arm-linux-tdep.c
index ccb556babb087c03207488fb1a8c457da5b8d43f..f60cb51763f1c5b14811494b646acf54b62d1f10 100644 (file)
@@ -1131,7 +1131,8 @@ arm_linux_displaced_step_copy_insn (struct gdbarch *gdbarch,
 
   arm_displaced_init_closure (gdbarch, from, to, dsc.get ());
 
-  return dsc;
+  /* This is a work around for a problem with g++ 4.8.  */
+  return displaced_step_closure_up (dsc.release ());
 }
 
 /* Implementation of `gdbarch_stap_is_single_operand', as defined in
This page took 0.023407 seconds and 4 git commands to generate.