This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 00/11 v2] Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 3 Nov 2016 09:48:00 +0000
- Subject: [PATCH 00/11 v2] Split breakpoint_from_pc to breakpoint_kind_from_pc and sw_breakpoint_from_kind
- Authentication-results: sourceware.org; auth=none
This patch series is to split gdbarch method breakpoint_from_pc to
methods breakpoint_kind_from_pc and sw_breakpoint_from_kind. After
these changes, new gdbarch methods breakpoint_kind_from_pc and
sw_breakpoint_from_kind are more preferred than breakpoint_from_pc.
More details can be found in v1
https://sourceware.org/ml/gdb-patches/2016-08/msg00318.html there are
some changes compared with v1,
- Rebase patch for recent mips changes,
- Rename enum mips_breakpoint_kind,
- Remove GDBARCH_BREAKPOINT_MANIPULATION and
SET_GDBARCH_BREAKPOINT_MANIPULATION (patch #11),
- Update comments to breakpoint_kind,
- Fix typo,
Patches #1, #2, #5, #6, #7, #9 are not changed since v1.
This patch series are regression tested on x86_64-linux, arm-linux,
and aarch64-linux.
*** BLURB HERE ***
Yao Qi (11):
gdbarch_breakpoint_from_pc doesn't return NULL
GDBARCH_BREAKPOINT_MANIPULATION and
SET_GDBARCH_BREAKPOINT_MANIPULATION
Add enum for mips breakpoint kinds
Split breakpoint_from_pc to breakpoint_kind_from_pc and
sw_breakpoint_from_kind
New gdbarch methods breakpoint_kind_from_pc and
sw_breakpoint_from_kind
Rename placed_size to kind
Remove gdbarch_remote_breakpoint_from_pc
Add default_breakpoint_from_pc
Determine the kind of single step breakpoint
Remove arm_override_mode
Remove GDBARCH_BREAKPOINT_MANIPULATION and
SET_GDBARCH_BREAKPOINT_MANIPULATION
gdb/aarch64-tdep.c | 17 ++--
gdb/alpha-tdep.c | 15 ++--
gdb/arc-tdep.c | 33 ++++----
gdb/arch-utils.c | 18 ++++-
gdb/arch-utils.h | 55 ++++++++++++-
gdb/arm-tdep.c | 123 +++++++++++++++++++----------
gdb/avr-tdep.c | 14 ++--
gdb/bfin-tdep.c | 33 ++++----
gdb/breakpoint.c | 30 +++++++
gdb/breakpoint.h | 10 +--
gdb/cris-tdep.c | 25 +++---
gdb/frv-tdep.c | 13 ++--
gdb/ft32-tdep.c | 14 +---
gdb/gdbarch.c | 76 ++++++++++++++----
gdb/gdbarch.h | 26 +++++--
gdb/gdbarch.sh | 20 +++--
gdb/h8300-tdep.c | 17 ++--
gdb/hppa-tdep.c | 13 ++--
gdb/i386-tdep.c | 14 ++--
gdb/ia64-tdep.c | 15 +++-
gdb/iq2000-tdep.c | 24 ++++--
gdb/lm32-tdep.c | 13 +---
gdb/m32c-tdep.c | 14 +---
gdb/m32r-tdep.c | 52 ++++++-------
gdb/m68hc11-tdep.c | 16 ++--
gdb/m68k-tdep.c | 14 ++--
gdb/m88k-tdep.c | 16 ++--
gdb/mem-break.c | 15 ++--
gdb/mep-tdep.c | 13 +---
gdb/microblaze-linux-tdep.c | 2 -
gdb/microblaze-tdep.c | 16 ++--
gdb/mips-tdep.c | 185 ++++++++++++++++++++------------------------
gdb/mn10300-tdep.c | 15 ++--
gdb/moxie-tdep.c | 17 ++--
gdb/msp430-tdep.c | 17 ++--
gdb/mt-tdep.c | 28 ++++---
gdb/nds32-tdep.c | 25 ++----
gdb/nios2-tdep.c | 99 ++++++++++++++----------
gdb/ppc-linux-tdep.c | 2 -
gdb/record-full.c | 10 ---
gdb/remote.c | 20 +----
gdb/rl78-tdep.c | 23 ++----
gdb/rs6000-tdep.c | 23 +++---
gdb/rx-tdep.c | 14 ++--
gdb/s390-linux-tdep.c | 15 +---
gdb/score-tdep.c | 125 +++++++++++++++++-------------
gdb/sh-tdep.c | 39 ++++++----
gdb/sh64-tdep.c | 70 +++++++++--------
gdb/sparc-tdep.c | 15 ++--
gdb/spu-tdep.c | 14 +---
gdb/tic6x-tdep.c | 20 +++--
gdb/tilegx-tdep.c | 21 ++---
gdb/v850-tdep.c | 22 ++++--
gdb/vax-tdep.c | 14 ++--
gdb/xstormy16-tdep.c | 16 ++--
gdb/xtensa-tdep.c | 58 +++++++-------
56 files changed, 914 insertions(+), 769 deletions(-)
--
1.9.1