From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6076 invoked by alias); 9 Dec 2011 08:19:38 -0000 Received: (qmail 6068 invoked by uid 22791); 9 Dec 2011 08:19:35 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Dec 2011 08:19:22 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id E56842BC114; Fri, 9 Dec 2011 03:19:21 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gczu41erE2WT; Fri, 9 Dec 2011 03:19:21 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id A57C22BC0FB; Fri, 9 Dec 2011 03:19:21 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id B83AF145615; Fri, 9 Dec 2011 00:19:19 -0800 (PST) Date: Fri, 09 Dec 2011 08:47:00 -0000 From: Joel Brobecker To: "Maciej W. Rozycki" Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: one-too-many location in breakpoint Message-ID: <20111209081919.GK21915@adacore.com> References: <20111123163917.GA13809@adacore.com> <20111123232406.GQ13809@adacore.com> <20111124105603.GA91879@adacore.com> <20111124163304.GR13809@adacore.com> <20111129033329.GS24943@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) 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 X-SW-Source: 2011-12/txt/msg00279.txt.bz2 > I can see you made this adjustment: > > - gdb_test "break ${class}::foo if (a == 3)" "Breakpoint (\[0-9\]).*" > + gdb_test "break ${class}::hibob if (a_param == 3)" "Breakpoint > > but there's this definition elsewhere in this test case: > > set conditional1 "if (a == 3)" > > as well, that you have left intact. Should it be adjusted accordingly? I think it did get adjusted yesterday. > Why is this condition accepted for some targets and not for some > others anyway? Tom said: > I missed a spot when changing the parameter names in ovsrch.exp, and > didn't notice because I have the 64-bit glibc debuginfo installed, which > provides a minsym named "a". I've hit this sort of problem several times in the past, and that's why I choose funky and unambiguous names for my global variables.... -- Joel