This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
Re: Optimizing watchpoints
- From: Mark Wielaard <mark at klomp dot org>
- To: Roland McGrath <roland at redhat dot com>
- Cc: Phil Muldoon <pmuldoon at redhat dot com>, Frysk Hackers <frysk at sourceware dot org>
- Date: Mon, 01 Oct 2007 10:41:52 +0200
- Subject: Re: Optimizing watchpoints
- References: <46FD7036.2010500@redhat.com> <20071001012529.D264A4D0325@magilla.localdomain>
Hi Roland,
On Sun, 2007-09-30 at 18:25 -0700, Roland McGrath wrote:
> (For compatibility, ptrace
> itself will use that facility to virtualize the demands made by
> PTRACE_SET_DEBUGREG and the like. ptrace uses a known priority number that
> is fairly high, so that some system-wide or other background tracing would
> have to knowingly intend to interfere with traditional user application use
> by choosing an even higher priority.)
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.
Cheers,
Mark