public inbox for frysk-cvs@sourceware.org
help / color / mirror / Atom feed
From: cagney@sourceware.org
To: frysk-cvs@sourceware.org
Subject: [SCM]  master: Fix x86-64 general register test; bug 5195.
Date: Thu, 29 Nov 2007 20:47:00 -0000	[thread overview]
Message-ID: <20071129204749.30190.qmail@sourceware.org> (raw)

The branch, master has been updated
       via  e65e53aed86595298619ffb9d6a221da423e74cf (commit)
      from  f230a8b9621df5487d5b72ce218da5b9dc1ccb24 (commit)

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

- Log -----------------------------------------------------------------
commit e65e53aed86595298619ffb9d6a221da423e74cf
Author: Andrew Cagney <cagney@toil.yyz.redhat.com>
Date:   Thu Nov 29 15:44:31 2007 -0500

    Fix x86-64 general register test; bug 5195.
    
    frysk-core/frysk/pkglibdir/ChangeLog
    2007-11-29  Andrew Cagney  <cagney@redhat.com>
    
    	* funit-regs.S (main): Jump to the known symbol "crash".
    
    frysk-core/frysk/testbed/ChangeLog
    2007-11-29  Andrew Cagney  <cagney@redhat.com>
    
    	* RegsCase.java (testGeneralRegisters): Remove unresolved on
    	x86-64, bug 5195.

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

Summary of changes:
 frysk-core/frysk/pkglibdir/ChangeLog    |    4 ++++
 frysk-core/frysk/pkglibdir/funit-regs.S |   13 ++++++-------
 frysk-core/frysk/testbed/ChangeLog      |    7 +++++--
 frysk-core/frysk/testbed/RegsCase.java  |    2 --
 4 files changed, 15 insertions(+), 11 deletions(-)

First 500 lines of diff:
diff --git a/frysk-core/frysk/pkglibdir/ChangeLog b/frysk-core/frysk/pkglibdir/ChangeLog
index 1706b00..3e9b2b6 100644
--- a/frysk-core/frysk/pkglibdir/ChangeLog
+++ b/frysk-core/frysk/pkglibdir/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-29  Andrew Cagney  <cagney@redhat.com>
+
+	* funit-regs.S (main): Jump to the known symbol "crash".
+
 2007-11-28 Teresa Thomas <tthomas@redhat.com>
 
 	* funit-addresses.c (dynamicOneD): New
diff --git a/frysk-core/frysk/pkglibdir/funit-regs.S b/frysk-core/frysk/pkglibdir/funit-regs.S
index 9155911..bda1800 100644
--- a/frysk-core/frysk/pkglibdir/funit-regs.S
+++ b/frysk-core/frysk/pkglibdir/funit-regs.S
@@ -58,7 +58,6 @@
 	// eip
 	// %eflags
 	mov $0x93d4a6ed, %esp
-	jmp crash
 	
 #elif defined __x86_64__
 
@@ -78,14 +77,11 @@
         mov $0xe0fb8a51946f37a0, %r13
         mov $0x3f22bc816a35f02d, %r14
         mov $0x46bf65d4d966290, %r15
-        // mov $0x9a602112ce465ffa, %rip
 
-#else
-	
-	LOAD_IMMED_WORD(REG0, 0)
-	STORE(REG0, REG0)
 #endif
 
+	JUMP(crash)
+
 	MAIN_EPILOGUE(0)
 	FUNCTION_RETURN(main,0)
 	FUNCTION_END(main,0)
@@ -94,6 +90,9 @@
 
 .global crash
 crash:
-#if defined __i386__
+#if defined __i386__ || defined __x86_64__
 	mov 0, %eax
+#else
+	LOAD_IMMED_WORD(REG0, 0)
+	STORE(REG0, REG0)
 #endif
diff --git a/frysk-core/frysk/testbed/ChangeLog b/frysk-core/frysk/testbed/ChangeLog
index 08a3165..93defdb 100644
--- a/frysk-core/frysk/testbed/ChangeLog
+++ b/frysk-core/frysk/testbed/ChangeLog
@@ -1,7 +1,10 @@
 2007-11-29  Andrew Cagney  <cagney@redhat.com>
 
-	* RegsCase.java (X866r): Add floating-point and vector values.
-	
+	* RegsCase.java (testGeneralRegisters): Remove unresolved on
+	x86-64, bug 5195.
+
+	* RegsCase.java (X8664): Add floating-point and vector values.
+
 	* CoreFileAtSignal.java (constructCore(Proc)): New.
 	* RegsCase.java (setTask(Task)): New.
 
diff --git a/frysk-core/frysk/testbed/RegsCase.java b/frysk-core/frysk/testbed/RegsCase.java
index f01a070..415d549 100644
--- a/frysk-core/frysk/testbed/RegsCase.java
+++ b/frysk-core/frysk/testbed/RegsCase.java
@@ -129,8 +129,6 @@ public abstract class RegsCase extends TestLib {
     }
    
     public void testGeneralRegisters() {
-	if(unresolvedOnx8664(5195))
-	    return;
 	checkRegisterGroup(registers.getGeneralRegisterGroup());
     }
 


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


                 reply	other threads:[~2007-11-29 20: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=20071129204749.30190.qmail@sourceware.org \
    --to=cagney@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).