OSDN Git Service

* gdbarch.sh (displaced_step_hw_singlestep): New callback.
authoruweigand <uweigand>
Tue, 29 Sep 2009 00:53:03 +0000 (00:53 +0000)
committeruweigand <uweigand>
Tue, 29 Sep 2009 00:53:03 +0000 (00:53 +0000)
commitca2f99affd10c87eef72e514d6b89bf68bbdfbc8
tree68d2875f9ffaee956ae07a4b51a51ddc59df57ff
parent78b819f0b34dff1366fe714a60139d3ddbfbabec
* gdbarch.sh (displaced_step_hw_singlestep): New callback.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c (default_displaced_step_hw_singlestep): New function.
* arch-utils.h (default_displaced_step_hw_singlestep): Add prototype.

* ppc-linux-tdep.c (ppc_displaced_step_hw_singlestep): New function.
(rs6000_gdbarch_init): Install it.

* infrun.c (displaced_step_fixup): Use new callback to determine
whether to "step" or "continue" displaced copy.
(resume): Likewise.  Do not call maybe_software_singlestep
for displaced stepping.
(maybe_software_singlestep): Do not handle displaced stepping.
gdb/ChangeLog
gdb/arch-utils.c
gdb/arch-utils.h
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/infrun.c
gdb/rs6000-tdep.c