Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: "Ulrich Weigand" <uweigand@de.ibm.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 16:10:00 -0000	[thread overview]
Message-ID: <m3skfqjvmm.fsf@fleche.redhat.com> (raw)
In-Reply-To: <200908171308.n7HD8dwb023540@d12av02.megacenter.de.ibm.com> 	(Ulrich Weigand's message of "Mon, 17 Aug 2009 15:08:39 +0200 (CEST)")

>>>>> "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.

Tom


  reply	other threads:[~2009-08-17 15:41 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 [this message]
2009-08-17 18:24     ` Ulrich Weigand
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=m3skfqjvmm.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=uweigand@de.ibm.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