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

[Xen-devel] Re: Resend: setting breakpoints around hypercalls in a domU

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-devel] Re: Resend: setting breakpoints around hypercalls in a domU causes dom0 to lockup
From: Kip Macy <kip.macy@xxxxxxxxx>
Date: Mon, 2 Jan 2006 00:05:41 -0600
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 02 Jan 2006 06:10:31 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=qu/giQc35qkyAVhpnr6YnHBLRaPeIOPr6Zi3Di3MN3rgo+VDsrBzTuI/GmSoaUL1BlV5xG1o32ciwrM5uEGdkhGQgTzmq6eH3cIARDpdKql/eWkGIGKzZvo6gxvFUL3lBGfehIboP5Q1IhMjtxyGzag9jJa1N9TgVjkOB9A6H8c=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <dbc8bd7e82491b9ebd070263eb1c91bf@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <b1fa29170512302037y45647d23mda7d0d3c59abbc3c@xxxxxxxxxxxxxx> <dbc8bd7e82491b9ebd070263eb1c91bf@xxxxxxxxxxxx>
Reply-to: kmacy@xxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
When one types 'next' in GDB, GDB looks up the address of the first instruction for the next line of source code and sticks a breakpoint there. If one 'next's through an inline hypercall function the dom0 has consistently locked up on me. Next time I think about this problem I'll enable debug output to find out where the breakpoints are actually being put.

                      -Kip

On 12/31/05, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
How do you mean? Replacing hypercall int instruction with int3? I would
expect that to work.

  -- Keir


On 31 Dec 2005, at 04:37, Kip Macy wrote:

> Any thoughts on setting breakpoints around hypercalls?
>
> ---------- Forwarded message ----------
> From: Kip Macy <kip.macy@xxxxxxxxx >
> Date: Dec 26, 2005 12:14 AM
> Subject: setting breakpoints around hypercalls in a domU causes dom0
> to lockup
> To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx >, Keir Fraser
> <Keir.Fraser@xxxxxxxxxxxx >
>
> Stepping through hypercalls (at the source level, not using the trace
> trap) causes my dom0 to lockup. Might xen be receiving the int3 and
> not realize whom to forward to?
>
>
>   -Kip


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Re: Resend: setting breakpoints around hypercalls in a domU causes dom0 to lockup, Kip Macy <=