aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/Makefile.in5
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b210e76..a103944 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2001-11-17 Andrew Cagney <ac131313@redhat.com>
+ * Makefile.in (distclean): Explicitly delete Makefile et.al. in
+ gdbserver sub directory.
+
+2001-11-17 Andrew Cagney <ac131313@redhat.com>
+
* README: Mention need for alloca(). Mention problems with
alpha-dec-osf4.0e. Clarify that comments refer to GDB 5.1.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 2daf0d9..691d665 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -970,8 +970,13 @@ clean mostlyclean: $(CONFIG_CLEAN)
# I believe this is wrong; the makefile standards for distclean just
# describe removing files; the only sort of "re-create a distribution"
# functionality described is if the distributed files are unmodified.
+# NB: While GDBSERVER might be configured on native systems, it isn't
+# always included in SUBDIRS. Remove the gdbserver files explictly.
distclean: clean
@$(MAKE) $(FLAGS_TO_PASS) DO=distclean "DODIRS=$(SUBDIRS)" subdir_do
+ rm -f gdbserver/config.status gdbserver/config.log
+ rm -f gdbserver/tm.h gdbserver/xm.h gdbserver/nm.h
+ rm -f gdbserver/Makefile gdbserver/config.cache
rm -f nm.h tm.h xm.h config.status config.h stamp-h .gdbinit
rm -f y.output yacc.acts yacc.tmp y.tab.h
rm -f config.log config.cache