aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-02-08 16:25:08 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-02-08 16:25:08 +0000
commitf2c4d933e69aa357518329d9dd3641fb5d05e28c (patch)
tree9212dca43fa8a66189237d556ffc8490d787f950 /gdb/Makefile.in
parentf805106cd375e6b5fc6036c95cf99eb6e3c9c7fa (diff)
downloadgdb-f2c4d933e69aa357518329d9dd3641fb5d05e28c.zip
gdb-f2c4d933e69aa357518329d9dd3641fb5d05e28c.tar.gz
gdb-f2c4d933e69aa357518329d9dd3641fb5d05e28c.tar.bz2
2000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* configure.in: Remove the addition of sol-thread.c to the CONFIG_INITS list. This caused problems with init.c, because sol-thread.c would be grepped twice for _initialize_* functions. * configure: Ditto. * Makefile.in: Add FIXME for init.c.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 034cafa..4d27467 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -687,6 +687,13 @@ uninstall: force
# Note that the set of files with init functions might change, or the names
# of the functions might change, so this files needs to depend on all the
# object files that will be linked into gdb.
+#
+# FIXME: There are 2 problems with this approach. First, if the INIT_FILES
+# list includes a file twice (because of some mistake somewhere else)
+# the _initialize_* function will be included twice in init.c. Second,
+# init.c may force unnecessary files to be linked in. Like for instance
+# tui-file.c.
+#
INIT_FILES = $(OBS) $(TSOBS) $(SUBDIR_INIT_FILES) @CONFIG_INITS@
init.c: $(INIT_FILES)