All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Mukesh Rathor <mukesh.rathor@oracle.com>
Cc: xen-devel@lists.xensource.com, Bruce Edge <bruce.edge@gmail.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: State of gdbsx in xen-4.0-testing.hg and debugger documentation.
Date: Thu, 01 Jul 2010 23:54:34 +0200	[thread overview]
Message-ID: <4C2D0E9A.4010100@goop.org> (raw)
In-Reply-To: <20100701131336.5409f873@mantra.us.oracle.com>

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

> Note, you don't need to do anything in tools/debugger/gdb and/or
> gdbbuild.  tools/debugger/gdb (gdbbuild) is unlreated to gdbsx.
>
> Perhaps, we should just remove tools/debugger/gdb if it's not being
> maintained and no one is using it.
>
> thanks,
> Mukesh
>
>
>
> On Thu, 1 Jul 2010 10:53:31 -0400
> Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
>
>   
>> On Wed, Jun 30, 2010 at 10:16:10PM -0700, Bruce Edge wrote:
>>     
>>> Can one build a usable gdbsx from xen-4.0-testing.hg?
>>>       
>> CC-ing the author - Mukesh.
>>     
>>> Actually a more relevant is, is this still the preferred mechanism
>>> for domU kernel debugging?
>>>
>>> The documentation on building it is a bit out of date and
>>> conflicting.
>>>
>>> This post http://blog.xen.org/index.php/2009/10/21/debugging-on-xen/
>>> States that one needs to use this repo:
>>> http://xenbits.xensource.com/ext/debuggers.hg
>>>
>>> Which looks like hasn't been updated since 4.0 was released as it's
>>> still referencing 4.0-rc
>>>
>>> 0 %> hg clone http://xenbits.xensource.com/ext/debuggers.hg
>>>
>>> destination directory: debuggers.hg
>>> requesting all changes
>>> adding changesets
>>> adding manifests
>>> adding file changes
>>> added 20375 changesets with 117688 changes to 11049 files (+1 heads)
>>> updating working directory
>>> .hgtags@809b20f066fb, line 39: tag '4.0.0-rc1' refers to unknown
>>> node .hgtags@809b20f066fb, line 40: tag '4.0.0-rc2' refers to
>>> unknown node .hgtags@809b20f066fb, line 41: tag '4.0.0-rc3' refers
>>> to unknown node .hgtags@809b20f066fb, line 42: tag '4.0.0-rc4'
>>> refers to unknown node .hgtags@809b20f066fb, line 43: tag
>>> '4.0.0-rc5' refers to unknown node .hgtags@809b20f066fb, line 44:
>>> tag '4.0.0-rc6' refers to unknown node 3164 files updated, 0 files
>>> merged, 0 files removed, 0 files unresolved
>>>
>>> This post: http://zhigang.org/wiki/XenDebugging#xend-debugging
>>> refers to magically generated Oracle images with no information on
>>> how they were created or what sources to use.
>>>
>>> Other posts state that gdbsx has been integrated into
>>> xen-unstable.hg. Does that mean all that's needed to build a debug
>>> enabled xen image is:
>>>
>>> (cd tools/debugger/gdb && ./gdbbuild ) ;
>>> make kdb=y gdbsx=y && make dist
>>>
>>> Thanks
>>>
>>> -Bruce
>>>       
>>     
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>>       
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>   

  parent reply	other threads:[~2010-07-01 21:54 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-01  5:16 State of gdbsx in xen-4.0-testing.hg and debugger documentation Bruce Edge
2010-07-01 14:53 ` Konrad Rzeszutek Wilk
2010-07-01 20:13   ` Mukesh Rathor
2010-07-01 20:47     ` Bruce Edge
2010-07-14  5:29       ` Bruce Edge
2010-07-14  5:37         ` Bruce Edge
2010-07-14 22:35           ` Mukesh Rathor
2010-07-14 21:10         ` Mukesh Rathor
2010-09-28 16:55           ` Bruce Edge
2010-09-29  1:58             ` Mukesh Rathor
2010-07-01 20:48     ` Keir Fraser
2010-07-02 10:45       ` Stefano Stabellini
2010-07-02 16:52         ` Ian Jackson
2010-07-01 21:54     ` Jeremy Fitzhardinge [this message]
2010-07-01 22:08       ` Mukesh Rathor
2010-07-14 14:29         ` Bruce Edge
2010-07-14 23:17           ` Mukesh Rathor
2010-07-15  2:18             ` Mukesh Rathor
2010-07-01 23:51     ` Bruce Edge
2010-07-02  6:11       ` Keir Fraser
2010-07-02 13:11         ` Bruce Edge
2010-07-02 16:53           ` Ian Jackson
2010-07-02 22:41             ` Bruce Edge
2010-07-02 23:43               ` [PATCH] " Bruce Edge
2010-07-06 11:57               ` Ian Jackson
2010-07-06 13:37                 ` Bruce Edge
2010-07-06 23:40                 ` Bruce Edge
2010-07-08 15:51                   ` Ian Jackson

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=4C2D0E9A.4010100@goop.org \
    --to=jeremy@goop.org \
    --cc=bruce.edge@gmail.com \
    --cc=konrad.wilk@oracle.com \
    --cc=mukesh.rathor@oracle.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.