aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-linux-tdep.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-06-22 00:09:10 +0000
committerDoug Evans <dje@google.com>2010-06-22 00:09:10 +0000
commitb55078be0adf688f7da6bc6feb6f7687dc319cc4 (patch)
tree574a110e9685138888d0908d2b16e05f19647d9a /gdb/i386-linux-tdep.c
parentd5bc977ffb7653fa0f5c377dcfb8d5f82e994ae7 (diff)
downloadgdb-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-linux-tdep.c')
-rw-r--r--gdb/i386-linux-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/i386-linux-tdep.c b/gdb/i386-linux-tdep.c
index 3ae19a7..8ca7377 100644
--- a/gdb/i386-linux-tdep.c
+++ b/gdb/i386-linux-tdep.c
@@ -888,7 +888,7 @@ i386_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
/* Displaced stepping. */
set_gdbarch_displaced_step_copy_insn (gdbarch,
- simple_displaced_step_copy_insn);
+ i386_displaced_step_copy_insn);
set_gdbarch_displaced_step_fixup (gdbarch, i386_displaced_step_fixup);
set_gdbarch_displaced_step_free_closure (gdbarch,
simple_displaced_step_free_closure);