From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23308 invoked by alias); 12 May 2006 13:55:14 -0000 Received: (qmail 23296 invoked by uid 22791); 12 May 2006 13:55:12 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 12 May 2006 13:54:24 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FeY60-0001er-Gz; Fri, 12 May 2006 09:54:20 -0400 Date: Fri, 12 May 2006 16:21:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: Fabio De Bona , gdb@sources.redhat.com Subject: Re: conditional breakpoint with (char* ) string condition Message-ID: <20060512135420.GA6349@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , Fabio De Bona , gdb@sources.redhat.com References: <44645774.8060503@gmx.net> <44645774.8060503@gmx.net> <20060512124527.GB3460@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00166.txt.bz2 On Fri, May 12, 2006 at 04:49:49PM +0300, Eli Zaretskii wrote: > > Date: Fri, 12 May 2006 08:45:27 -0400 > > From: Daniel Jacobowitz > > Cc: gdb@sources.redhat.com > > > > I wonder. Should we add some common builtin functions to GDB? > > > > b gui/R.cpp:190 if $gdb_strcmp (cmd, "train") > > It would be nice, I think. `streq' might be a better name, though. Well, I'd rather have strcmp, but I agree that I botched it - I was going for something with the same semantics as C strcmp :-) -- Daniel Jacobowitz CodeSourcery