This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Committed sim/mips: Add missing header dependencies for SIM_MULTI_OBJ.


Obviously and see the context where non-multi-objs depend on it.
Found the usual hard way: do a necessary edit in sim-main.h and
observe fallout when the igen-generated semantics files aren't
recompiled.  I know there probably *should* also be an explicit
dependency from the .o to the .c too as in the non-multi-objs
but at least this is an improvement.  Committed after rebuilding
and retesting sim for mipsisa32r2-elf mips-elf mips64vrel-elf.

sim/mips:
	* Makefile.in ($(SIM_MULTI_OBJ)): Depend on sim-main.h
	$(SIM_EXTRA_DEPS).

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/mips/Makefile.in,v
retrieving revision 1.15
diff -p -u -r1.15 Makefile.in
--- Makefile.in	8 Jul 2011 03:18:56 -0000	1.15
+++ Makefile.in	8 Jul 2011 03:35:12 -0000
@@ -198,6 +198,8 @@ m32_support.o: sim-main.h m32_support.c 
 m32_idecode.o: sim-main.h m32_idecode.c $(SIM_EXTRA_DEPS)
 m32_icache.o: sim-main.h m32_icache.c $(SIM_EXTRA_DEPS)
 
+$(SIM_MULTI_OBJ): sim-main.h $(SIM_EXTRA_DEPS)
+
 BUILT_SRC_FROM_M16 = \
 	m16_icache.h \
 	m16_icache.c \

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]