This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: remote dwarf info using libunwind


Hi,

On Fri, 2006-09-08 at 13:08 -0400, Mike Cvet wrote:
> The bugs that Tom has seen and others have observed are still present,
> but since the remote unwinding is actually /doing/ somewhat correct,
> it'll go in now and others can take a look at it if they like.

It seems to be hard coded for x86 so the test fails for any other
architecture. For now I have disabled it as follows:

2006-09-11  Mark Wielaard  <mark@klomp.org>

        * tests/TestStackBacktrace.java (testBacktrace): Disabled when
        MachineType is not IA32.

Also updated the bug report at
http://sourceware.org/bugzilla/show_bug.cgi?id=2936

Cheers,

Mark
Index: frysk-core/frysk/rt/tests/TestStackBacktrace.java
===================================================================
RCS file: /cvs/frysk/frysk-core/frysk/rt/tests/TestStackBacktrace.java,v
retrieving revision 1.7
diff -u -r1.7 TestStackBacktrace.java
--- frysk-core/frysk/rt/tests/TestStackBacktrace.java	8 Sep 2006 18:19:36 -0000	1.7
+++ frysk-core/frysk/rt/tests/TestStackBacktrace.java	11 Sep 2006 09:29:40 -0000
@@ -42,6 +42,7 @@
 
 import inua.eio.ByteBuffer;
 import frysk.proc.Action;
+import frysk.proc.MachineType;
 import frysk.proc.Manager;
 import frysk.proc.Task;
 import frysk.proc.TaskException;
@@ -60,8 +61,12 @@
 
   public void testBacktrace () throws TaskException
   {
-//     if (brokenXXX(2936))
-//      return;
+     // Backtraces only work on x86 for now.
+     if (MachineType.getMachineType() == MachineType.IA32)
+       {
+	  brokenXXX(2936);
+	  return;
+       }
     
     class TaskCreatedObserver extends TaskObserverBase
         implements TaskObserver.Attached

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]