From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20424 invoked by alias); 1 Oct 2007 09:11:47 -0000 Received: (qmail 20417 invoked by uid 22791); 1 Oct 2007 09:11:46 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 01 Oct 2007 09:11:41 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l919BcY6026463 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 1 Oct 2007 05:11:38 -0400 Received: from pobox-2.corp.redhat.com (pobox-2.corp.redhat.com [10.11.255.15]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l919BbSS004441; Mon, 1 Oct 2007 05:11:37 -0400 Received: from localhost.localdomain (vpn-6-3.fab.redhat.com [10.33.6.3]) by pobox-2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l919BaBw032509; Mon, 1 Oct 2007 05:11:36 -0400 Message-ID: <4700B9C2.8030005@redhat.com> Date: Mon, 01 Oct 2007 09:11:00 -0000 From: Phil Muldoon User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: Mark Wielaard CC: Roland McGrath , Frysk Hackers Subject: Re: Optimizing watchpoints References: <46FD7036.2010500@redhat.com> <20071001012529.D264A4D0325@magilla.localdomain> <1191228112.3842.24.camel@dijkstra.wildebeest.org> In-Reply-To: <1191228112.3842.24.camel@dijkstra.wildebeest.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00003.txt.bz2 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