Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: tromey@redhat.com
Cc: dje@google.com (Doug Evans), gdb-patches@sourceware.org
Subject: Re: [RFA] Fix crash of convenience vars with typedefs.
Date: Mon, 17 Aug 2009 18:24:00 -0000	[thread overview]
Message-ID: <200908171822.n7HIMEYV017944@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <m3skfqjvmm.fsf@fleche.redhat.com> from "Tom Tromey" at Aug 17, 2009 09:41:21 AM

Tom Tromey wrote:
> >>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:
> 
> Ulrich> Shouldn't the result of value_of_internalvar still have the original
> Ulrich> typedef name instead of the type it resolves to?
> 
> This would be nice -- the wide character code relies on type names now,
> for instance -- but most of gdb already eagerly strips typedefs.  E.g.,
> look at value_cast, where the resulting value is not actually of the
> type you pass in, but rather the type after stripping typedefs.

Indeed.  It seems to me that those instances ought to fixed, however,
and we should avoid introducing new instances where possible ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  reply	other threads:[~2009-08-17 18:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-15  0:22 Doug Evans
2009-08-17 13:11 ` Ulrich Weigand
2009-08-17 16:10   ` Tom Tromey
2009-08-17 18:24     ` Ulrich Weigand [this message]
2009-08-17 18:22   ` Ulrich Weigand
2009-08-18 18:44     ` Doug Evans
2009-08-19 16:43       ` [commit] " Ulrich Weigand

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=200908171822.n7HIMEYV017944@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --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