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/
Home Products Support Community News


[Xen-changelog] [xen-unstable] tools/gdbsx: Update gdbsx README

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] tools/gdbsx: Update gdbsx README
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 04 Jan 2011 19:40:18 -0800
Delivery-date: Tue, 04 Jan 2011 19:40:47 -0800
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
# Date 1294155600 0
# Node ID 285a8f8d217e062b34888185acd592bc6fee1561
# Parent  959e87a1117f9dd172aff70d80adf7f6982877b1
tools/gdbsx: Update gdbsx README

Signed-off-by: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
 tools/debugger/gdbsx/README |   17 ++---------------
 1 files changed, 2 insertions(+), 15 deletions(-)

diff -r 959e87a1117f -r 285a8f8d217e tools/debugger/gdbsx/README
--- a/tools/debugger/gdbsx/README       Tue Jan 04 15:26:02 2011 +0000
+++ b/tools/debugger/gdbsx/README       Tue Jan 04 15:40:00 2011 +0000
@@ -13,9 +13,6 @@ create a plug in for any other debugger 
-   - 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 @@ TIPS:
    - 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 @@ define ps
        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 - 
                if ($task_entry->pid) != 0
-                       printf "%-14p%-9d%s\n", $task_entry, $task_entry->pid, 
+                       printf "%p %-9d%s\n", $task_entry, $task_entry->pid, 
                set $task = $task->next

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tools/gdbsx: Update gdbsx README, Xen patchbot-unstable <=