From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8548 invoked by alias); 8 Sep 2014 00:10:45 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 8532 invoked by uid 89); 8 Sep 2014 00:10:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 08 Sep 2014 00:10:41 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s880Acwu031950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 7 Sep 2014 20:10:39 -0400 Received: from localhost (dhcp-10-15-16-169.yyz.redhat.com [10.15.16.169]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s880AcKE027207 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Sun, 7 Sep 2014 20:10:38 -0400 From: Sergio Durigan Junior To: Patrick Palka Cc: Pedro Alves , gdb-patches@sourceware.org Subject: Re: [PATCH v2] Fix PR12526: -location watchpoints for bitfield arguments References: <1408563606-24314-1-git-send-email-patrick@parcs.ath.cx> <1408591949-29689-1-git-send-email-patrick@parcs.ath.cx> <54087F68.8020606@redhat.com> <87zjebyoey.fsf@redhat.com> X-URL: http://www.redhat.com Date: Mon, 08 Sep 2014 00:10:00 -0000 In-Reply-To: <87zjebyoey.fsf@redhat.com> (Sergio Durigan Junior's message of "Sun, 07 Sep 2014 19:57:25 -0400") Message-ID: <87oaurynsx.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2014-09/txt/msg00177.txt.bz2 On Sunday, September 07 2014, I wrote: >> + gdb_test "print $expr" "\\$\\d+ = $new\\s" > > gdb_test "print $expr" "\\$\\d+ = $new\\s" \ > "check if expr == $new" I forgot to mention that this is not enough to make the messages unique, so I added a "(old val = $old, new val = $new)" after the proposed message. -- Sergio GPG key ID: 0x65FC5E36 Please send encrypted e-mail if possible http://sergiodj.net/