From: Jerone Young <jyoung5@us.ibm.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH] libxc xc_ptrace gcc 4 fix
Date: Wed, 30 Mar 2005 14:40:45 -0600 [thread overview]
Message-ID: <1112215245.5657.5.camel@thinkpad> (raw)
[-- Attachment #1: Type: text/plain, Size: 354 bytes --]
Variable guest_va is declared as a long* . It takes values that are cast
as unsigned long* . GCC 4 picks up on this. This patch changes the
declaration of guest va to be an unsigned long* and fixes the problem.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
--
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)
[-- Attachment #2: xc_ptrace_gcc_4_fix.diff --]
[-- Type: text/x-patch, Size: 379 bytes --]
--- tools/libxc/xc_ptrace.c.orig 2005-03-30 14:30:15.000000000 -0600
+++ tools/libxc/xc_ptrace.c 2005-03-30 14:33:13.000000000 -0600
@@ -238,7 +238,7 @@ xc_ptrace(enum __ptrace_request request,
xc_domaininfo_t info;
struct gdb_regs pt;
long retval = 0;
- long *guest_va;
+ unsigned long *guest_va;
op.interface_version = DOM0_INTERFACE_VERSION;
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
reply other threads:[~2005-03-30 20:40 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=1112215245.5657.5.camel@thinkpad \
--to=jyoung5@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.