From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28955 invoked by alias); 17 Feb 2010 17:41:09 -0000 Received: (qmail 28944 invoked by uid 22791); 17 Feb 2010 17:41:09 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from imr1.ericy.com (HELO imr1.ericy.com) (198.24.6.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Feb 2010 17:41:05 +0000 Received: from eusaamw0707.eamcs.ericsson.se ([147.117.20.32]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id o1HHgpqW027427 for ; Wed, 17 Feb 2010 11:42:52 -0600 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.238]) by eusaamw0707.eamcs.ericsson.se ([147.117.20.32]) with mapi; Wed, 17 Feb 2010 12:41:02 -0500 From: Marc Khouzam To: "'gdb@sourceware.org'" Date: Wed, 17 Feb 2010 17:41:00 -0000 Subject: PRecord and hardware watchpoint Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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/msg00115.txt.bz2 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.