From: Eli Zaretskii <eliz@gnu.org>
To: Tom Tromey <tromey@redhat.com>
Cc: niko.sams@gmail.com, gdb@sourceware.org
Subject: Re: watchpoint on variable in function scope
Date: Thu, 02 Jun 2011 17:48:00 -0000 [thread overview]
Message-ID: <838vtkf7lx.fsf@gnu.org> (raw)
In-Reply-To: <m3d3iwno78.fsf@fleche.redhat.com>
> From: Tom Tromey <tromey@redhat.com>
> Cc: gdb <gdb@sourceware.org>
> Date: Thu, 02 Jun 2011 11:22:03 -0600
>
> >>>>> "Niko" == Niko Sams <niko.sams@gmail.com> writes:
>
> Niko> please have a look at the example code below.
> Niko> How can i set a watchpoint on i before starting the appliaction?
> Niko> it used to work with
> Niko> "watch foo::i"
>
> When did this work?
> I tried 6.8 and 7.1 and neither worked.
I also think that it never worked. You need to have the variable in
scope to be able to watch it.
next prev parent reply other threads:[~2011-06-02 17:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 21:22 Niko Sams
2011-06-02 17:22 ` Tom Tromey
2011-06-02 17:48 ` Eli Zaretskii [this message]
2011-06-02 18:07 ` Niko Sams
2011-06-02 18:43 ` Sterling Augustine
2011-06-13 17:43 ` Tom Tromey
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=838vtkf7lx.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb@sourceware.org \
--cc=niko.sams@gmail.com \
--cc=tromey@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