|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] possible changes was Re: [PATCH] make domu_debug	run-tim
 
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
 
 |   
 
 | 
    | 
  
  
    |   | 
    |