From: Andrew Cagney <ac131313@cygnus.com>
To: Eli Zaretskii <eliz@is.elta.co.il>, edwardp@excitehome.net
Cc: gdb@sources.redhat.com
Subject: Re: watchpoints inside 'commands'
Date: Tue, 17 Apr 2001 10:38:00 -0000 [thread overview]
Message-ID: <3ADC6157.DB626F4D@cygnus.com> (raw)
In-Reply-To: <200104080808.EAA01801@delorie.com>
> > Now, I don't want to have the watchpoint stop all of those 40,000
> > times; I only want it to stop if something else trounces the memory
> > that I don't know about.
>
> Ah, okay, then how about setting a breakpoint near the exit from the
> scope where the watchpoint is defined, and setting up the commands of
> that breakpoint to silently delete the watchpoint and continue? Would
> that do what you want?
Just FYI, I've this memory of GDB (or is it insight) doing something for
some cases already. GDB quietly sets a breakpoint on the function's
exit code so that it can zap certain tempoary breakpoints when the
function exits.
There may well be a case for making the behavour consistent (however
standard disclaimer about this being my vague memory).
Andrew
prev parent reply other threads:[~2001-04-17 10:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20010405200028.A18474@excitehome.net>
2001-04-05 20:05 ` Edward Peschko
2001-04-06 2:09 ` Eli Zaretskii
2001-04-06 11:20 ` Edward Peschko
2001-04-07 0:17 ` Eli Zaretskii
2001-04-07 17:33 ` Edward Peschko
2001-04-08 1:09 ` Eli Zaretskii
2001-04-08 16:59 ` Edward Peschko
2001-04-08 17:45 ` Daniel Berlin
2001-04-08 23:21 ` Eli Zaretskii
2001-04-17 10:38 ` Andrew Cagney [this message]
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=3ADC6157.DB626F4D@cygnus.com \
--to=ac131313@cygnus.com \
--cc=edwardp@excitehome.net \
--cc=eliz@is.elta.co.il \
--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