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] State of gdbsx in xen-4.0-testing.hg and debugger docum

To: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Subject: Re: [Xen-devel] State of gdbsx in xen-4.0-testing.hg and debugger documentation.
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Wed, 14 Jul 2010 07:29:46 -0700
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Delivery-date: Wed, 14 Jul 2010 07:30:24 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=l4eMNp5vj4zKR29xto63F3dul7Q6p5MXroSlQNI5OmY=; b=SiQ2JCjdH15YoKvF0szJwdfOpD1GzthBqHr7FMnPiqA/z8BZ7JTqv7c3aOQsaBCV0n 12Gvdu0/1L02JrDHgLUz2W0uuvhSOQZC6fnBftUL1U+qpKw3drWNOzKpOPb+M0hLwNh7 oQRY9wnFUjRbi0itCyduUXURRVqBUo7F1I5dg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BC6O3/1IPuMasB+hvZRjHOu+US5DyGGJDzEJ16PgoUM7iv5cNDpbCv2K2hJE84H3K3 wSN1sD1CenKbFss2lF/tvbMLB6io+M03WYuXfApbL1226sSFauEaub76n1+IfoF0Doo+ ys4o5xgyLsCYRdrh0E/B7gY7Sb/s2HhQvs2x4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100701150802.54bad0ef@xxxxxxxxxxxxxxxxxxxx>
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>
References: <AANLkTinTwu7BgbarGxdhidNtIkgxlxie00o0khWOWHB4@xxxxxxxxxxxxxx> <20100701145331.GC31947@xxxxxxxxxxxxxxxxxxx> <20100701131336.5409f873@xxxxxxxxxxxxxxxxxxxx> <4C2D0E9A.4010100@xxxxxxxx> <20100701150802.54bad0ef@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Jul 1, 2010 at 3:08 PM, Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> wrote:
On Thu, 01 Jul 2010 23:54:34 +0200
Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:

> On 07/01/2010 10:13 PM, Mukesh Rathor wrote:
> > Thanks for CC Konrad, I'm gazillions postings behind in catching up
> > xen-devel.
> >
> > Bruce, you don't need to use the ext repo anymore as gdbsx is now
> > merged mainline. I should update the blog post.
> >
> > To build a debug enabled xen image: make gdbsx=y  is all you need
> > to do. After booting with gdbsx enabled xen, you can run gdbsx in
> > dom0. See tools/debugger/gdbsx/README.
> >
>
> I noticed when I tried gdbsx today that it doesn't seem to deal with
> multi-vcpu guests by treating the vcpus as threads within gdb.  Is
> there some other way to look at all the threads' contexts from within
> gdb?
>
>     J

Hmm... working for me. Can you please run gdbsx with -d and tar
and send output to me?

Mukesh,

Here's the output from gdbsx -d when trying to view CPUs as thread.

 
BTW, what xen and guest versions?

xen 4.1 unstable sync'd last night
dom0:  Linux kaan-22 2.6.32.16 #1 SMP Mon Jul 12 14:00:17 UTC 2010 x86_64 GNU/Linux
domU: Same: Linux kaan-22 2.6.32.16 #1 SMP Mon Jul 12 14:00:17 UTC 2010 x86_64 GNU/Linux

Thanks for looking into this.

-Bruce


thanks,
M


Attachment: screenlog.23.gz
Description: GNU Zip compressed data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>