[SCM] master: swagiaal: Renamed DwarfDie.getParent to getDwfl
swagiaal@sourceware.org
swagiaal@sourceware.org
Mon Dec 3 22:03:00 GMT 2007
The branch, master has been updated
via 12a00e7ea3e7a513e2934c942e56ec4d61d15830 (commit)
from 32035e6f7ed081a0d73a4fd035b142981048a220 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 12a00e7ea3e7a513e2934c942e56ec4d61d15830
Author: Sami Wagiaalla <swagiaal@redhat.com>
Date: Mon Dec 3 17:01:50 2007 -0500
swagiaal: Renamed DwarfDie.getParent to getDwfl
frysk-sys/lib/dwfl/ChangeLog
+2007-12-03 Sami Wagiaalla <swagiaal@redhat.com>
+
+ * DwarfDie.java (getDwfl): renamed getParent to getDwfl.
+
-----------------------------------------------------------------------
Summary of changes:
frysk-sys/lib/dwfl/ChangeLog | 4 ++++
frysk-sys/lib/dwfl/DwarfDie.java | 20 ++++++++++----------
2 files changed, 14 insertions(+), 10 deletions(-)
First 500 lines of diff:
diff --git a/frysk-sys/lib/dwfl/ChangeLog b/frysk-sys/lib/dwfl/ChangeLog
index a1bdd0c..1884fc3 100644
--- a/frysk-sys/lib/dwfl/ChangeLog
+++ b/frysk-sys/lib/dwfl/ChangeLog
@@ -1,5 +1,9 @@
2007-12-03 Sami Wagiaalla <swagiaal@redhat.com>
+ * DwarfDie.java (getDwfl): renamed getParent to getDwfl.
+
+2007-12-03 Sami Wagiaalla <swagiaal@redhat.com>
+
* DwflModule.java (getPubNames): New function.
* cni/DwflModule.cxx: Implemented get_pubnames
* Dwfl.java: Changed factory from private to protected
diff --git a/frysk-sys/lib/dwfl/DwarfDie.java b/frysk-sys/lib/dwfl/DwarfDie.java
index 0868d42..1693532 100644
--- a/frysk-sys/lib/dwfl/DwarfDie.java
+++ b/frysk-sys/lib/dwfl/DwarfDie.java
@@ -47,17 +47,17 @@ abstract public class DwarfDie {
private long pointer;
private DwarfDie[] scopes;
private int scopeIndex;
- private Dwfl parent;
+ private Dwfl dwfl;
protected boolean manageDie = false;
protected DwarfDie(long pointer, Dwfl parent) {
this.pointer = pointer;
- this.parent = parent;
+ this.dwfl = parent;
}
- protected Dwfl getParent () {
- return this.parent;
+ protected Dwfl getDwfl () {
+ return this.dwfl;
}
public long getHighPC () {
@@ -106,7 +106,7 @@ abstract public class DwarfDie {
DwarfDieFactory factory = DwarfDieFactory.getFactory();
for(int i = 0; i < vals.length; i++)
if(vals[i] != 0)
- dies[i] = factory.makeDie(vals[i], this.parent);
+ dies[i] = factory.makeDie(vals[i], this.dwfl);
else
dies[i] = null;
@@ -123,7 +123,7 @@ abstract public class DwarfDie {
DwarfDieFactory factory = DwarfDieFactory.getFactory();
for(int i = 0; i < vals.length; i++) {
if(vals[i] != 0)
- dies[i] = factory.makeDie(vals[i], this.parent);
+ dies[i] = factory.makeDie(vals[i], this.dwfl);
else
dies[i] = null;
}
@@ -145,7 +145,7 @@ abstract public class DwarfDie {
long val = get_scopevar(die_and_scope, vals, variable);
if (val >= 0) {
die = DwarfDieFactory.getFactory().makeDie(die_and_scope[0],
- this.parent);
+ this.dwfl);
die.scopes = scopes;
die.scopeIndex = (int)die_and_scope[1];
}
@@ -222,7 +222,7 @@ abstract public class DwarfDie {
DwarfDie die = null;
long type = get_type(this.getPointer(), followTypeDef);
if (type != 0)
- die = DwarfDieFactory.getFactory().makeDie(type, this.parent);
+ die = DwarfDieFactory.getFactory().makeDie(type, this.dwfl);
return die;
}
@@ -255,7 +255,7 @@ abstract public class DwarfDie {
long child = get_child(this.getPointer());
DwarfDie die = null;
if (child != 0)
- die = DwarfDieFactory.getFactory().makeDie(child, this.parent);
+ die = DwarfDieFactory.getFactory().makeDie(child, this.dwfl);
return die;
}
@@ -266,7 +266,7 @@ abstract public class DwarfDie {
long sibling = get_sibling(this.getPointer());
DwarfDie die = null;
if (sibling != 0)
- die = DwarfDieFactory.getFactory().makeDie(sibling, this.parent);
+ die = DwarfDieFactory.getFactory().makeDie(sibling, this.dwfl);
return die;
}
hooks/post-receive
--
frysk system monitor/debugger
More information about the Frysk-cvs
mailing list