X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Famd64-tdep.h;h=c218a50e1e8c4c442480ce28647de2cccd8b445d;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=4c6d13222216fec60bae54cdd01f88f547f73b6a;hpb=b811d2c2920ddcb1adcd438da38e90912b31f45f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/amd64-tdep.h b/gdb/amd64-tdep.h index 4c6d132222..c218a50e1e 100644 --- a/gdb/amd64-tdep.h +++ b/gdb/amd64-tdep.h @@ -26,6 +26,7 @@ struct frame_info; struct regcache; #include "i386-tdep.h" +#include "infrun.h" /* Register numbers of various important registers. */ @@ -87,11 +88,11 @@ enum amd64_regnum #define AMD64_NUM_REGS (AMD64_GSBASE_REGNUM + 1) -extern struct displaced_step_closure *amd64_displaced_step_copy_insn +extern displaced_step_copy_insn_closure_up amd64_displaced_step_copy_insn (struct gdbarch *gdbarch, CORE_ADDR from, CORE_ADDR to, struct regcache *regs); extern void amd64_displaced_step_fixup (struct gdbarch *gdbarch, - struct displaced_step_closure *closure, + struct displaced_step_copy_insn_closure *closure, CORE_ADDR from, CORE_ADDR to, struct regcache *regs);