From: Andrew Cagney <cagney@redhat.com>
To: Stan Cox <scox@redhat.com>
Cc: Frysk List <frysk@sourceware.org>
Subject: Re: Value/Location
Date: Fri, 24 Aug 2007 12:54:00 -0000 [thread overview]
Message-ID: <46CED526.402@redhat.com> (raw)
In-Reply-To: <1187904534.968.63.camel@multics.rdu.redhat.com>
Yes,
Every time I tried to get frysk.value.Format to use the type's
byte-order I'd get test-suite failures caused by another case of this.
The underling problem is that type code used to read/write byte-order
dependent values wasn't explicitly specifying the type's required
byte-order.
Hopefully the last of these get flushed out with the next few commits.
Andrew
Stan Cox wrote:
> The frysk.value constructor (Type type, String textFIXME)
> ->calls (new Location(type.getSize())
> ->calls new ArrayByteBuffer(capacity)
> which will assume a big endian buffer
>
> One possibility is to have Value do:
> abb = new ArrayByteBuffer (..);
> abb.order(type.endian);
> Location(abb)
>
>
>
>
prev parent reply other threads:[~2007-08-24 12:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-23 21:33 Value/Location Stan Cox
2007-08-24 12:54 ` Andrew Cagney [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=46CED526.402@redhat.com \
--to=cagney@redhat.com \
--cc=frysk@sourceware.org \
--cc=scox@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).