Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Keith Seitz <keiths@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [RFA] varobj.c c++ fixes
Date: Sun, 13 Jan 2002 07:59:00 -0000	[thread overview]
Message-ID: <3C41AEFC.2070201@cygnus.com> (raw)
In-Reply-To: <Pine.GSO.4.33.0112280747370.26631-100000@makita.cygnus.com>

> 2002-01-07  Keith Seitz  <keiths@redhat.com>
> 
> * varobj.c (varobj_set_value): Make sure that there were no
>         errors evaluating the object before attempting to set its
>         value.
>         value_cast now properly adjusts VALUE_ADDRESS for baseclasses,
>         so this offset adjustment is no longer necessary.
>         (create_child): Don't set the error flag if the child is
>         a CPLUS_FAKE_CHILD.
>         (value_of_child): If value_fetch_lazy fails, return NULL
>         so that callers will be notified that an error occurred.
>         (c_value_of_variable): Delay check of variable's validity
>         until later. We actually want all structs and unions to have
>         the value "{...}".
>         Do not return "???" for variables which could not be evaluated.
>         This error condition must be returned to the caller so that it
>         can get the error condition from gdb.
>         (cplus_name_of_child): Adjust index for vptr before figuring
>         out the name of the child.
>         (cplus_value_of_child): If a child's (real) parent is not valid,
>         don't even bother trying to give a value for it. Just return
>         an error. Change all instances in this function.
>         (cplus_type_of_child): If our parent is one of the "fake"
>         parents, we need to get at the type of the real parent, and
>         derive the child's true type using this information.
> 
> 

Outch, that broken.  Sigh.  Yes, ok.


Andrew


  reply	other threads:[~2002-01-13 15:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-07 10:46 Keith Seitz
2002-01-13  7:59 ` Andrew Cagney [this message]
2002-01-13 12:18   ` Keith Seitz

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=3C41AEFC.2070201@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=keiths@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