Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@redhat.com>
To: Eli Zaretskii <eliz@is.elta.co.il>
Cc: Michael Elizabeth Chastain <mec@shout.net>,
	fnf@redhat.com, gdb-patches@sources.redhat.com
Subject: Re: [RFA] Fix problem with watchpoint test in gdb.base/commands.exp
Date: Thu, 02 May 2002 11:23:00 -0000	[thread overview]
Message-ID: <3CD18056.893FE00F@redhat.com> (raw)
In-Reply-To: <Pine.SUN.3.91.1020502184723.27891E@is>

Eli Zaretskii wrote:
> 
> On Thu, 2 May 2002, Michael Elizabeth Chastain wrote:
> 
> > gdb.texinfo says:
> >
> >   @value{GDBN} automatically deletes watchpoints that watch local
> >   (automatic) variables, or expressions that involve such variables, when
> >   they go out of scope, that is, when the execution leaves the block in
> >   which these variables were defined.
> 
> Btw, I think this is a misfeature: GDB should disable the watchpoints,
> but not delete them.

Hmmm... I thought that was (effectively) what happened.
I know there's an invisible "out of scope" breakpoint sometimes, 
and I thought it was that breakpoint that was deleted, not the
watchpoint itself.  Was I wrong?


  reply	other threads:[~2002-05-02 18:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-02  8:34 Michael Elizabeth Chastain
2002-05-02  8:43 ` Andrew Cagney
2002-05-02  8:50 ` Eli Zaretskii
2002-05-02 11:23   ` Michael Snyder [this message]
2002-05-02 23:46     ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2002-05-02  8:48 Michael Elizabeth Chastain
2002-05-02 11:22 ` Michael Snyder
2002-05-01 16:48 Fred Fish
2002-05-01 16:58 ` Michael Snyder

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=3CD18056.893FE00F@redhat.com \
    --to=msnyder@redhat.com \
    --cc=eliz@is.elta.co.il \
    --cc=fnf@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=mec@shout.net \
    /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