This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4 V2] gdbarch software_single_step returns VEC (CORE_ADDR) *


This is a step toward changing gdbarch software_single_step to
"F:VEC (CORE_ADDR) *:software_single_step:struct regcache *regcache:regcache"
as I mentioned https://sourceware.org/ml/gdb-patches/2015-11/msg00591.html

It isn't trivial to replace frame_info with regcache because it may
break the target that frames have different gdbarch, such as spu, so
I still think about it.  In the mean time, I post this series, to let
software_single_step returns VEC (CORE_ADDR) *, and
displaced_step_hw_singlestep can be removed.

V1 can be found https://sourceware.org/ml/gdb-patches/2016-03/msg00466.html
The main change, compared with V1, is that we finally remove the global
variable arm_override_mode.  During the review to V1, there are two
suggested ways, but they need big changes on gdb target/gdbarch
interfaces.  Finally, I get a simpler change in patch 1.  The rest of
patches are straightforward.

I don't include patch "Remove gdbarch method displaced_step_hw_singlestep"
in this series, because it causes regression on aarch64-linux doing
multi-arch debugging, and I am looking at it.

Regression tested on arm-linux, x86_64-linux and aarch64-linux.

*** BLURB HERE ***

Yao Qi (4):
  Remove arm_override_mode
  Remove arm_insert_single_step_breakpoint
  Clear addr bit in next_pcs vector
  gdbarch software_single_step returns VEC (CORE_ADDR) *

 gdb/aarch64-tdep.c    | 18 +++++------
 gdb/alpha-tdep.c      | 28 ++++++++---------
 gdb/alpha-tdep.h      |  2 +-
 gdb/arm-linux-tdep.c  | 14 +++++----
 gdb/arm-tdep.c        | 83 +++++++++++++++++++++++++++++----------------------
 gdb/arm-tdep.h        |  4 +--
 gdb/breakpoint.c      | 27 +++++++++++++++++
 gdb/breakpoint.h      |  6 ++++
 gdb/cris-tdep.c       | 13 ++++----
 gdb/gdbarch.c         |  2 +-
 gdb/gdbarch.h         | 18 +++++------
 gdb/gdbarch.sh        | 16 +++++-----
 gdb/infrun.c          |  8 ++---
 gdb/mips-tdep.c       | 58 +++++++++++++++++------------------
 gdb/mips-tdep.h       |  2 +-
 gdb/moxie-tdep.c      | 34 ++++++++++-----------
 gdb/nios2-tdep.c      |  8 ++---
 gdb/ppc-tdep.h        |  2 +-
 gdb/record-full.c     | 18 +++--------
 gdb/rs6000-aix-tdep.c | 12 ++++----
 gdb/rs6000-tdep.c     | 12 ++++----
 gdb/s390-linux-tdep.c | 16 +++++-----
 gdb/sparc-tdep.c      |  9 +++---
 gdb/spu-tdep.c        | 13 ++++----
 gdb/tic6x-tdep.c      |  9 +++---
 25 files changed, 231 insertions(+), 201 deletions(-)

-- 
1.9.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]