mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
kdd runs in dom0, attaches to a domain and speaks the Windows kd serial protocol over a TCP connection (which should go to kd or windbg, e.g. by having another VM with its virtual COM1 set up as a TCP listener). It doesn't do breakpoints &c yet, and windbg can get quite confused since the kernel debugger's not actually running, but it's good enough to extract backtraces from wedged VMs. Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
23 lines
431 B
Makefile
23 lines
431 B
Makefile
XEN_ROOT = ../../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
CFLAGS += $(CFLAGS_libxenctrl)
|
|
LDLIBS += $(LDLIBS_libxenctrl)
|
|
|
|
CFILES := kdd.c kdd-xen.c
|
|
OBJS := $(CFILES:.c=.o)
|
|
|
|
all: kdd
|
|
|
|
kdd: $(OBJS)
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f $(OBJS) kdd
|
|
|
|
.PHONY: install
|
|
install: all
|
|
[ -d $(DESTDIR)$(SBINDIR) ] || $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
|
|
$(INSTALL_PROG) kdd $(DESTDIR)$(SBINDIR)/kdd
|