From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15776 invoked by alias); 18 Feb 2010 18:15:55 -0000 Received: (qmail 15764 invoked by uid 22791); 18 Feb 2010 18:15:54 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from smtp-outbound-1.vmware.com (HELO smtp-outbound-1.vmware.com) (65.115.85.69) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Feb 2010 18:15:48 +0000 Received: from mailhost2.vmware.com (mailhost2.vmware.com [10.16.67.167]) by smtp-outbound-1.vmware.com (Postfix) with ESMTP id 49C9D9002; Thu, 18 Feb 2010 10:15:46 -0800 (PST) Received: from [10.20.124.195] (promd-2s-dhcp195.eng.vmware.com [10.20.124.195]) by mailhost2.vmware.com (Postfix) with ESMTP id 40A8F8E6F1; Thu, 18 Feb 2010 10:15:46 -0800 (PST) Message-ID: <4B7D83D2.6040206@vmware.com> Date: Thu, 18 Feb 2010 18:15:00 -0000 From: Michael Snyder User-Agent: Thunderbird 1.5.0.12 (X11/20080411) MIME-Version: 1.0 To: Marc Khouzam CC: "'gdb@sourceware.org'" Subject: Re: PRecord and hardware watchpoint References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-02/txt/msg00129.txt.bz2 Marc Khouzam wrote: > Hi, > > someone asked me if watchpoints worked with Reverse debugging (PRecord), > so I gave it a try. What I found is that software watchpoints work but > not hardware watchpoints. That sounds reasonable to me. > > What seemed strange was that hardware watchpoints did not work > even when doing normal forward execution with PRecord enabled. > I guess during replay it makes sense, but during record? > > Just wondering. > > Thanks > > Marc > > P.S. It would be nice to have some kinds of warning to tell user > not to set hw watchpoints when PRecord is being used. Were you using the release or CVS version? CVS head should work.