From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8360 invoked by alias); 17 Feb 2010 18:22:45 -0000 Received: (qmail 8350 invoked by uid 22791); 17 Feb 2010 18:22:44 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Feb 2010 18:22:39 +0000 Received: (qmail 7712 invoked from network); 17 Feb 2010 18:22:37 -0000 Received: from unknown (HELO orlando.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 17 Feb 2010 18:22:37 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: PRecord and hardware watchpoint Date: Wed, 17 Feb 2010 18:22:00 -0000 User-Agent: KMail/1.12.2 (Linux/2.6.31-19-generic; KDE/4.3.2; x86_64; ; ) Cc: Marc Khouzam References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002171822.35700.pedro@codesourcery.com> 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/msg00116.txt.bz2 On Wednesday 17 February 2010 17:41:00, 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. > Should work since: 2009-11-22 Pedro Alves Make hardware breakpoints work for process repord. * record.c (record_wait): Only adjust PC on software breakpoints hits. 2009-11-22 Pedro Alves Michael Snyder Make hardware watchpoints work for process record. (...) That's post 7.0 though. > 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. > -- Pedro Alves