This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: conditional breakpoint with (char* ) string condition


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]