This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 00/13] [aarch64] Share more code between GDB and GDBserver
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 18 Aug 2015 16:53:06 +0100
- Subject: [PATCH 00/13] [aarch64] Share more code between GDB and GDBserver
- Authentication-results: sourceware.org; auth=none
This patch series makes more aarch64-linux code shared between GDB and
GDBserver. These shared code are about HW watchpoint handling and
aarch64_linux_new_thread. The first several small patches make code
in two sides identical, and then the following patches move them into
nat/ directory.
The while series is tested aarch64-linux.
*** BLURB HERE ***
Yao Qi (13):
[gdbserver] Use iterate_over_lwps in aarch64_notify_debug_reg_change
Re-indent the code
Remove some comments in debug_reg_change_callback
Get pid rather than lwpid
Use phex debug_reg_change_callback
Use debug_printf in debug_reg_change_callback
Make aarch64_notify_debug_reg_change the same on GDB and GDBserver
Make debug_reg_change_callback the same on GDB and GDBserver
Move debug_reg_change_callback and aarch64_notify_debug_reg_change to
nat/aarch64-linux-hw-point.c
Add pid argument in aarch64_get_debug_reg_state
Make aarch64_linux_prepare_to_resume the same on GDB and GDBserver
Move aarch64_linux_prepare_to_resume to nat/aarch64-linux.c
Move aarch64_linux_new_thread to nat/aarch64-linux.c
gdb/Makefile.in | 6 +-
gdb/aarch64-linux-nat.c | 144 +----------------------------
gdb/config/aarch64/linux.mh | 3 +-
gdb/gdbserver/Makefile.in | 3 +
gdb/gdbserver/configure.srv | 1 +
gdb/gdbserver/linux-aarch64-low.c | 188 +++-----------------------------------
gdb/nat/aarch64-linux-hw-point.c | 88 ++++++++++++++++++
gdb/nat/aarch64-linux-hw-point.h | 5 +-
gdb/nat/aarch64-linux.c | 80 ++++++++++++++++
gdb/nat/aarch64-linux.h | 26 ++++++
10 files changed, 222 insertions(+), 322 deletions(-)
create mode 100644 gdb/nat/aarch64-linux.c
create mode 100644 gdb/nat/aarch64-linux.h
--
1.9.1