xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Bruce Edge <bruce.edge@gmail.com>,
	Mukesh Rathor <mukesh.rathor@oracle.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: State of gdbsx in xen-4.0-testing.hg and debugger documentation.
Date: Fri, 2 Jul 2010 07:11:19 +0100	[thread overview]
Message-ID: <C8534197.19427%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <AANLkTilqNc_oQ0JmUYUBHLBmNOZ-K8VklsEOEDAHvGlt@mail.gmail.com>

On 02/07/2010 00:51, "Bruce Edge" <bruce.edge@gmail.com> wrote:

> Is there any reason to not build gdbsx by default?
> 
> IOW does it affect performance?

There's no reason not to build it always. We could get rid of the build-time
option.

 -- Keir

> -Bruce
> 
> 
> On Thu, Jul 1, 2010 at 1:13 PM, Mukesh Rathor <mukesh.rathor@oracle.com>
> 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.
>> 
>> 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
>> 
> 
> 

  reply	other threads:[~2010-07-02  6:11 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
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 [this message]
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=C8534197.19427%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).