This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/2] xtensa: add hardware breakpoints support
- From: Pedro Alves <palves at redhat dot com>
- To: Max Filippov <jcmvbkbc at gmail dot com>, gdb-patches at sourceware dot org
- Cc: Maxim Grigoriev <maxim2405 at gmail dot com>, Woody LaRue <larue at cadence dot com>, Marc Gauthier <marc at cadence dot com>, linux-xtensa at linux-xtensa dot org
- Date: Thu, 10 Mar 2016 17:17:20 +0000
- Subject: Re: [PATCH 0/2] xtensa: add hardware breakpoints support
- Authentication-results: sourceware.org; auth=none
- References: <1457560106-5830-1-git-send-email-jcmvbkbc at gmail dot com>
On 03/09/2016 09:48 PM, Max Filippov wrote:
Hello,
this series cleans up gdb/xtensa-linux-nat.c so that it builds without
warnings and adds support for hardware breakpoints and watchpoints.
The implementation closely follows what ARM does.
Please review.
Unfortunately, you looked at one of the targets that still doesn't
share the debug registers code with gdbserver. See how at least
x86, aarch64 and mips put debug registers code in gdb/nat/.
I think we should require all new GNU/Linux debug registers
support code follow such a scheme.
Patch #1 is obvious, please push it in.
Max Filippov (2):
gdb: xtensa: make locally used functions static
gdb: xtensa: support hardware breakpoints/watchpoints
gdb/xtensa-linux-nat.c | 607 ++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 604 insertions(+), 3 deletions(-)
Thanks,
Pedro Alves