This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix exec.c handling in Makefile
- From: Tom Tromey <tromey at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 9 Jul 2018 14:04:43 -0000
- Subject: [binutils-gdb] Fix exec.c handling in Makefile
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=981e0c0c1aabcd78409184c79e8f88b5de918e38
commit 981e0c0c1aabcd78409184c79e8f88b5de918e38
Author: Tom Tromey <tom@tromey.com>
Date: Mon Jul 2 07:09:37 2018 -0600
Fix exec.c handling in Makefile
exec.c ws handled specially in COMMON_OBS, but there doesn't seem to
be a reason for this. This changes the Makefile to treat exec.c as an
ordinary source file.
gdb/ChangeLog
2018-07-09 Tom Tromey <tom@tromey.com>
* Makefile.in (ALLDEPFILES): Remove exec.c.
(COMMON_OBS): Remove exec.o.
(COMMON_SFILES): Add exec.c.
Diff:
---
gdb/ChangeLog | 6 ++++++
gdb/Makefile.in | 3 +--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 83c2947..b8bc5cf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2018-07-09 Tom Tromey <tom@tromey.com>
+ * Makefile.in (ALLDEPFILES): Remove exec.c.
+ (COMMON_OBS): Remove exec.o.
+ (COMMON_SFILES): Add exec.c.
+
+2018-07-09 Tom Tromey <tom@tromey.com>
+
* Makefile.in (LINT, LINTFLAGS, LINTFILES, lint): Remove.
2018-07-09 Tom Tromey <tom@tromey.com>
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index f4286f8..047d06b 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1006,6 +1006,7 @@ COMMON_SFILES = \
event-loop.c \
event-top.c \
exceptions.c \
+ exec.c \
expprint.c \
extension.c \
f-lang.c \
@@ -1551,7 +1552,6 @@ TAGFILES_NO_SRCDIR = $(SFILES) $(HFILES_NO_SRCDIR) $(ALLDEPFILES) \
TAGFILES_WITH_SRCDIR = $(HFILES_WITH_SRCDIR)
COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \
- exec.o \
mi/mi-common.o \
version.o \
xml-builtin.o \
@@ -2208,7 +2208,6 @@ ALLDEPFILES = \
bsd-uthread.c \
darwin-nat.c \
dicos-tdep.c \
- exec.c \
fbsd-nat.c \
fbsd-tdep.c \
fork-child.c \