Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Max Filippov <jcmvbkbc@gmail.com>, gdb-patches@sourceware.org
Cc: Maxim Grigoriev <maxim2405@gmail.com>,
	Woody LaRue <larue@cadence.com>,
	       Marc Gauthier <marc@cadence.com>,
	linux-xtensa@linux-xtensa.org
Subject: Re: [PATCH 0/2] xtensa: add hardware breakpoints support
Date: Thu, 10 Mar 2016 17:17:00 -0000	[thread overview]
Message-ID: <56E1AC20.30405@redhat.com> (raw)
In-Reply-To: <1457560106-5830-1-git-send-email-jcmvbkbc@gmail.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


  parent reply	other threads:[~2016-03-10 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-09 21:48 Max Filippov
2016-03-09 21:48 ` [PATCH 1/2] gdb: xtensa: make locally used functions static Max Filippov
2016-03-09 21:49 ` [PATCH 2/2] gdb: xtensa: support hardware breakpoints/watchpoints Max Filippov
2016-03-10 17:17 ` Pedro Alves [this message]
2016-03-10 20:18   ` [PATCH 0/2] xtensa: add hardware breakpoints support Max Filippov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56E1AC20.30405@redhat.com \
    --to=palves@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jcmvbkbc@gmail.com \
    --cc=larue@cadence.com \
    --cc=linux-xtensa@linux-xtensa.org \
    --cc=marc@cadence.com \
    --cc=maxim2405@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox