Skip to contentSkip to conversation

fix attaching to crashed domain

PATCH In review Kip Macy 2 participants 2 messages Dec 5, 2005 – Dec 7, 2005

lore
Share & tools
lore

Kip Macy

author
#0 lore raw

PATCH 1/1 fix attaching to crashed domain

Fixes problem encountered by Simon Kargstrom.

# HG changeset patch
# User [email protected]
# Node ID bc032526d5eb89e7ef4650cb2b0511b8a4554188 # Parent 83c1b3dbd1292abe3038a2dbac233b144bf5794d Fix case of attaching to crashed domain remove DOMU_DEBUG cruft

tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/linux-xen-low.c +0 -5
diff -r 83c1b3dbd129 -r bc032526d5eb tools/debugger/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/linux-xen-low.c
@@ -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';
xen/Rules.mk +0 -5
diff -r 83c1b3dbd129 -r bc032526d5eb xen/Rules.mk
@@ -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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw
Quoted 1 line · Kip Macy

Fixes problem encountered by Simon Kargstrom.

Excellent!

I applied the wrong patch first, sorry for that. Anyway, now I can attach to crashed domains, thanks!

Signature · 1 line
// Simon