WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] debugging xfrd with breakpoints?

To: "AARON J MARKS" <ajmarks@xxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] debugging xfrd with breakpoints?
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Sun, 10 Jul 2005 18:44:12 +0100
Delivery-date: Sun, 10 Jul 2005 17:42:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcWEMOYk0nsEfCBQRkGpxDvK5qtHzABRgCHw
Thread-topic: [Xen-devel] debugging xfrd with breakpoints?
> i'd really like to trace through xc_linux_save() in xfrd (to 
> gain insight into how you transfer pages into dom0), but when 
> it's under control of gdb
> *and* there's a breakpoint set in xc_linux_save, the domain 
> save fails (most of the time):
> 
> jake % /usr/sbin/xm save ttylinux yyy
> Error: errors: save failed

You're probably triggering a timeout in the parent process.

Ian
 
> and by "most of the time" i mean i've seen it work a few 
> times, but it usually fails. without the breakpoint, xfrd can 
> be under gdb and the save succeedes.
> 
> is this approach even supported? i'd prefer to use a debugger 
> to step through the code; printfs are SO crude ;).
> 
> if you need trace or log output, just let me know.
> 
> thanks in advance,
> -A.
> 
> --
> Aaron Marks
> Distributed Systems Lab
> University of Pennsylvania
> www.cis.upenn.edu/~ajmarks
> 
> "Strange women lying in ponds distributing swords is no basis 
>  for a system of government."
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
> 

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

<Prev in Thread] Current Thread [Next in Thread>