This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: conditional breakpoint with (char* ) string condition
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 <drow@false.org>
> > 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