public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Cagney <cagney@redhat.com>
To: Mark Wielaard <mark@klomp.org>,
	        Jose Flavio Aguilar Paulino <joseflavio@gmail.com>
Cc: frysk@sourceware.org
Subject: Re: [SCM]  master: Updating register group names.
Date: Tue, 04 Dec 2007 14:57:00 -0000	[thread overview]
Message-ID: <47556AEE.50506@redhat.com> (raw)
In-Reply-To: <1196775231.3808.2.camel@dijkstra.wildebeest.org>

Mark Wielaard wrote:
> Hi Jose,
>
> On Tue, 2007-12-04 at 11:01 +0000, jflavio@sourceware.org wrote:
>   
>> Author: Jose Flavio Aguilar Paulino <joseflavio@gmail.com>
>> Date:   Tue Dec 4 08:45:03 2007 -0200
>>
>>     Updating register group names.
>>     
>
> This does break one test:
>
> testToString(frysk.isa.TestISA)junit.framework.ComparisonFailure:
> toString expected:<...> but was:<...32BE>
>
>   
>>      public static final ISA PPC32BE
>> -	= new ISA(ByteOrder.BIG_ENDIAN, 4, "PowerPC");
>> +	= new ISA(ByteOrder.BIG_ENDIAN, 4, "PowerPC32BE");
>>      public static final ISA PPC64BE
>> -	= new ISA(ByteOrder.BIG_ENDIAN, 8, "PowerPC");
>> +	= new ISA(ByteOrder.BIG_ENDIAN, 8, "PowerPC64BE");
>>     
>
> I am not sure what the right String is. But it should be similar in both
> the isa and the test.
>   
Just "PowerPC", the string specifies the the ISA family.  Thing's like 
"big-endian" and 64-bit are derived from the other parameters.  The test 
looks like this:

    public void testToString() {
        assertEquals("toString", "32-bit big-endian PowerPC",
                     ISA.PPC32BE.toString());
    }


Andrew

>   

      reply	other threads:[~2007-12-04 14:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20071204110100.9581.qmail@sourceware.org>
2007-12-04 13:34 ` Mark Wielaard
2007-12-04 14:57   ` 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=47556AEE.50506@redhat.com \
    --to=cagney@redhat.com \
    --cc=frysk@sourceware.org \
    --cc=joseflavio@gmail.com \
    --cc=mark@klomp.org \
    /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).