public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4 V2] gdbarch software_single_step returns VEC (CORE_ADDR) *
@ 2016-05-12 16:18 Yao Qi
  2016-05-12 16:18 ` [PATCH 2/4] Remove arm_insert_single_step_breakpoint Yao Qi
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Yao Qi @ 2016-05-12 16:18 UTC (permalink / raw)
  To: gdb-patches

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-07-22 18:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-12 16:18 [PATCH 0/4 V2] gdbarch software_single_step returns VEC (CORE_ADDR) * Yao Qi
2016-05-12 16:18 ` [PATCH 2/4] Remove arm_insert_single_step_breakpoint Yao Qi
2016-05-12 16:18 ` [PATCH 1/4] Remove arm_override_mode Yao Qi
2016-06-23 13:20   ` Pedro Alves
2016-07-20 10:17     ` Yao Qi
2016-07-22 10:15       ` Pedro Alves
2016-07-22 18:17         ` Pedro Alves
2016-05-12 16:18 ` [PATCH 3/4] Clear addr bit in next_pcs vector Yao Qi
2016-05-12 16:18 ` [PATCH 4/4] gdbarch software_single_step returns VEC (CORE_ADDR) * Yao Qi
2016-06-21  7:34 ` [PATCH 0/4 V2] " Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).