From: Tom Tromey <tromey@redhat.com>
To: "Ulrich Weigand" <uweigand@de.ibm.com>
Cc: aburgess@broadcom.com (Andrew Burgess),
gdb-patches@sourceware.org, ken@linux.vnet.ibm.com
Subject: Re: [PATCH] Vector to scalar casting and widening
Date: Wed, 09 Jan 2013 19:08:00 -0000 [thread overview]
Message-ID: <87k3rmxjh1.fsf@fleche.redhat.com> (raw)
In-Reply-To: <201301071623.r07GNBP3015665@d06av02.portsmouth.uk.ibm.com> (Ulrich Weigand's message of "Mon, 7 Jan 2013 17:23:11 +0100 (CET)")
>>>>> "Ulrich" == Ulrich Weigand <uweigand@de.ibm.com> writes:
Ulrich> My understanding of how this is supposed to work out is that GDB
Ulrich> "value" operations *do not* actually implement the precise semantics
Ulrich> of any of the languages GDB supports; rather, they implement a GDB
Ulrich> private semantics of "GDB value" objects. Now, as those are private
Ulrich> to GDB, we are free to implement them however we wish; for pragmatic
Ulrich> and historical reasons, they do mostly (but not completely!) match
Ulrich> C semantics.
[...]
Ulrich> [ For historical reasons, some of the value_* operations currently
Ulrich> change aspects of their behaviour depending on current_language.
Ulrich> This is really a bug, and we ought to (and slowly do) move away
Ulrich> from this. For example, in a program employing multiple languages
Ulrich> simultaneously, GDB value objects might have been created from
Ulrich> values in a different language than the "current" one. ]
This seems like a good direction to me.
Tom
prev parent reply other threads:[~2013-01-09 19:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-13 14:10 Andrew Burgess
2012-11-19 21:17 ` Tom Tromey
2012-11-23 16:26 ` Andrew Burgess
2012-11-26 14:18 ` Ulrich Weigand
2012-11-28 22:08 ` Andrew Burgess
2012-11-29 17:50 ` Ulrich Weigand
2012-11-29 18:13 ` Andrew Burgess
2013-01-04 14:45 ` Andrew Burgess
2013-01-07 16:23 ` Ulrich Weigand
2013-01-08 15:08 ` Andrew Burgess
2013-01-08 19:05 ` Ulrich Weigand
2013-01-09 19:13 ` Tom Tromey
2013-01-25 17:18 ` Andrew Burgess
2013-01-09 19:08 ` Tom Tromey [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=87k3rmxjh1.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=aburgess@broadcom.com \
--cc=gdb-patches@sourceware.org \
--cc=ken@linux.vnet.ibm.com \
--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