public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: pmachata@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Fix failing test cases
Date: Mon, 28 Apr 2008 13:47:00 -0000	[thread overview]
Message-ID: <20080428134716.27375.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  5e07f97b7cbaace8dd273ad094f0557129d5a65a (commit)
      from  5c28de32488499fbca3ca279e5987d7a8b6fa058 (commit)

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

- Log -----------------------------------------------------------------
commit 5e07f97b7cbaace8dd273ad094f0557129d5a65a
Author: Petr Machata <pmachata@redhat.com>
Date:   Mon Apr 28 15:45:15 2008 +0200

    Fix failing test cases

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

Summary of changes:
 frysk-core/frysk/scopes/TestDie.java |    7 ++++---
 frysk-sys/lib/dwfl/DwarfDie.java     |    2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/scopes/TestDie.java b/frysk-core/frysk/scopes/TestDie.java
index a95021b..8d44f0b 100644
--- a/frysk-core/frysk/scopes/TestDie.java
+++ b/frysk-core/frysk/scopes/TestDie.java
@@ -45,6 +45,7 @@ import lib.dwfl.DwAt;
 import lib.dwfl.DwTag;
 import lib.dwfl.DwarfDie;
 import lib.dwfl.Dwfl;
+import lib.dwfl.DwflDieBias;
 import lib.dwfl.DwflModule;
 import frysk.config.Prefix;
 import frysk.debuginfo.DebugInfoFrame;
@@ -111,13 +112,13 @@ public class TestDie
 	
 	assertEquals("Size of pubnames ", 3, pubnames.size());
 	
-	DwarfDie die = (DwarfDie) iterator.next();
+	DwarfDie die = ((DwflDieBias) iterator.next()).die;
 	assertEquals("Die name", "crash", die.getName());
 	
-	die = (DwarfDie) iterator.next();
+	die = ((DwflDieBias) iterator.next()).die;
 	assertEquals("Die name", "main", die.getName());
 	
-	die = (DwarfDie) iterator.next();
+	die = ((DwflDieBias) iterator.next()).die;
 	assertEquals("Die name", "static_i", die.getName());
     }
 
diff --git a/frysk-sys/lib/dwfl/DwarfDie.java b/frysk-sys/lib/dwfl/DwarfDie.java
index bbbd0de..d17c19b 100644
--- a/frysk-sys/lib/dwfl/DwarfDie.java
+++ b/frysk-sys/lib/dwfl/DwarfDie.java
@@ -446,7 +446,7 @@ abstract public class DwarfDie {
 	LinkedList pubnames = this.getModule().getPubNames();
 	Iterator iterator = pubnames.iterator();
 	while (iterator.hasNext()) {
-	    DwarfDie die = (DwarfDie) iterator.next();
+	    DwarfDie die = ((DwflDieBias) iterator.next()).die;
 	    DwarfDie originalDie = die.getOriginalDie();
 	    if(originalDie != null && originalDie.getModule().getName().equals(this.getModule().getName()) &&
 		    originalDie.getOffset() == this.getOffset()){


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


                 reply	other threads:[~2008-04-28 13:47 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=20080428134716.27375.qmail@sourceware.org \
    --to=pmachata@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).