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]

[RFA 11/13] Add missing files to COMMON_SFILES


While working on the previous patch, I found a few .o files whose
corresponding .c file was not mentioned in Makefile.in.  This patch
fixes the problem.  I pulled this out separately to make it simpler to
review.

ChangeLog
2017-11-21  Tom Tromey  <tom@tromey.com>

	* Makefile.in (COMMON_OBS): Remove filename-seen-cache.o,
	registry.o, thread-fsm.o, debug.o.
	(COMMON_SFILES): Add filename-seen-cache.c, registry.c,
	thread-fsm.c, debug.c.
---
 gdb/ChangeLog   | 7 +++++++
 gdb/Makefile.in | 8 ++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 4161361ce3..69369cca8a 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -953,6 +953,7 @@ COMMON_SFILES = \
 	d-namespace.c \
 	d-valprint.c \
 	dbxread.c \
+	debug.c \
 	demangle.c \
 	dictionary.c \
 	disasm.c \
@@ -972,6 +973,7 @@ COMMON_SFILES = \
 	f-lang.c \
 	f-typeprint.c \
 	f-valprint.c \
+	filename-seen-cache.c \
 	filesystem.c \
 	findcmd.c \
 	findvar.c \
@@ -1044,6 +1046,7 @@ COMMON_SFILES = \
 	record-full.c \
 	regcache.c \
 	reggroups.c \
+	registry.c \
 	reverse.c \
 	rust-lang.c \
 	selftest-arch.c \
@@ -1066,6 +1069,7 @@ COMMON_SFILES = \
 	target-descriptions.c \
 	target-memory.c \
 	thread.c \
+	thread-fsm.c \
 	tid-parse.c \
 	top.c \
 	trad-frame.c \
@@ -1538,12 +1542,10 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
 	job-control.o \
 	common-regcache.o \
 	common-utils.o \
-	debug.o \
 	environ.o \
 	errors.o \
 	exec.o \
 	fileio.o \
-	filename-seen-cache.o \
 	filestuff.o \
 	format.o \
 	gdb_tilde_expand.o \
@@ -1552,13 +1554,11 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
 	new-op.o \
 	print-utils.o \
 	ptid.o \
-	registry.o \
 	rsp-low.o \
 	run-time-clock.o \
 	selftest.o \
 	signals.o \
 	signals-state-save-restore.o \
-	thread-fsm.o \
 	vec.o \
 	version.o \
 	waitstatus.o \
-- 
2.13.6


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