This is the mail archive of the
frysk-cvs@sources.redhat.com
mailing list for the frysk project.
[SCM] master: Fix bank index in PPC32BE and PPC64BE bank registers.
- From: bauermann at sourceware dot org
- To: frysk-cvs at sourceware dot org
- Date: 6 May 2008 22:05:56 -0000
- Subject: [SCM] master: Fix bank index in PPC32BE and PPC64BE bank registers.
- Reply-to: frysk at sourceware dot org
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