From 56aebc891674cd2d07b3f64183415697be200084 Mon Sep 17 00:00:00 2001 From: pbrook Date: Sat, 11 Oct 2008 17:55:29 +0000 Subject: Add GDB XML register description support. Signed-off-by: Paul Brook git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5459 c046a42c-6fe2-441c-8c8c-71466251a162 --- Makefile.target | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Makefile.target') diff --git a/Makefile.target b/Makefile.target index f6ec8ef..e21ebac 100644 --- a/Makefile.target +++ b/Makefile.target @@ -418,7 +418,7 @@ OBJS+= m68k-sim.o m68k-semi.o endif ifdef CONFIG_GDBSTUB -OBJS+=gdbstub.o +OBJS+=gdbstub.o gdbstub-xml.o endif OBJS+= libqemu.a @@ -456,7 +456,7 @@ OBJS= main.o commpage.o machload.o mmap.o signal.o syscall.o thunk.o OBJS+= libqemu.a ifdef CONFIG_GDBSTUB -OBJS+=gdbstub.o +OBJS+=gdbstub.o gdbstub-xml.o endif # Note: this is a workaround. The real fix is to avoid compiling @@ -626,7 +626,7 @@ OBJS+= an5206.o mcf5206.o ptimer.o mcf_uart.o mcf_intc.o mcf5208.o mcf_fec.o OBJS+= m68k-semi.o dummy_m68k.o endif ifdef CONFIG_GDBSTUB -OBJS+=gdbstub.o +OBJS+=gdbstub.o gdbstub-xml.o endif ifdef CONFIG_COCOA COCOA_LIBS=-F/System/Library/Frameworks -framework Cocoa -framework IOKit @@ -674,6 +674,14 @@ $(QEMU_PROG): $(OBJS) ../libqemu_common.a libqemu.a endif # !CONFIG_USER_ONLY +gdbstub-xml.c: $(TARGET_XML_FILES) feature_to_c.sh + rm -f $@ +ifeq ($(TARGET_XML_FILES),) + echo > $@ +else + $(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES) +endif + %.o: %.c $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< -- cgit v1.1