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.sh | |
parent | 3b4b0a629a972bf80fc0ac6202f89681fab1df37 (diff) | |
download | binutils-gdb-c2508e905f956c5a5e0d2a7fff58b4c746180237.tar.gz |
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.sh')
-rwxr-xr-x | gdb/gdbarch.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh index ea15c8c1b51..6459b12747b 100755 --- a/gdb/gdbarch.sh +++ b/gdb/gdbarch.sh @@ -793,10 +793,6 @@ V;ULONGEST;max_insn_length;;;0;0 # 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. |