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] Fix xc_ptrace interface to get rid of pid_t.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix xc_ptrace interface to get rid of pid_t.
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Mon, 02 May 2005 08:38:46 +0000
Delivery-date: Mon, 02 May 2005 09:04:35 +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.1412, 2005/05/02 09:38:46+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Fix xc_ptrace interface to get rid of pid_t.
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



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


diff -Nru a/tools/libxc/xc.h b/tools/libxc/xc.h
--- a/tools/libxc/xc.h  2005-05-02 05:05:03 -04:00
+++ b/tools/libxc/xc.h  2005-05-02 05:05:03 -04:00
@@ -87,12 +87,12 @@
 
 
 long xc_ptrace(enum __ptrace_request request, 
-              pid_t pid, 
+              u32  domid,
               long addr, 
               long data);
 
 long xc_ptrace_core(enum __ptrace_request request, 
-                   pid_t pid, 
+                   u32 domid, 
                    long addr, 
                    long data);
 
diff -Nru a/tools/libxc/xc_ptrace.c b/tools/libxc/xc_ptrace.c
--- a/tools/libxc/xc_ptrace.c   2005-05-02 05:05:03 -04:00
+++ b/tools/libxc/xc_ptrace.c   2005-05-02 05:05:03 -04:00
@@ -259,7 +259,7 @@
 }
 
 long
-xc_ptrace(enum __ptrace_request request, pid_t domid, long eaddr, long edata)
+xc_ptrace(enum __ptrace_request request, u32 domid, long eaddr, long edata)
 {
     dom0_op_t       op;
     int             status = 0;
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-02 05:05:03 -04:00
+++ b/tools/libxc/xc_ptrace_core.c      2005-05-02 05:05:03 -04:00
@@ -213,7 +213,7 @@
 }
 
 long
-xc_ptrace_core(enum __ptrace_request request, int domfd, long eaddr, long 
edata)
+xc_ptrace_core(enum __ptrace_request request, u32 domfd, long eaddr, long 
edata)
 {
     int             status = 0;
     struct gdb_regs pt;

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix xc_ptrace interface to get rid of pid_t., BitKeeper Bot <=