diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2017-10-12 21:42:05 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2017-10-12 21:42:23 -0400 |
commit | c2508e905f956c5a5e0d2a7fff58b4c746180237 (patch) | |
tree | 31a2a35c6afeb25b60dddcbc94716cc1165d218e /gdb/gdbarch.h | |
parent | 3b4b0a629a972bf80fc0ac6202f89681fab1df37 (diff) | |
download | gdb-c2508e905f956c5a5e0d2a7fff58b4c746180237.zip gdb-c2508e905f956c5a5e0d2a7fff58b4c746180237.tar.gz gdb-c2508e905f956c5a5e0d2a7fff58b4c746180237.tar.bz2 |
Remove simple_displaced_step_copy_insn
Nothing uses this function. Remove it, and adjust comments referring to
it.
gdb/ChangeLog:
* arch-utils.h (simple_displaced_step_copy_insn): Remove.
* arch-utils.c (simple_displaced_step_copy_insn): Remove.
* gdbarch.sh (displaced_step_copy_insn): Adjust comment.
* gdbarch.h: Regenerate.
* i386-linux-tdep.c (i386_linux_displaced_step_copy_insn):
Adjust comment.
* i386-tdep.c (i386_displaced_step_copy_insn): Adjust comment.
(i386_displaced_step_fixup): Adjust comment.
* rs6000-tdep.c (ppc_displaced_step_copy_insn): Adjust comment.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index f276d09..d2e6b6f 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -984,10 +984,6 @@ extern void set_gdbarch_max_insn_length (struct gdbarch *gdbarch, ULONGEST max_i If you do not provide this function, GDB assumes that the architecture does not support displaced stepping. - If your architecture doesn't need to adjust instructions before - single-stepping them, consider using simple_displaced_step_copy_insn - here. - If the instruction cannot execute out of line, return NULL. The core falls back to stepping past the instruction in-line instead in that case. */ |