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

Re: [Xen-devel] possible changes was Re: [PATCH] make domu_debug run-time option + fix int3 handling for MP



I don't think it's a domain builder issue.

What do I do if I'm starting an OS specifically for debugging? Right now I can do an int3 so that it will be paused. GDB isn't doing the forking and gdbserver can't attach until the VM is running, so there is no equivalent to putting a breakpoint on main(). I guess pausing the guest immediately after creation could
work.

Doesn't the gdb server have to attach to the new vm to be able to set the breakpoint, leading to a race anyway? Or have you some way to pre-insert an int3?

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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