public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: Phil Muldoon <pmuldoon@redhat.com>
Cc: Roland McGrath <roland@redhat.com>, Frysk Hackers <frysk@sourceware.org>
Subject: Re: Optimizing watchpoints
Date: Mon, 01 Oct 2007 09:20:00 -0000	[thread overview]
Message-ID: <1191230426.3842.34.camel@dijkstra.wildebeest.org> (raw)
In-Reply-To: <4700B9C2.8030005@redhat.com>

Hi Phil,

On Mon, 2007-10-01 at 10:11 +0100, Phil Muldoon wrote:
> Mark Wielaard wrote:
> > Just a FYI. I see (through a quick kernel grep) PTRACE_SET_DEBUGREG is
> > only available on powerpc. For x86[_64] frysk pokes at the hardware
> > debug registers through the USR area and getting/setting them
> > "directly". This might have to become a special case of the above.
> >  
> Is this a hardware/OS difference do you know, or just a different 
> implementation in the Frysk PPC ISA?

A quick look at the kernel sources makes me believe that this is a
kernel/ptrace difference in how to access debug registers between
different architectures. The PPC Isa is Frysk doesn't yet support
hardware debug register access. But my guess is that it just means it
would use a different bank, while on x86 we just see the debug registers
as part of the USR bank.

Cheers,

Mark

  reply	other threads:[~2007-10-01  9:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28 21:21 Phil Muldoon
2007-09-30 19:10 ` Mark Wielaard
2007-10-01  1:25 ` Roland McGrath
2007-10-01  8:41   ` Mark Wielaard
2007-10-01  9:11     ` Phil Muldoon
2007-10-01  9:20       ` Mark Wielaard [this message]
2007-10-01 17:40     ` Roland McGrath
2007-10-01 17:54   ` Phil Muldoon
2007-10-10  7:11   ` Phil Muldoon
2007-10-10 10:28     ` Mark Wielaard

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=1191230426.3842.34.camel@dijkstra.wildebeest.org \
    --to=mark@klomp.org \
    --cc=frysk@sourceware.org \
    --cc=pmuldoon@redhat.com \
    --cc=roland@redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).