diff options
author | Doug Evans <dje@google.com> | 2010-06-22 00:09:10 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2010-06-22 00:09:10 +0000 |
commit | b55078be0adf688f7da6bc6feb6f7687dc319cc4 (patch) | |
tree | 574a110e9685138888d0908d2b16e05f19647d9a /gdb/i386-tdep.h | |
parent | d5bc977ffb7653fa0f5c377dcfb8d5f82e994ae7 (diff) | |
download | gdb-b55078be0adf688f7da6bc6feb6f7687dc319cc4.zip gdb-b55078be0adf688f7da6bc6feb6f7687dc319cc4.tar.gz gdb-b55078be0adf688f7da6bc6feb6f7687dc319cc4.tar.bz2 |
* i386-tdep.h (i386_displaced_step_copy_insn): Declare.
* i386-tdep.c (i386_displaced_step_copy_insn): New function.
(i386_syscall_p): Change type of lengthp to int.
(i386_displaced_step_fixup): Handle kernels that run one past a
syscall insn.
* i386-linux-tdep.c (i386_linux_init_abi): Use
i386_displaced_step_copy_insn instead of
simple_displaced_step_copy_insn.
Diffstat (limited to 'gdb/i386-tdep.h')
-rw-r--r-- | gdb/i386-tdep.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h index 6520d67..49e0727 100644 --- a/gdb/i386-tdep.h +++ b/gdb/i386-tdep.h @@ -362,6 +362,9 @@ extern const struct regset * const char *sect_name, size_t sect_size); +extern struct displaced_step_closure *i386_displaced_step_copy_insn + (struct gdbarch *gdbarch, CORE_ADDR from, CORE_ADDR to, + struct regcache *regs); extern void i386_displaced_step_fixup (struct gdbarch *gdbarch, struct displaced_step_closure *closure, CORE_ADDR from, CORE_ADDR to, |