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] Move common aarch64 HW breakpoint/watchpoint code to nat/


Hi,
This patch series is to move duplicated code on HW breakpoint/watchpoint
between GDB and GDBserver to a common place.  This is helpful for my
watchpoint support in aarch64 multi-arch debugging work.

Patch #1 ~ #3 are preparatory patches, which make some functions in GDB
and GDBserver looks similar, and patch #4 moves them to a common place,
nat/aarch64-linux-hw-point.c.

This series is regression tested on aarch64-linux both native and
gdbserver.

*** BLURB HERE ***

Yao Qi (4):
  int -> enum target_hw_bp_type in aarch64-linux-nat.c
  Use debug_printf to print debug message
  Pass aarch64_debug_reg_state to functions
  Move common aarch64 HW breakpoint/watchpoint code to nat/

 gdb/Makefile.in                   |   6 +-
 gdb/aarch64-linux-nat.c           | 635 +------------------------------------
 gdb/config/aarch64/linux.mh       |   2 +-
 gdb/gdbserver/Makefile.in         |   3 +
 gdb/gdbserver/configure.srv       |   2 +-
 gdb/gdbserver/linux-aarch64-low.c | 637 +-------------------------------------
 gdb/nat/aarch64-linux-hw-point.c  | 505 ++++++++++++++++++++++++++++++
 gdb/nat/aarch64-linux-hw-point.h  | 184 +++++++++++
 8 files changed, 726 insertions(+), 1248 deletions(-)
 create mode 100644 gdb/nat/aarch64-linux-hw-point.c
 create mode 100644 gdb/nat/aarch64-linux-hw-point.h

-- 
1.9.1


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