This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: conditional breakpoint with (char* ) string condition
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Fabio De Bona <Auslieferator at gmx dot net>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 12 May 2006 14:21:16 +0300
- Subject: Re: conditional breakpoint with (char* ) string condition
- References: <44645774.8060503@gmx.net>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 12 May 2006 11:37:56 +0200
> From: Fabio De Bona <Auslieferator@gmx.net>
>
> b gui/R.cpp:190 if cmd=="train" (doesn't work of course)
But this should:
b gui/R.cpp:190 if cmd[0]=='t' && cmd[1]=='r' && cmd[2]=='a' && cmd[3]=='i'
etc., you get the point.