From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27271 invoked by alias); 30 Nov 2007 16:25:31 -0000 Received: (qmail 27239 invoked by uid 22791); 30 Nov 2007 16:25:30 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 30 Nov 2007 16:25:26 +0000 Received: (qmail 32332 invoked from network); 30 Nov 2007 16:25:24 -0000 Received: from unknown (HELO 172.16.unknown.plus.ru) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Nov 2007 16:25:24 -0000 From: Vladimir Prus To: gdb@sources.redhat.com Subject: Watchpoints with condition Date: Fri, 30 Nov 2007 16:25:00 -0000 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711301925.20196.vladimir@codesourcery.com> 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: 2007-11/txt/msg00296.txt.bz2 GDB presently allow a watchpoint to have a condition, and I wonder what are the use-cases for that. If anybody has used watchpoint in condition in practice when debugging real problem (as opposed to just playing with gdb, or making up possible uses), can he share why it was needed? - Volodya