From: "Andrew Burgess" <aburgess@broadcom.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Cc: "Pedro Alves" <palves@redhat.com>
Subject: Re: [PATCH] [1/2] value_fetch_lazy - ensure parent is not lazy before accessing.
Date: Tue, 30 Jul 2013 15:23:00 -0000 [thread overview]
Message-ID: <51F7DA42.2000109@broadcom.com> (raw)
In-Reply-To: <51F7D171.4010909@redhat.com>
On 30/07/2013 3:45 PM, Pedro Alves wrote:
> On 07/11/2013 03:34 PM, Andrew Burgess wrote:
>
> The:
>
>> - if (!value_bits_valid (val,
>> + if (!value_bits_valid (parent,
>
> change gave me pause, as it wasn't mentioned in the email.
> It just looked like a mistake in your patch, as one would
> only expect the new value_fetch_lazy call, and nothing else.
> But, looking deeper, AFAICS, that change is correct, we were
> looking at the wrong value, even if the lazy issue didn't exist.
> Please correct me if I'm wrong. (I'd have preferred that bit to
> have been a separate, preparatory change with its own
> justification, or at least that this had been mentioned in the
> email. Don't assume what's obvious to you is obvious to others.)
Apologies for the poor description in the email. You did figure out
what I intended.
I committed the fix, with a slightly revised ChangeLog message to
emphasise the two aspects of the patch:
gdb/ChangeLog
* value.c (value_fetch_lazy): Ensure parent value is not lazy
before checking which bits of the parent, not the child, value are
valid.
Thanks,
Andrew
prev parent reply other threads:[~2013-07-30 15:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-11 14:35 Andrew Burgess
2013-07-25 10:44 ` [PING] " Andrew Burgess
2013-07-30 14:45 ` Pedro Alves
2013-07-30 15:23 ` Andrew Burgess [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=51F7DA42.2000109@broadcom.com \
--to=aburgess@broadcom.com \
--cc=gdb-patches@sourceware.org \
--cc=palves@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