From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29722 invoked by alias); 6 Dec 2005 20:25:25 -0000 Received: (qmail 29676 invoked by uid 22791); 6 Dec 2005 20:25:24 -0000 X-Spam-Check-By: sourceware.org Received: from gandalf.inter.net.il (HELO gandalf.inter.net.il) (192.114.186.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Dec 2005 20:25:21 +0000 Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id HEL18082; Tue, 6 Dec 2005 22:24:56 +0200 (IST) Received: from HOME-C4E4A596F7 (IGLD-80-230-29-207.inter.net.il [80.230.29.207]) by nitzan.inter.net.il (MOS 3.7.2-GA) with ESMTP id CDH65767 (AUTH halo1); Tue, 6 Dec 2005 22:24:54 +0200 (IST) Date: Tue, 06 Dec 2005 23:05:00 -0000 Message-Id: From: Eli Zaretskii To: Wu Zhou CC: gdb-patches@sources.redhat.com, drow@false.org, mark.kettenis@xs4all.nl In-reply-to: (message from Wu Zhou on Tue, 6 Dec 2005 14:12:26 +0800 (CST)) Subject: Re: [RFC] GDB patches for hw watchpoints - revised Reply-to: Eli Zaretskii References: X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-12/txt/msg00118.txt.bz2 > Date: Tue, 6 Dec 2005 14:12:26 +0800 (CST) > From: Wu Zhou > cc: drow@false.org, eliz@gnu.org, mark.kettenis@xs4all.nl > > 3. Eli ever expressed a concern that the PPC doesn't have a way to return > the data address that triggered the watchpoint? As far as I think, the > reason is that PPC will only have one DABR (if it does have). So maybe we > don't need to have such a method. Sorry, I'm not following: no matter how many debug registers the PPC has, it can still return to GDB the data address that triggered the watchpoint. I don't think the higher levels of GDB (breakpoint.c) should know or assume anything about the target capabilities or resources. Let's try keeping the code clean of such peculiarities.