public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: jflavio@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Setting PPC32/64 as always-Zero registers for tests. Date: Tue, 04 Dec 2007 18:11:00 -0000 [thread overview] Message-ID: <20071204181107.20949.qmail@sourceware.org> (raw) The branch, master has been updated via 7f585a43eb4eddf50707b5034a7881c5fad268b9 (commit) from 74bf0b4382a473049c1e6807d58bf26435d6076d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 7f585a43eb4eddf50707b5034a7881c5fad268b9 Author: Jose Flavio Aguilar Paulino <joseflavio@gmail.com> Date: Tue Dec 4 15:47:19 2007 -0200 Setting PPC32/64 as always-Zero registers for tests. ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/testbed/ChangeLog | 3 ++- frysk-core/frysk/testbed/RegsCase.java | 11 +++++------ 2 files changed, 7 insertions(+), 7 deletions(-) First 500 lines of diff: diff --git a/frysk-core/frysk/testbed/ChangeLog b/frysk-core/frysk/testbed/ChangeLog index 95bc308..47fc145 100644 --- a/frysk-core/frysk/testbed/ChangeLog +++ b/frysk-core/frysk/testbed/ChangeLog @@ -2,7 +2,8 @@ * FryskAsm.java: Add PowerPC32/64. - * RegsCase.java: Put values to PowerPC64 registers. + * RegsCase.java: Put values to PowerPC64 registers. Set r0 from + PowerPC32 and 64 as Zero registers. 2007-12-03 Andrew Cagney <cagney@redhat.com> diff --git a/frysk-core/frysk/testbed/RegsCase.java b/frysk-core/frysk/testbed/RegsCase.java index af5fbac..17b12fa 100644 --- a/frysk-core/frysk/testbed/RegsCase.java +++ b/frysk-core/frysk/testbed/RegsCase.java @@ -225,7 +225,8 @@ public abstract class RegsCase extends TestLib { RegsCase.assertEquals(register.getName() + " size", bytes.length, register.getType().getSize()); for (int i = 0; i < bytes.length; i++) { - RegsCase.assertTrue(register.getName() + "[" + i + "] != 0", + RegsCase.assertTrue(register.getName() + "[" + + i + "] != 0 (found " + bytes[i] + " there)", bytes[i] != 0); } } @@ -605,8 +606,8 @@ public abstract class RegsCase extends TestLib { ; private Values PPC32 = new Values() - .put(PPC32Registers.GPR0, - new byte[] { (byte)0xa3,(byte)0x9c,0x20,(byte)0x08 }) + //in PowerPC gpr0 is always Zero + .put(PPC32Registers.GPR0, 0, 0) .put(PPC32Registers.GPR1, new byte[] { (byte)0x3a,(byte)0x82,0x27,(byte)0xf1 }) .put(PPC32Registers.GPR2, @@ -677,9 +678,7 @@ public abstract class RegsCase extends TestLib { private Values PPC64 = new Values() //in PowerPC the GPR0 is always Zero - .put(PPC64Registers.GPR0, // 0x0000000000000000 - new byte[] { (byte)0x00, (byte)0x00,0x00, (byte)0x00, - (byte)0x00, 0x00,(byte)0x00,(byte)0x00 }) + .put(PPC64Registers.GPR0, 0, 0) .put(PPC64Registers.GPR1, // 0x514c159c25c27735 new byte[] { 0x51,0x4c,0x15,(byte)0x9c, 0x25,(byte)0xc2,0x77,0x35 }) hooks/post-receive -- frysk system monitor/debugger
reply other threads:[~2007-12-04 18:11 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20071204181107.20949.qmail@sourceware.org \ --to=jflavio@sourceware.org \ --cc=frysk-cvs@sourceware.org \ --cc=frysk@sourceware.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: linkBe 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).