From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15107 invoked by alias); 22 Apr 2008 18:37:31 -0000 Received: (qmail 15097 invoked by uid 22791); 22 Apr 2008 18:37:30 -0000 X-Spam-Check-By: sourceware.org Received: from kirk.serum.com.pl (HELO serum.com.pl) (213.77.9.205) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 22 Apr 2008 18:37:13 +0000 Received: from serum.com.pl (IDENT:macro@localhost [127.0.0.1]) by serum.com.pl (8.12.11/8.12.11) with ESMTP id m3MIb0s2026456; Tue, 22 Apr 2008 20:37:00 +0200 Received: from localhost (macro@localhost) by serum.com.pl (8.12.11/8.12.11/Submit) with ESMTP id m3MIb03x026452; Tue, 22 Apr 2008 19:37:00 +0100 Date: Tue, 22 Apr 2008 20:27:00 -0000 From: "Maciej W. Rozycki" To: David Daney cc: gdb-patches@sourceware.org Subject: Re: RFC: Hardware watchpoint register support for mips-linux. In-Reply-To: <480D1763.10601@avtrex.com> Message-ID: References: <480CEC37.9060202@avtrex.com> <480D1763.10601@avtrex.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00481.txt.bz2 On Mon, 21 Apr 2008, David Daney wrote: > Currently it only handles mips32 style watch registers. I have no > documentation on the R4000 style registers. Specs for the R4000 and the R10000 (which uses the same model) are both available online. Search for "R4000 Microprocessor User's Manual" (substitute R10000 as necessary). The R4k-style watchpoint is trickier, as the registers hold a physical address, so some additional handling is required for cases where the virtual-to-physical mapping is changed (like when the area being watched is paged in from the backing store). Maciej