public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: bauermann@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Fix bank index in PPC32BE and PPC64BE bank registers.
Date: Tue, 06 May 2008 22:05:00 -0000	[thread overview]
Message-ID: <20080506220556.20398.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  7dd6af4f54fc1403a55014883ddc6cd73985f688 (commit)
      from  099656d410c378eba514bfb083e13d761a56bada (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 7dd6af4f54fc1403a55014883ddc6cd73985f688
Author: Thiago Jung Bauermann <bauerman@br.ibm.com>
Date:   Tue May 6 18:54:49 2008 -0300

    Fix bank index in PPC32BE and PPC64BE bank registers.
    
    PowerPC uses PEEKUSER and POKEUSER, so there's really only one bank.
    
    frysk-core/frysk/isa/banks/ChangeLog
    2008-05-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
    
    	* PPCBankRegisters.java (PPC32BE, PPC64BE): Fix bank index, to
    	to refer to the USER area.

-----------------------------------------------------------------------

Summary of changes:
 frysk-core/frysk/isa/banks/ChangeLog             |    5 +++++
 frysk-core/frysk/isa/banks/PPCBankRegisters.java |   12 +++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/isa/banks/ChangeLog b/frysk-core/frysk/isa/banks/ChangeLog
index d91d62c..37a8c5e 100644
--- a/frysk-core/frysk/isa/banks/ChangeLog
+++ b/frysk-core/frysk/isa/banks/ChangeLog
@@ -1,3 +1,8 @@
+2008-05-06  Thiago Jung Bauermann  <bauerman@br.ibm.com>
+
+	* PPCBankRegisters.java (PPC32BE, PPC64BE): Fix bank index, to
+	to refer to the USER area.
+
 2008-04-15  Thiago Jung Bauermann  <bauerman@br.ibm.com>
 
 	* LinuxPPCRegisterBanks.java (VRREGS): Rename to ...
diff --git a/frysk-core/frysk/isa/banks/PPCBankRegisters.java b/frysk-core/frysk/isa/banks/PPCBankRegisters.java
index d1773b6..40d72d6 100644
--- a/frysk-core/frysk/isa/banks/PPCBankRegisters.java
+++ b/frysk-core/frysk/isa/banks/PPCBankRegisters.java
@@ -48,18 +48,24 @@ import frysk.isa.registers.PPC32Registers;
 
 public class PPCBankRegisters {
 
+    /**
+     * This map corresponds to the layout of registers in the child's USER area.
+     */
     public static final BankArrayRegisterMap PPC32BE
 	= new BankArrayRegisterMap()
 	.add(0, LinuxPPCRegisterBanks.GREGS32)
-	.add(1, LinuxPPCRegisterBanks.FPREGS32)
+	.add(0, LinuxPPCRegisterBanks.FPREGS32)
 	;
 
+    /**
+     * This map corresponds to the layout of registers in the child's USER area.
+     */
     public static final BankArrayRegisterMap PPC64BE
 	= new BankArrayRegisterMap()
 	.add(0, LinuxPPCRegisterBanks.GREGS64)
-	.add(1, LinuxPPCRegisterBanks.FPREGS64)
+	.add(0, LinuxPPCRegisterBanks.FPREGS64)
 	// AltiVec registers go to a separate note section called NT_PPC_VMX
-	.add(2, LinuxPPCRegisterBanks.VRREGS64)
+	.add(0, LinuxPPCRegisterBanks.VRREGS64)
 	;
 
     public static final BankArrayRegisterMap PPC32BE_ON_PPC64BE


hooks/post-receive
--
frysk system monitor/debugger


                 reply	other threads:[~2008-05-06 22:05 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=20080506220556.20398.qmail@sourceware.org \
    --to=bauermann@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: 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).