aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-06-01 19:28:24 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-06-01 19:28:24 +0000
commitd3507982fb3837ea4f02432aa16f3d18135cdd62 (patch)
tree0f2455bb00e11b55b62b30ae6fa306de71c90d95 /gdb/Makefile.in
parent220642fd4757673af90a84ee0532bc7a9c7d785a (diff)
downloadgdb-d3507982fb3837ea4f02432aa16f3d18135cdd62.zip
gdb-d3507982fb3837ea4f02432aa16f3d18135cdd62.tar.gz
gdb-d3507982fb3837ea4f02432aa16f3d18135cdd62.tar.bz2
* inftarg.c (child_wait): Call proc_wait, not wait.
(child_mourn_inferior): Call proc_remove_foreign. * main.c (gdb_init): Call init_proc. * main.c: Provide dummy versions of init_proc, proc_wait, and proc_remove_foreign for the gdb case (the libgdb case provides its own versions of these functions). * Makefile.in (libgdb-files): Add libproc.a.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 1842d52..84eb85a 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -555,8 +555,14 @@ gdb: $(OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
$(CC-LD) $(INTERNAL_LDFLAGS) -o gdb \
init.o $(OBS) $(TSOBS) $(ADD_FILES) $(CLIBS) $(LOADLIBES)
-LIBGDBFILES=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
-libgdb-files: $(LIBGDBFILES) Makefile.in
+# libproc is not listed here because all-libproc is a dependency of all-gui,
+# not all-gdb, and thus might be built after us.
+LIBGDBDEPS=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) $(ADD_DEPS) $(CDEPS) init.o
+# libproc needs to be before libiberty for alloca.
+LIBGDBFILES=$(COMMON_OBS) $(LIBGDB_OBS) $(TSOBS) ../libproc/libproc.a \
+ $(ADD_DEPS) $(CDEPS) init.o
+
+libgdb-files: $(LIBGDBDEPS) Makefile.in
-rm -f libgdb-files
for i in $(LIBGDBFILES); do\
echo $$i >> libgdb-files;\