Skip to contentSkip to conversation

Resend: setting breakpoints around hypercalls in a domU causes dom0 to lockup

DISCUSSION Kip Macy 2 participants 3 messages Dec 31, 2005 – Jan 2, 2006

lore
Share & tools
lore

Kip Macy

author
#0 lore raw

Any thoughts on setting breakpoints around hypercalls?

---------- Forwarded message ----------
From: Kip Macy <[email protected]>
Date: Dec 26, 2005 12:14 AM
Subject: setting breakpoints around hypercalls in a domU causes dom0 to lockup
To: xen-devel <[email protected]>, Keir Fraser < [email protected]>

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
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

How do you mean? Replacing hypercall int instruction with int3? I would expect that to work.

-- Keir

Quoted 12 lines · Kip Macy

Any thoughts on setting breakpoints around hypercalls?

---------- Forwarded message ----------
From: Kip Macy <[email protected] >
Date: Dec 26, 2005 12:14 AM
Subject: setting breakpoints around hypercalls in a domU causes dom0 to lockup
To: xen-devel <[email protected] >, Keir Fraser <[email protected]>

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

author
#2 lore raw

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

Quoted 27 lines · Keir Fraser

How do you mean? Replacing hypercall int instruction with int3? I would expect that to work.

-- Keir

Quoted 16 lines · Kip Macy

Any thoughts on setting breakpoints around hypercalls?

---------- Forwarded message ----------
From: Kip Macy <[email protected] >
Date: Dec 26, 2005 12:14 AM
Subject: setting breakpoints around hypercalls in a domU causes dom0 to lockup
To: xen-devel <[email protected] >, Keir Fraser <[email protected]>

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
[email protected]
http://lists.xensource.com/xen-devel