From: Vladimir Prus <vladimir@codesourcery.com>
To: "Mark Kettenis" <mark.kettenis@xs4all.nl>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Variable objects laziness
Date: Fri, 17 Nov 2006 10:45:00 -0000 [thread overview]
Message-ID: <200611171344.54155.vladimir@codesourcery.com> (raw)
In-Reply-To: <20275.192.87.1.22.1163760030.squirrel@webmail.xs4all.nl>
On Friday 17 November 2006 13:40, Mark Kettenis wrote:
> > Daniel Jacobowitz wrote:
> > > Sorry, you're right!
> > >
> > > When you're ready, please repost. Might want to finish talking with
> > > Nick first.
>
> As Nick indicated, I'm not sure whether the removal of my_value_equal is
> ok. The whole point of my_value_equal is to check equality of values
> without error()ing out if we can't read a value. Your replacement code
> doesn't seem to take that possibility into account.
Are you sure? The code has exactly one place where value is fetched, and it
does that by the call to gdb_value_fetch_lazy -- that calls value_fetch_lazy
in a try block. Any errors will be caught and cause the value to be set to
NULL.
> Or is it that your new
> code no longer needs to do this comparison? If that's the case, do
> watchpoints still work?
Sorry, what watchpoint have to do with this? my_value_equal is not used to
implement watchpoints -- only var-update and -var-assign.
- Volodya
next prev parent reply other threads:[~2006-11-17 10:45 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-14 13:43 Vladimir Prus
2006-11-14 20:47 ` Daniel Jacobowitz
2006-11-15 9:04 ` Vladimir Prus
2006-11-15 16:25 ` Daniel Jacobowitz
2006-11-17 9:23 ` Vladimir Prus
2006-11-17 10:40 ` Mark Kettenis
2006-11-17 10:45 ` Vladimir Prus [this message]
2006-11-17 14:22 ` Daniel Jacobowitz
2006-11-17 15:01 ` Vladimir Prus
2006-11-17 17:19 ` Vladimir Prus
2006-11-17 18:12 ` Daniel Jacobowitz
2006-11-18 9:48 ` Vladimir Prus
2006-11-28 17:09 ` Daniel Jacobowitz
2006-12-04 19:27 ` Vladimir Prus
2006-11-15 2:45 Nick Roberts
2006-11-15 9:22 ` Vladimir Prus
2006-11-29 8:59 Nick Roberts
2006-11-29 2:08 ` Nick Roberts
2006-11-29 2:55 ` Daniel Jacobowitz
2006-11-29 4:14 ` Nick Roberts
2006-11-29 7:25 ` Vladimir Prus
2006-11-29 13:45 ` Daniel Jacobowitz
2006-11-29 13:56 ` Vladimir Prus
2006-11-29 20:25 ` Nick Roberts
2006-11-29 9:09 ` Vladimir Prus
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=200611171344.54155.vladimir@codesourcery.com \
--to=vladimir@codesourcery.com \
--cc=gdb-patches@sources.redhat.com \
--cc=mark.kettenis@xs4all.nl \
/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