From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id Ym5xH1PH7WTneg0AWB0awg (envelope-from ) for ; Tue, 29 Aug 2023 06:24:19 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=kGVQJs6m; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 737271E0C2; Tue, 29 Aug 2023 06:24:19 -0400 (EDT) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 60E801E092 for ; Tue, 29 Aug 2023 06:24:17 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B271B3858402 for ; Tue, 29 Aug 2023 10:24:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B271B3858402 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693304655; bh=cXZFrv3hYXXaO6NRBbPzJF3tkW7EYVnxENMXwnHyBUY=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=kGVQJs6m0ytvDm51rZ+IvyrQ/jL47WEy7uaRQpqxJam5PoPXYS8cu+6+koW65DtfJ B7zhme6Ei/auMAtb3zweBMehEJwtk610PETWR2oxvEOfYpEp5e+ScN4q+49417zGtw Ri8utq8u8CEYdNSMkCSNCwaEdB0L4sj/ubQpZkZE= Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 16F613858D20 for ; Tue, 29 Aug 2023 10:23:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 16F613858D20 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 5128D2185E; Tue, 29 Aug 2023 10:23:44 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3F3FA138E2; Tue, 29 Aug 2023 10:23:44 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id /gJNDjDH7WSJdwAAMHmgww (envelope-from ); Tue, 29 Aug 2023 10:23:44 +0000 Message-ID: Date: Tue, 29 Aug 2023 12:24:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Adding a condition on a hardware watchpoint based on watchpoint state Content-Language: en-US To: Roger Phillips , "gdb@sourceware.org" References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom de Vries via Gdb Reply-To: Tom de Vries Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" On 8/28/23 13:41, Roger Phillips via Gdb wrote: > Greetings, > > I want to install a condition on a hardware watchpoint so that only accesses are stopped that increase the value of the variable 1 -> 2 etc. > > Is this possible? > There's an enhancement PR open about this ( https://sourceware.org/bugzilla/show_bug.cgi?id=29480 ). Thanks, - Tom