Kip Macy
2005-Dec-31 04:37 UTC
[Xen-devel] Resend: setting breakpoints around hypercalls in a domU causes dom0 to lockup
Any thoughts on setting breakpoints around hypercalls?
---------- Forwarded message ----------
From: Kip Macy <kip.macy@gmail.com>
Date: Dec 26, 2005 12:14 AM
Subject: setting breakpoints around hypercalls in a domU causes dom0 to
lockup
To: xen-devel <xen-devel@lists.xensource.com>, Keir Fraser <
Keir.Fraser@cl.cam.ac.uk>
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@lists.xensource.com
http://lists.xensource.com/xen-devel
Keir Fraser
2005-Dec-31 09:38 UTC
[Xen-devel] Re: Resend: setting breakpoints around hypercalls in a domU causes dom0 to lockup
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@gmail.com > > Date: Dec 26, 2005 12:14 AM > Subject: setting breakpoints around hypercalls in a domU causes dom0 > to lockup > To: xen-devel <xen-devel@lists.xensource.com >, Keir Fraser > <Keir.Fraser@cl.cam.ac.uk> > > 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@lists.xensource.com http://lists.xensource.com/xen-devel
Kip Macy
2006-Jan-02 06:05 UTC
[Xen-devel] Re: Resend: setting breakpoints around hypercalls in a domU causes dom0 to lockup
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@cl.cam.ac.uk>
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@gmail.com >
> > Date: Dec 26, 2005 12:14 AM
> > Subject: setting breakpoints around hypercalls in a domU causes dom0
> > to lockup
> > To: xen-devel <xen-devel@lists.xensource.com >, Keir Fraser
> > <Keir.Fraser@cl.cam.ac.uk>
> >
> > 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@lists.xensource.com
http://lists.xensource.com/xen-devel