Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Orjan Friberg <orjan.friberg@axis.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Z packet support in Gdbserver?
Date: Tue, 25 May 2004 15:27:00 -0000	[thread overview]
Message-ID: <20040525152659.GA22274@nevyn.them.org> (raw)
In-Reply-To: <40B3650C.5090800@axis.com>

On Tue, May 25, 2004 at 05:23:56PM +0200, Orjan Friberg wrote:
> I noticed there's no support for z/Z packets for hardware watchpoints in 
> the gdbserver.  (I searched the archives for this, but came up 
> empty-handed.)  I'd guess that (from looking at ptrace.c for i386, where 
> it accesses the DR_ registers) that the Gdbserver gets to configure the 
> hardware breakpoint mechanism through ptrace (PTRACE_POKEUSR, ...).  But 
> how does it get there in the first place, if not as a result of a z/Z 
> packet?  Through direct register writes (G packet)?

It's much simpler than that: gdbserver does not support hardware
watchpoints.  No one's ever implemented it.  As a copy/paste exercise
it would not be too hard; I still have pipe dreams of sharing the code
with GDB someday.

-- 
Daniel Jacobowitz


       reply	other threads:[~2004-05-25 15:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <40B3650C.5090800@axis.com>
2004-05-25 15:27 ` Daniel Jacobowitz [this message]
2004-05-26  8:05   ` Orjan Friberg
2004-05-25 18:03 ` Andrew Cagney
2004-05-26 11:10   ` Orjan Friberg
2004-05-26 17:32     ` Andrew Cagney

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=20040525152659.GA22274@nevyn.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=orjan.friberg@axis.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