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/
Home Products Support Community News


[Xen-devel] [PATCH] coredump support

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] coredump support
From: Kip Macy <kip.macy@xxxxxxxxx>
Date: Fri, 29 Apr 2005 19:20:11 -0700
Delivery-date: Sat, 30 Apr 2005 02:19:52 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=MYtaXsH6C714+o6Ir77PU+pObc5aPkwltGhCEKoKn5SBkKIL1Wzgd+6IhiGgtyJHsJYxvl9YJPcvQ4T8dlO5BZEOSTetLbC9KhUUGgzGJaTu+liYp9ktwItBzbXiiVOT1AWRo2bgYwzgjwKXdlqG1a9yrrOSCfwlAD2EYeHi2qU=
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>
Reply-to: Kip Macy <kip.macy@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

This patch adds an interface to libxc to do a coredump of a domain. It
also extends gdbserver to allow one to debug a coredump as if it were
a permanently paused guest.

> gdbserver-xen ip:port --file corename

Then from a gdb with the symbols loaded it is the same as before:

(gdb) target remote ip:port

Assuming you've applied the previous ptrace patch, you'll have to do a
trivial resolve in xc_ptrace.c because of the recent name changes.

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] coredump support, Kip Macy <=