This is the mail archive of the frysk@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Optimizing watchpoints


Mark Wielaard wrote:
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.

Is this a hardware/OS difference do you know, or just a different implementation in the Frysk PPC ISA?

Regards

Phil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]