[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Debugging user-space applications with gdbserver-xen?


I'm trying to debug the process startup in my guest-OS and was
somewhat confused about how gdbserver-xen acts during the transition
from ring 1-3. If I set a breakpoint in the ring 3 code, my guest os
will just get a debug trap, whereas breakpoints in ring 1 takes me to

Is this the indended behavior? (I can see that it makes sense in a

Another thing: how difficult would it be to implement the debugging
support with the debug registers instead of int3? (pointers?) The
debug registers should also enable some other possibilities such as
efficient watch points.

// Simon

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.