WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] xc_ptrace_core.c, xc_ptrace.c:

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] xc_ptrace_core.c, xc_ptrace.c:
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Tue, 31 May 2005 08:52:42 +0000
Delivery-date: Tue, 31 May 2005 11:01:05 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1603, 2005/05/31 09:52:42+01:00, cl349@xxxxxxxxxxxxxxxxxxxx

        xc_ptrace_core.c, xc_ptrace.c:
          SLES9 has a problem with it's <asm/elf.h> and other headers associated
          with it. Since we are only using one thing from this (that we really
          don't need) we can just stop including it.
        http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=34
        Signed-off-by: Jerone Young <jyoung5@xxxxxxxxxx>
        Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>



 xc_ptrace.c      |    3 +--
 xc_ptrace_core.c |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)


diff -Nru a/tools/libxc/xc_ptrace.c b/tools/libxc/xc_ptrace.c
--- a/tools/libxc/xc_ptrace.c   2005-05-31 07:01:56 -04:00
+++ b/tools/libxc/xc_ptrace.c   2005-05-31 07:01:56 -04:00
@@ -1,7 +1,6 @@
 #include <sys/ptrace.h>
 #include <sys/wait.h>
 #include "xc_private.h"
-#include <asm/elf.h>
 #include <time.h>
 
 
@@ -301,7 +300,7 @@
 
        if (request == PTRACE_GETREGS) {
                SET_PT_REGS(pt, ctxt[cpu].user_regs); 
-               memcpy(data, &pt, sizeof(elf_gregset_t));
+               memcpy(data, &pt, sizeof(struct gdb_regs));
        } else if (request == PTRACE_GETFPREGS)
            memcpy(data, &ctxt[cpu].fpu_ctxt, sizeof(ctxt[cpu].fpu_ctxt));
        else /*if (request == PTRACE_GETFPXREGS)*/
diff -Nru a/tools/libxc/xc_ptrace_core.c b/tools/libxc/xc_ptrace_core.c
--- a/tools/libxc/xc_ptrace_core.c      2005-05-31 07:01:56 -04:00
+++ b/tools/libxc/xc_ptrace_core.c      2005-05-31 07:01:56 -04:00
@@ -1,7 +1,6 @@
 #include <sys/ptrace.h>
 #include <sys/wait.h>
 #include "xc_private.h"
-#include <asm/elf.h>
 #include <time.h>
 
 
@@ -258,7 +257,7 @@
     case PTRACE_GETFPXREGS:
        if (request == PTRACE_GETREGS) {
                SET_PT_REGS(pt, ctxt[cpu].user_regs); 
-               memcpy(data, &pt, sizeof(elf_gregset_t));
+               memcpy(data, &pt, sizeof(struct gdb_regs));
        } else if (request == PTRACE_GETFPREGS)
            memcpy(data, &ctxt[cpu].fpu_ctxt, sizeof(ctxt[cpu].fpu_ctxt));
        else /*if (request == PTRACE_GETFPXREGS)*/

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] xc_ptrace_core.c, xc_ptrace.c:, BitKeeper Bot <=