which does not seem worth it. The same effect is achieved by patching that
'nop' instruction there instead. */
which does not seem worth it. The same effect is achieved by patching that
'nop' instruction there instead. */
i386_linux_displaced_step_copy_insn (struct gdbarch *gdbarch,
CORE_ADDR from, CORE_ADDR to,
struct regcache *regs)
{
i386_linux_displaced_step_copy_insn (struct gdbarch *gdbarch,
CORE_ADDR from, CORE_ADDR to,
struct regcache *regs)
{
= i386_displaced_step_copy_insn (gdbarch, from, to, regs);
if (i386_linux_get_syscall_number_from_regcache (regs) != -1)
= i386_displaced_step_copy_insn (gdbarch, from, to, regs);
if (i386_linux_get_syscall_number_from_regcache (regs) != -1)
/* The closure returned by i386_displaced_step_copy_insn is simply a
buffer with a copy of the instruction. */
i386_displaced_step_closure *closure
/* The closure returned by i386_displaced_step_copy_insn is simply a
buffer with a copy of the instruction. */
i386_displaced_step_closure *closure