X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fgdbarch.c;h=f715dc435ab5540924972024002fe324803ae863;hb=18b28e13ac5189ca4f383969993f5b6a98184f4d;hp=ab9bf1f5f48523786ddea5bb6d7108d79275891b;hpb=b8bfbca548dc14482d3a2ed08315cdf0d16dfdc7;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdbarch.c b/gdb/gdbarch.c index ab9bf1f5f4..f715dc435a 100644 --- a/gdb/gdbarch.c +++ b/gdb/gdbarch.c @@ -3930,7 +3930,7 @@ gdbarch_displaced_step_copy_insn_p (struct gdbarch *gdbarch) return gdbarch->displaced_step_copy_insn != NULL; } -struct displaced_step_closure * +std::unique_ptr gdbarch_displaced_step_copy_insn (struct gdbarch *gdbarch, CORE_ADDR from, CORE_ADDR to, struct regcache *regs) { gdb_assert (gdbarch != NULL);