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-devel

Re: [Xen-devel] [PATCH] Fix x86-64 SLES9 tools build problem...bugzilla

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Fix x86-64 SLES9 tools build problem...bugzilla #34
From: Jerone Young <jyoung5@xxxxxxxxxx>
Date: Tue, 31 May 2005 10:10:53 -0500
Delivery-date: Tue, 31 May 2005 15:11:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1117139085.10510.3.camel@thinkpad>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <1117139085.10510.3.camel@thinkpad>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Why is this patch not in the tree yet? No one seems to have any comments
on it. Folks using SLES9 want it.

On Thu, 2005-05-26 at 15:24 -0500, Jerone Young wrote:
> 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. Someone speak up if they do
> not think this is a suitable fix.
> http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=34
> 
> Signed-off-by: Jerone Young <jyoung5@xxxxxxxxxx>
> 
> --- xc_ptrace_core.c.old        2005-05-26 09:46:39.262113168 -0500
> +++ xc_ptrace_core.c    2005-05-26 10:19:45.731123976 -0500
> @@ -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 @@ xc_ptrace_core(enum __ptrace_request req
>      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)*/
> 
> --- xc_ptrace.c.old     2005-05-26 10:15:18.597734424 -0500
> +++ xc_ptrace.c 2005-05-26 10:19:27.347918648 -0500
> @@ -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 @@ xc_ptrace(enum __ptrace_request request,
> 
>         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)*/
> 
> 
-- 
Jerone Young
IBM Linux Technology Center
jyoung5@xxxxxxxxxx
512-838-1157 (T/L: 678-1157)


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

<Prev in Thread] Current Thread [Next in Thread>