diff options
author | Tim Deegan <Tim.Deegan@citrix.com> | 2010-10-26 11:56:31 +0100 |
---|---|---|
committer | Tim Deegan <Tim.Deegan@citrix.com> | 2010-10-26 11:56:31 +0100 |
commit | 5717f513696c4d926327df2af2ccdbfc80adbc29 (patch) | |
tree | b381606398b1507019961ffd465f246f0e8790bd /tools/debugger/kdd/Makefile | |
parent | 7f18fb47e5a86772b274fe4811b99f7cf600371b (diff) | |
download | xen-5717f513696c4d926327df2af2ccdbfc80adbc29.tar.gz xen-5717f513696c4d926327df2af2ccdbfc80adbc29.tar.bz2 xen-5717f513696c4d926327df2af2ccdbfc80adbc29.zip |
"kdd" Windows debugger stub.
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>
Diffstat (limited to 'tools/debugger/kdd/Makefile')
-rw-r--r-- | tools/debugger/kdd/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/debugger/kdd/Makefile b/tools/debugger/kdd/Makefile new file mode 100644 index 0000000000..0211c008dd --- /dev/null +++ b/tools/debugger/kdd/Makefile @@ -0,0 +1,22 @@ +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 |