From: Eli Zaretskii <eliz@gnu.org>
To: "Ed S. Peschko" <esp5@pge.com>
Cc: gdb@sourceware.org
Subject: Re: dynamic breakpoints/watchpoints
Date: Wed, 14 Mar 2007 04:20:00 -0000 [thread overview]
Message-ID: <uejnspiak.fsf@gnu.org> (raw)
In-Reply-To: <20070314002242.GB17710@venus> (esp5@pge.com)
> Date: Tue, 13 Mar 2007 17:22:42 -0700
> From: "Ed S. Peschko" <esp5@pge.com>
>
> What I'm looking for is something akin to grep integrated with gdb. Commands
> like:
>
> bc /pattern_in_code/
>
> would stop at the first place where 'pattern_in_code' was seen after continuing
> execution
Is `rbreak' (q.v.) what you are looking for?
> bv /pattern_in_variable/
>
> would monitor the data that *any* variable is using, and stop as soon as an
> assignment of that pattern is made to that variable.
I think this one would be impractical, at least on x86, where the
number of watchpoints is severely limited by the available number of
debug registers.
next prev parent reply other threads:[~2007-03-14 4:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-14 0:22 Ed S. Peschko
2007-03-14 4:20 ` Eli Zaretskii [this message]
2007-03-14 8:34 ` Ed S. Peschko
2007-03-14 9:20 ` Michael Veksler
2007-03-14 18:03 ` Ed S. Peschko
2007-03-14 18:49 ` Eli Zaretskii
[not found] ` <45F87DAC.8030404@tx.technion.ac.il>
2007-03-15 21:36 ` Ed S. Peschko
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=uejnspiak.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=esp5@pge.com \
--cc=gdb@sourceware.org \
/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