From: Kip Macy Subject: [PATCH] fix attaching to crashed domain Date: Sun, 4 Dec 2005 18:35:05 -0600 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1901_32347470.1133742905639" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org ------=_Part_1901_32347470.1133742905639 Content-Type: multipart/alternative; boundary="----=_Part_1902_15030995.1133742905639" ------=_Part_1902_15030995.1133742905639 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline Rml4ZXMgcHJvYmxlbSBlbmNvdW50ZXJlZCBieSBTaW1vbiBLYXJnc3Ryb20uCg== ------=_Part_1902_15030995.1133742905639 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline Rml4ZXMgcHJvYmxlbSBlbmNvdW50ZXJlZCBieSBTaW1vbiBLYXJnc3Ryb20uPGJyPgo= ------=_Part_1902_15030995.1133742905639-- ------=_Part_1901_32347470.1133742905639 Content-Type: application/octet-stream; name=crash_attach.patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="crash_attach.patch" # HG changeset patch # User kmacy@localhost.localdomain # Node ID bc032526d5eb89e7ef4650cb2b0511b8a4554188 # Parent 83c1b3dbd1292abe3038a2dbac233b144bf5794d Fix case of attaching to crashed domain remove DOMU_DEBUG cruft diff -r 83c1b3dbd129 -r bc032526d5eb tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/linux-xen-low.c --- a/tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/linux-xen-low.c Sun Dec 4 21:38:01 2005 +++ b/tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/linux-xen-low.c Sun Dec 4 22:31:50 2005 @@ -231,11 +231,6 @@ if (myxcwait(xc_handle, current_domid, &w, 0)) return -1; - if (w & (DOMFLAGS_SHUTDOWN|DOMFLAGS_DYING)) { - *status = 'W'; - return 0; - } - linux_set_inferior(); *status = 'T'; diff -r 83c1b3dbd129 -r bc032526d5eb xen/Rules.mk --- a/xen/Rules.mk Sun Dec 4 21:38:01 2005 +++ b/xen/Rules.mk Sun Dec 4 22:31:50 2005 @@ -6,7 +6,6 @@ debug ?= n perfc ?= n perfc_arrays?= n -domu_debug ?= n crash_debug ?= n XEN_ROOT=$(BASEDIR)/.. @@ -54,10 +53,6 @@ CFLAGS += -g -DVERBOSE endif -ifeq ($(domu_debug),y) -CFLAGS += -DDOMU_DEBUG -endif - ifeq ($(crash_debug),y) CFLAGS += -g -DCRASH_DEBUG endif ------=_Part_1901_32347470.1133742905639 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ------=_Part_1901_32347470.1133742905639--