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

[Xen-devel] [PATCH]: Update gdbsx README

To: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH]: Update gdbsx README
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Mon, 27 Dec 2010 15:15:50 -0800
Cc:
Delivery-date: Mon, 27 Dec 2010 15:18:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Oracle Corporation
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>

diff -r 4e108cf56d07 tools/debugger/gdbsx/README
--- a/tools/debugger/gdbsx/README       Mon Dec 27 08:00:09 2010 +0000
+++ b/tools/debugger/gdbsx/README       Mon Dec 27 15:09:44 2010 -0800
@@ -13,9 +13,6 @@
 
 
 USAGE:
-   - boot with gdbsx enabled hypervisor (eg, on OVM: xen-64bit-debug.gz)
-   - copy gdbsx binary to the dom0 (assume hostname is "dom0"), then:
-
    USAGE 1:
    - dom0> gdbsx -c 1 64 : displays VCPU contexts for 64bit guest with domid 1
 
@@ -59,16 +56,6 @@
    - make sure firewall is disabled on dom0 if running gdb on a different host.
    - Must be at least gdb version 6.5-16.x to debug el5 kernels.
 
-BUILD: (if you don't have access to binary):
-   - first compile the hypervisor: xen> make gdbsx=y
-         To have both kdb and gdbsx, xen> make kdb=y gdbsx=y
-        (NOTE: kdb is not required for gdbsx)
-   - install the hypervisor and reboot
-   - now go to, tools/debugger/gdbsx and do make
-     On 32bit system, a 32bit binary will be built with support for both 32
-     and 64bit guests. On 64bit system, a 64bit binary will be built with 
-     support for both.
-
 
 Mukesh Rathor
 Oracle Corporation,
@@ -89,12 +76,12 @@
        set $task = $tasks
        set $task_entry = (struct task_struct *)((unsigned long)$task - $offset)
        printf "Pointer       PID      Command\n"
-       printf "%-14p%-9d%s\n", $task_entry, $task_entry->pid, $task_entry->comm
+       printf "%p %-9d%s\n", $task_entry, $task_entry->pid, $task_entry->comm
        set $task = $task->next
        while $task != $tasks
                set $task_entry = (struct task_struct *)((unsigned long)$task - 
$offset)
                if ($task_entry->pid) != 0
-                       printf "%-14p%-9d%s\n", $task_entry, $task_entry->pid, 
$task_entry->comm
+                       printf "%p %-9d%s\n", $task_entry, $task_entry->pid, 
$task_entry->comm
                end
                set $task = $task->next
        end

Attachment: diff.out
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH]: Update gdbsx README, Mukesh Rathor <=