Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / rs6000-tdep.c
index 513ce6a34fcb404e2186def8562e4e0fa9ef86ca..2c41e1c858b491137c4c043ecae2674fa31d642f 100644 (file)
@@ -894,7 +894,8 @@ ppc_displaced_step_copy_insn (struct gdbarch *gdbarch,
       displaced_step_dump_bytes (gdb_stdlog, buf, len);
     }
 
-  return closure;
+  /* This is a work around for a problem with g++ 4.8.  */
+  return displaced_step_closure_up (closure.release ());
 }
 
 /* Fix up the state of registers and memory after having single-stepped
This page took 0.024241 seconds and 4 git commands to generate.