From: Fabio De Bona <Auslieferator@gmx.net>
To: gdb@sources.redhat.com
Subject: conditional breakpoint with (char* ) string condition
Date: Fri, 12 May 2006 12:43:00 -0000 [thread overview]
Message-ID: <44645774.8060503@gmx.net> (raw)
Hi everyone,
I would like to set a conditional breakpoint with a condition that
depends on the value of
a char* string, i.e. something like
b gui/R.cpp:190 if cmd=="train" (doesn't work of course)
resp.
b gui/R.cpp:190 if strcmp(cmd,"train")
is there a possibility to do this *without* changing the code (like
setting a boolean or so in the source).
Regards
Fabio
next reply other threads:[~2006-05-12 9:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-12 12:43 Fabio De Bona [this message]
2006-05-12 12:45 ` Eli Zaretskii
2006-05-12 13:53 ` Daniel Jacobowitz
2006-05-12 16:09 ` Eli Zaretskii
2006-05-12 16:21 ` Daniel Jacobowitz
2006-05-12 18:00 ` PAUL GILLIAM
2006-05-12 18:59 ` Jim Blandy
2006-05-15 17:55 ` Daniel Jacobowitz
2006-05-15 19:17 ` Jim Blandy
2006-05-15 19:51 ` Daniel Jacobowitz
2006-05-15 22:44 ` Jim Blandy
2006-05-16 12:39 ` Joel Brobecker
2006-05-12 20:36 ` Eli Zaretskii
2006-05-13 11:24 ` PAUL GILLIAM
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44645774.8060503@gmx.net \
--to=auslieferator@gmx.net \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox