[SCM] master: frysk-core/frysk/bank/ChangeLog

cagney@sourceware.org cagney@sourceware.org
Wed Dec 19 23:54:00 GMT 2007


The branch, master has been updated
       via  c660d1e1c83d3f354d39d95bb54a1e2dc79ed64f (commit)
      from  d252351b1f01500d9a9c2af70e7ff245d32b9b24 (commit)

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

- Log -----------------------------------------------------------------
commit c660d1e1c83d3f354d39d95bb54a1e2dc79ed64f
Author: Andrew Cagney <cagney@redhat.com>
Date:   Wed Dec 19 18:53:22 2007 -0500

    frysk-core/frysk/bank/ChangeLog
    2007-12-19  Andrew Cagney  <cagney@redhat.com>
    
    	* BankRegister.java: Move to here from frysk.proc.
    	* BankRegisterMap.java: Ditto.
    	* IndirectBankRegisterMap.java: Ditto.
    	* PPCBankRegisters.java: Ditto.
    	* RegisterBanks.java: Ditto.
    	* X86BankRegisters.java: Ditto.
    
    frysk-core/frysk/proc/ChangeLog
    2007-12-19  Andrew Cagney  <cagney@redhat.com>
    
    	* BankRegister.java: Move to frysk.bank.
    	* BankRegisterMap.java: Ditto.
    	* IndirectBankRegisterMap.java: Ditto.
    	* PPCBankRegisters.java: Ditto.
    	* RegisterBanks.java: Ditto.
    	* X86BankRegisters.java: Ditto.
    	* LinuxPPC32On64.java: Update.
    	* Task.java: Update.
    
    frysk-core/frysk/proc/dead/ChangeLog
    2007-12-19  cagney  <cagney@redhat.com>
    
    	Bank register code moved to frysk.bank.
    	* LinuxExeTask.java: Update.
    	* CorefileRegisterBank.java: Update.
    	* LinuxExeTask.java: Update.
    
    frysk-core/frysk/proc/live/ChangeLog
    2007-12-19  Andrew Cagney  <cagney@redhat.com>
    
    	Bank register code moved to frysk.bank.
    	* LinuxTask.java: Update.
    	* PtraceRegisterBanksFactory.java: Update.

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

Summary of changes:
 frysk-core/frysk/{proc => bank}/BankRegister.java  |    2 +-
 .../frysk/{proc => bank}/BankRegisterMap.java      |    4 ++--
 frysk-core/frysk/bank/ChangeLog                    |   15 +++++++++++++++
 .../{proc => bank}/IndirectBankRegisterMap.java    |    2 +-
 .../frysk/{proc => bank}/PPCBankRegisters.java     |    2 +-
 frysk-core/frysk/{proc => bank}/RegisterBanks.java |   10 +++++-----
 .../frysk/{proc => bank}/X86BankRegisters.java     |    2 +-
 frysk-core/frysk/bank/package.html                 |   11 +++++++++++
 frysk-core/frysk/proc/ChangeLog                    |   11 +++++++++++
 frysk-core/frysk/proc/LinuxPPC32On64.java          |    3 +++
 frysk-core/frysk/proc/Task.java                    |    2 ++
 frysk-core/frysk/proc/dead/ChangeLog               |    7 +++++++
 .../proc/dead/CorefileRegisterBanksFactory.java    |    8 ++++----
 frysk-core/frysk/proc/dead/LinuxExeTask.java       |    2 +-
 frysk-core/frysk/proc/dead/LinuxTask.java          |    2 +-
 frysk-core/frysk/proc/dummy/Task.java              |    2 +-
 frysk-core/frysk/proc/live/ChangeLog               |    6 ++++++
 frysk-core/frysk/proc/live/LinuxTask.java          |    2 +-
 .../proc/live/PtraceRegisterBanksFactory.java      |    6 +++---
 19 files changed, 77 insertions(+), 22 deletions(-)
 rename frysk-core/frysk/{proc => bank}/BankRegister.java (99%)
 rename frysk-core/frysk/{proc => bank}/BankRegisterMap.java (98%)
 create mode 100644 frysk-core/frysk/bank/ChangeLog
 rename frysk-core/frysk/{proc => bank}/IndirectBankRegisterMap.java (99%)
 rename frysk-core/frysk/{proc => bank}/PPCBankRegisters.java (99%)
 rename frysk-core/frysk/{proc => bank}/RegisterBanks.java (94%)
 rename frysk-core/frysk/{proc => bank}/X86BankRegisters.java (99%)
 create mode 100644 frysk-core/frysk/bank/package.html

First 500 lines of diff:
diff --git a/frysk-core/frysk/proc/BankRegister.java b/frysk-core/frysk/bank/BankRegister.java
similarity index 99%
rename from frysk-core/frysk/proc/BankRegister.java
rename to frysk-core/frysk/bank/BankRegister.java
index 41c8b30..7507a5c 100644
--- a/frysk-core/frysk/proc/BankRegister.java
+++ b/frysk-core/frysk/bank/BankRegister.java
@@ -37,7 +37,7 @@
 // version and license this file solely under the GPL without
 // exception.
 
-package frysk.proc;
+package frysk.bank;
 
 import frysk.isa.Register;
 
diff --git a/frysk-core/frysk/proc/BankRegisterMap.java b/frysk-core/frysk/bank/BankRegisterMap.java
similarity index 98%
rename from frysk-core/frysk/proc/BankRegisterMap.java
rename to frysk-core/frysk/bank/BankRegisterMap.java
index ba04b82..115ebf7 100644
--- a/frysk-core/frysk/proc/BankRegisterMap.java
+++ b/frysk-core/frysk/bank/BankRegisterMap.java
@@ -37,7 +37,7 @@
 // version and license this file solely under the GPL without
 // exception.
 
-package frysk.proc;
+package frysk.bank;
 
 import frysk.isa.Register;
 import java.util.LinkedHashMap;
@@ -77,7 +77,7 @@ public class BankRegisterMap {
 	return (BankRegister)registerToBankRegister.get(r);
     }
 
-    BankRegister get(String s) {
+    public BankRegister get(String s) {
 	return (BankRegister)nameToBankRegister.get(s);
     }
 }
diff --git a/frysk-core/frysk/bank/ChangeLog b/frysk-core/frysk/bank/ChangeLog
new file mode 100644
index 0000000..80d5375
--- /dev/null
+++ b/frysk-core/frysk/bank/ChangeLog
@@ -0,0 +1,15 @@
+2007-12-19  Andrew Cagney  <cagney@redhat.com>
+
+	* BankRegister.java: Move to here from frysk.proc.
+	* BankRegisterMap.java: Ditto.
+	* IndirectBankRegisterMap.java: Ditto.
+	* PPCBankRegisters.java: Ditto.
+	* RegisterBanks.java: Ditto.
+	* X86BankRegisters.java: Ditto.
+
+Local Variables:
+mode: change-log
+left-margin: 8
+fill-column: 74
+version-control: never
+End:
diff --git a/frysk-core/frysk/proc/IndirectBankRegisterMap.java b/frysk-core/frysk/bank/IndirectBankRegisterMap.java
similarity index 99%
rename from frysk-core/frysk/proc/IndirectBankRegisterMap.java
rename to frysk-core/frysk/bank/IndirectBankRegisterMap.java
index 1f8a683..af6bbaa 100644
--- a/frysk-core/frysk/proc/IndirectBankRegisterMap.java
+++ b/frysk-core/frysk/bank/IndirectBankRegisterMap.java
@@ -37,7 +37,7 @@
 // version and license this file solely under the GPL without
 // exception.
 
-package frysk.proc;
+package frysk.bank;
 
 import inua.eio.ByteOrder;
 import frysk.isa.Register;
diff --git a/frysk-core/frysk/proc/PPCBankRegisters.java b/frysk-core/frysk/bank/PPCBankRegisters.java
similarity index 99%
rename from frysk-core/frysk/proc/PPCBankRegisters.java
rename to frysk-core/frysk/bank/PPCBankRegisters.java
index d3f7781..4218aa6 100644
--- a/frysk-core/frysk/proc/PPCBankRegisters.java
+++ b/frysk-core/frysk/bank/PPCBankRegisters.java
@@ -41,7 +41,7 @@
 // version and license this file solely under the GPL without
 // exception.
 
-package frysk.proc;
+package frysk.bank;
 
 import inua.eio.ByteOrder;
 import frysk.isa.PPC32Registers;
diff --git a/frysk-core/frysk/proc/RegisterBanks.java b/frysk-core/frysk/bank/RegisterBanks.java
similarity index 94%
rename from frysk-core/frysk/proc/RegisterBanks.java
rename to frysk-core/frysk/bank/RegisterBanks.java
index e9ad22b..98fa058 100644
--- a/frysk-core/frysk/proc/RegisterBanks.java
+++ b/frysk-core/frysk/bank/RegisterBanks.java
@@ -37,7 +37,7 @@
 // version and license this file solely under the GPL without
 // exception.
 
-package frysk.proc;
+package frysk.bank;
 
 import inua.eio.ByteBuffer;
 import frysk.isa.Register;
@@ -56,7 +56,7 @@ public class RegisterBanks {
 	this.bankRegisters = bankRegisters;
     }
 
-    BankRegister getBankRegister(String name) {
+    public BankRegister getBankRegister(String name) {
 	BankRegister bankRegister = bankRegisters.get(name);
 	if (bankRegister != null)
 	    return bankRegister;
@@ -71,7 +71,7 @@ public class RegisterBanks {
 	return getBankRegister(register.getName());
     }
 
-    long get(Register register) {
+    public long get(Register register) {
 	BankRegister bankRegister = findBankRegister(register);
 	ByteBuffer bank = banks[bankRegister.getBank()];
 	switch (bankRegister.getLength()) {
@@ -85,7 +85,7 @@ public class RegisterBanks {
 	}
     }
 
-    void set(Register register, long value) {
+    public void set(Register register, long value) {
 	BankRegister bankRegister = findBankRegister(register);
 	ByteBuffer bank = banks[bankRegister.getBank()];
 	switch (bankRegister.getLength()) {
@@ -99,7 +99,7 @@ public class RegisterBanks {
 	}
     }
 
-    void access(Register register, long offset, long size,
+    public void access(Register register, long offset, long size,
 		byte[] bytes, int start, boolean write) {
 	BankRegister bankRegister = findBankRegister(register);
 	ByteBuffer bank = banks[bankRegister.getBank()];
diff --git a/frysk-core/frysk/proc/X86BankRegisters.java b/frysk-core/frysk/bank/X86BankRegisters.java
similarity index 99%
rename from frysk-core/frysk/proc/X86BankRegisters.java
rename to frysk-core/frysk/bank/X86BankRegisters.java
index d2cd468..e80bf7b 100644
--- a/frysk-core/frysk/proc/X86BankRegisters.java
+++ b/frysk-core/frysk/bank/X86BankRegisters.java
@@ -37,7 +37,7 @@
 // version and license this file solely under the GPL without
 // exception.
 
-package frysk.proc;
+package frysk.bank;
 
 import inua.eio.ByteOrder;
 import frysk.isa.IA32Registers;
diff --git a/frysk-core/frysk/bank/package.html b/frysk-core/frysk/bank/package.html
new file mode 100644
index 0000000..7ad8e61
--- /dev/null
+++ b/frysk-core/frysk/bank/package.html
@@ -0,0 +1,11 @@
+<html>
+<body>
+
+A bank or block of data broken into into named locations.  For
+instance the register bank returned by ptrace is broken down into
+individual registers.
+
+<h2>Overview</h2>
+
+</body>
+<html>
diff --git a/frysk-core/frysk/proc/ChangeLog b/frysk-core/frysk/proc/ChangeLog
index 40504b1..fa31930 100644
--- a/frysk-core/frysk/proc/ChangeLog
+++ b/frysk-core/frysk/proc/ChangeLog
@@ -1,3 +1,14 @@
+2007-12-19  Andrew Cagney  <cagney@redhat.com>
+
+	* BankRegister.java: Move to frysk.bank.
+	* BankRegisterMap.java: Ditto.
+	* IndirectBankRegisterMap.java: Ditto.
+	* PPCBankRegisters.java: Ditto.
+	* RegisterBanks.java: Ditto.
+	* X86BankRegisters.java: Ditto.
+	* LinuxPPC32On64.java: Update.
+	* Task.java: Update.
+
 2007-12-13  Rick Moseley  <rmoseley@redhat.com>
 
 	* Proc.java: Remove redundant call to performDetach().
diff --git a/frysk-core/frysk/proc/LinuxPPC32On64.java b/frysk-core/frysk/proc/LinuxPPC32On64.java
index 7abd223..df7e592 100644
--- a/frysk-core/frysk/proc/LinuxPPC32On64.java
+++ b/frysk-core/frysk/proc/LinuxPPC32On64.java
@@ -39,6 +39,9 @@
 
 package frysk.proc;
 
+import frysk.bank.PPCBankRegisters;
+import frysk.bank.BankRegister;
+
 class LinuxPPC32On64
   extends LinuxPPC32
 {
diff --git a/frysk-core/frysk/proc/Task.java b/frysk-core/frysk/proc/Task.java
index bdf5274..d5d5cf5 100644
--- a/frysk-core/frysk/proc/Task.java
+++ b/frysk-core/frysk/proc/Task.java
@@ -53,6 +53,8 @@ import frysk.isa.Register;
 import frysk.isa.ISA;
 import java.math.BigInteger;
 import inua.eio.ByteOrder;
+import frysk.bank.RegisterBanks;
+import frysk.bank.BankRegister;
 
 public abstract class Task
 {
diff --git a/frysk-core/frysk/proc/dead/ChangeLog b/frysk-core/frysk/proc/dead/ChangeLog
index bf2c6bd..120ba4f 100644
--- a/frysk-core/frysk/proc/dead/ChangeLog
+++ b/frysk-core/frysk/proc/dead/ChangeLog
@@ -1,3 +1,10 @@
+2007-12-19  cagney  <cagney@redhat.com>
+
+	Bank register code moved to frysk.bank.
+	* LinuxExeTask.java: Update.
+	* CorefileRegisterBank.java: Update.
+	* LinuxExeTask.java: Update.
+
 2007-11-29  Andrew Cagney  <cagney@redhat.com>
 
 	* TestCoreRegs.java (testFloatRegisters())
diff --git a/frysk-core/frysk/proc/dead/CorefileRegisterBanksFactory.java b/frysk-core/frysk/proc/dead/CorefileRegisterBanksFactory.java
index 5c8678d..6b45981 100644
--- a/frysk-core/frysk/proc/dead/CorefileRegisterBanksFactory.java
+++ b/frysk-core/frysk/proc/dead/CorefileRegisterBanksFactory.java
@@ -42,10 +42,10 @@ package frysk.proc.dead;
 import inua.eio.ByteBuffer;
 import frysk.isa.ISA;
 import frysk.isa.ISAMap;
-import frysk.proc.RegisterBanks;
-import frysk.proc.X86BankRegisters;
-import frysk.proc.PPCBankRegisters;
-import frysk.proc.BankRegisterMap;
+import frysk.bank.RegisterBanks;
+import frysk.bank.X86BankRegisters;
+import frysk.bank.PPCBankRegisters;
+import frysk.bank.BankRegisterMap;
 
 /**
  * The target has registers scattered across one or more register
diff --git a/frysk-core/frysk/proc/dead/LinuxExeTask.java b/frysk-core/frysk/proc/dead/LinuxExeTask.java
index 1302be5..9b3f6de 100644
--- a/frysk-core/frysk/proc/dead/LinuxExeTask.java
+++ b/frysk-core/frysk/proc/dead/LinuxExeTask.java
@@ -41,7 +41,7 @@ package frysk.proc.dead;
 
 import inua.eio.ArrayByteBuffer;
 import inua.eio.ByteBuffer;
-import frysk.proc.RegisterBanks;
+import frysk.bank.RegisterBanks;
 import frysk.proc.Isa;
 import frysk.proc.TaskId;
 import frysk.proc.TaskState;
diff --git a/frysk-core/frysk/proc/dead/LinuxTask.java b/frysk-core/frysk/proc/dead/LinuxTask.java
index 0c61fa9..a514cb3 100644
--- a/frysk-core/frysk/proc/dead/LinuxTask.java
+++ b/frysk-core/frysk/proc/dead/LinuxTask.java
@@ -48,7 +48,7 @@ import inua.eio.ByteOrder;
 import frysk.proc.TaskId;
 import frysk.proc.Isa;
 import frysk.isa.ISA;
-import frysk.proc.RegisterBanks;
+import frysk.bank.RegisterBanks;
 
 public class LinuxTask extends DeadTask {
 
diff --git a/frysk-core/frysk/proc/dummy/Task.java b/frysk-core/frysk/proc/dummy/Task.java
index d0d24af..5737179 100644
--- a/frysk-core/frysk/proc/dummy/Task.java
+++ b/frysk-core/frysk/proc/dummy/Task.java
@@ -43,7 +43,7 @@ import inua.eio.ByteBuffer;
 import frysk.proc.TaskObserver;
 import frysk.proc.Isa;
 import frysk.isa.ISA;
-import frysk.proc.RegisterBanks;
+import frysk.bank.RegisterBanks;
 
 public class Task
     extends frysk.proc.Task
diff --git a/frysk-core/frysk/proc/live/ChangeLog b/frysk-core/frysk/proc/live/ChangeLog
index f095694..a4abbc4 100644
--- a/frysk-core/frysk/proc/live/ChangeLog
+++ b/frysk-core/frysk/proc/live/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-19  Andrew Cagney  <cagney@redhat.com>
+
+	Bank register code moved to frysk.bank.
+	* LinuxTask.java: Update.
+	* PtraceRegisterBanksFactory.java: Update.
+
 2007-12-05  Jose Flavio Aguilar Paulino <joseflavio@gmail.com>
 
 	* PtraceRegisterBanksFactory.java: Removing PowerPC useless
diff --git a/frysk-core/frysk/proc/live/LinuxTask.java b/frysk-core/frysk/proc/live/LinuxTask.java
index a2cae65..665b9ac 100644
--- a/frysk-core/frysk/proc/live/LinuxTask.java
+++ b/frysk-core/frysk/proc/live/LinuxTask.java
@@ -58,7 +58,7 @@ import frysk.sys.Signal;
 import frysk.isa.ISA;
 import frysk.isa.ElfMap;
 import java.io.File;
-import frysk.proc.RegisterBanks;
+import frysk.bank.RegisterBanks;
 
 /**
  * A Linux Task tracked using PTRACE.
diff --git a/frysk-core/frysk/proc/live/PtraceRegisterBanksFactory.java b/frysk-core/frysk/proc/live/PtraceRegisterBanksFactory.java
index 4777a2d..a6ee34f 100644
--- a/frysk-core/frysk/proc/live/PtraceRegisterBanksFactory.java
+++ b/frysk-core/frysk/proc/live/PtraceRegisterBanksFactory.java
@@ -45,9 +45,9 @@ import inua.eio.ByteOrder;
 import frysk.isa.ISA;
 import frysk.sys.Ptrace.RegisterSet;
 import frysk.sys.Ptrace.AddressSpace;
-import frysk.proc.RegisterBanks;
-import frysk.proc.X86BankRegisters;
-import frysk.proc.PPCBankRegisters;
+import frysk.bank.RegisterBanks;
+import frysk.bank.X86BankRegisters;
+import frysk.bank.PPCBankRegisters;
 import frysk.Config;
 
 /**


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



More information about the Frysk-cvs mailing list