* .gdbinit: Rename to gdbinit.in.
* gdbinit.in: New file,
* configure.in: Generate .gdbinit from gdbinit.in.
* configure: Regenerated.
* Makefile.in (distclean): Always remove .gdbinit.
From-SVN: r39759
+2001-02-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
+
+ * .gdbinit: Rename to gdbinit.in.
+ * gdbinit.in: New file,
+ * configure.in: Generate .gdbinit from gdbinit.in.
+ * configure: Regenerated.
+ * Makefile.in (distclean): Always remove .gdbinit.
+
2001-02-16 Jakub Jelinek <jakub@redhat.com>
* objc/objc-act.c (start_class): Register implemented_classes with
-rm -f testsuite/{gcc,g++}.{log,sum}
-rm -f intl/libintl.h libintl.h
-rm -f cxxmain.c splay-tree.c obstack.c alloca.c hashtab.c safe-ctype.c
- -rm -f mklibgcc libgcc.map gccbug configargs.h
+ -rm -f mklibgcc libgcc.map gccbug .gdbinit configargs.h
-rm -f gcov.pod
-rm -f fixinc/Makefile
-rmdir cp f java objc fixinc intl po 2>/dev/null
echo "lang.$t: $x" >> Make-hooks
done
-# If we're not building in srcdir, create .gdbinit.
+# Create .gdbinit.
-if test ! -f Makefile.in; then
- echo "dir ." > .gdbinit
- echo "dir ${srcdir}" >> .gdbinit
- if test x$gdb_needs_out_file_path = xyes
- then
- echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
- fi
- if test "x$subdirs" != x; then
- for s in $subdirs
- do
- echo "dir ${srcdir}/$s" >> .gdbinit
- done
- fi
- echo "source ${srcdir}/.gdbinit" >> .gdbinit
+echo "dir ." > .gdbinit
+echo "dir ${srcdir}" >> .gdbinit
+if test x$gdb_needs_out_file_path = xyes
+then
+ echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
+fi
+if test "x$subdirs" != x; then
+ for s in $subdirs
+ do
+ echo "dir ${srcdir}/$s" >> .gdbinit
+ done
fi
+echo "source ${srcdir}/gdbinit.in" >> .gdbinit
# Define variables host_canonical and build_canonical
# because some Cygnus local changes in the Makefile depend on them.
echo "lang.$t: $x" >> Make-hooks
done
-# If we're not building in srcdir, create .gdbinit.
+# Create .gdbinit.
-if test ! -f Makefile.in; then
- echo "dir ." > .gdbinit
- echo "dir ${srcdir}" >> .gdbinit
- if test x$gdb_needs_out_file_path = xyes
- then
- echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
- fi
- if test "x$subdirs" != x; then
- for s in $subdirs
- do
- echo "dir ${srcdir}/$s" >> .gdbinit
- done
- fi
- echo "source ${srcdir}/.gdbinit" >> .gdbinit
+echo "dir ." > .gdbinit
+echo "dir ${srcdir}" >> .gdbinit
+if test x$gdb_needs_out_file_path = xyes
+then
+ echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
+fi
+if test "x$subdirs" != x; then
+ for s in $subdirs
+ do
+ echo "dir ${srcdir}/$s" >> .gdbinit
+ done
fi
+echo "source ${srcdir}/gdbinit.in" >> .gdbinit
# Define variables host_canonical and build_canonical
# because some Cygnus local changes in the Makefile depend on them.