From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24963 invoked by alias); 8 Jul 2006 19:36:48 -0000 Received: (qmail 24955 invoked by uid 22791); 8 Jul 2006 19:36:48 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate6.de.ibm.com (HELO mtagate6.de.ibm.com) (195.212.29.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 08 Jul 2006 19:36:44 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate6.de.ibm.com (8.13.6/8.13.6) with ESMTP id k68Jafip070944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 8 Jul 2006 19:36:41 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.6/NCO/VER7.0) with ESMTP id k68JdTgc052938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 8 Jul 2006 21:39:29 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k68JaeZd010396 for ; Sat, 8 Jul 2006 21:36:40 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id k68Jae7v010393; Sat, 8 Jul 2006 21:36:40 +0200 Message-Id: <200607081936.k68Jae7v010393@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Sat, 8 Jul 2006 21:36:40 +0200 Subject: Re: [ppc-linux-nat]: set access flag for h/w watchpoint even if it is only read or write To: eliz@gnu.org Date: Sat, 08 Jul 2006 19:36:00 -0000 From: "Ulrich Weigand" Cc: woodzltc@cn.ibm.com (Wu Zhou), gdb-patches@sourceware.org In-Reply-To: from "Eli Zaretskii" at Jul 07, 2006 06:08:44 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2006-07/txt/msg00068.txt.bz2 Eli Zaretskii wrote: > > Date: Fri, 7 Jul 2006 09:17:54 -0400 > > From: Daniel Jacobowitz > > Cc: Wu Zhou , gdb-patches@sourceware.org > > > > > Daniel, could you please point me to Ulrich's change, either in > > > ChangeLogs or in the sources? I cannot find it forf some reason. > > > > I must be mistaken; our S/390 support doesn't have any read watchpoints > > (I don't know if the architecture does or not). In fact I can't find > > any architecture that does this. But I immediately recognized > > the description of the problem... so it must have happened somewhere. > > You are not dreaming, because I remember that as well. Perhaps Ulrich > just suggested a change, but it wasn't accepted eventually. I'm not sure which conversation you're referring to. In any case, S/390 does not support read watchpoints at all, neither by themselves nor in combination with a write watchpoint. The only type of hardware watchpoint it supports is the pure write watchpoint. I do recall some discussion about watchpoints on S/390, but that had to do with the fact that on our platform, the hardware does not identify the data address that triggered the watchpoint, and there were some changes to GDB common code that implicitly assumed that the target should be able to do that ... Bye, Ulrich -- Dr. Ulrich Weigand Linux on zSeries Development Ulrich.Weigand@de.ibm.com