All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mukesh Rathor <mukesh.rathor@oracle.com>
To: Alexey Tumanov <atumanov@gmail.com>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: ext/debuggers.hg
Date: Thu, 11 Jun 2009 15:26:33 -0700	[thread overview]
Message-ID: <4A318499.9080907@oracle.com> (raw)
In-Reply-To: <2453e2900906101605w1f24946w8d9dcbdd56eb4d58@mail.gmail.com>



Alexey Tumanov wrote:
> Hi Mukesh,
> 
> I've just discovered your ongoing work on ext/debuggers.hg and had a
> few quick questions. First of all, though, thanks a lot for doing
> this. I personally, can't work without an ability to step through the
> code with a debugger, esp. when learning a new part of the system.

  Same here.

> q1: has your work been merged to xen-unstable or not? I see you've
> kept a separate tree under ext/debuggers.hg and kept it relatively
> in-sync with xen-unstable up until c/set 19569.

  Not yet, hopefully soon tho.

> q2: have you considered maintaining a mercurial patch queue on top of
> xen-unstable as opposed to a separate tree? That would make it easier
> to look at the diff you've contributed

Limited on time. Most people preferred external tree.
Creating a patch is easy tho.

   - hg clone ext/debugger.hg
   - hg clone xen-unstable -r 19569 or whatever debugger is synced to.
   - diff the two
   - apply the patch to any c/s of unstable

> q3: (related to q2 & q1) I'm not entirely sure whether I can get
> built-in kdb support when I build vanilla xen-unstable. Basically, can
> I get some sort of debugging support for the hypervisor/dom0 from
> xen-unstable.hg and what does it take (make debug=y ?)

apply the diff from q2 to unstable, for the most part it should apply
cleanly. Please note, debug=y is not supported. Please start with kdb/README.

> q4: is there a differerence between the gdb debugging support in your
> tree compared to xen-unstable tools/debugger/gdb?

i'm not sure what state that is, but kdb is targeted for xen and dom0
debug. you may experience hang with dom0 single step, i've fixed it.
i'll upload it soon as soon as i get over this stupid flu.
Email me if you want the patch.

> 
> Thanks a lot for reading this, and keep up the great work you've done
> easing the learning curve for those who are just starting out with Xen
> dev!!
> 
> Alex.


take care,
Mukesh

           reply	other threads:[~2009-06-11 22:26 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <2453e2900906101605w1f24946w8d9dcbdd56eb4d58@mail.gmail.com>]

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=4A318499.9080907@oracle.com \
    --to=mukesh.rathor@oracle.com \
    --cc=atumanov@gmail.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.