]> gcc.gnu.org Git - gcc.git/commitdiff
gdbinit: Rename to gdbinit.in.
authorGerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Fri, 16 Feb 2001 11:12:46 +0000 (12:12 +0100)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Fri, 16 Feb 2001 11:12:46 +0000 (11:12 +0000)
* .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

gcc/ChangeLog
gcc/Makefile.in
gcc/configure
gcc/configure.in
gcc/gdbinit.in [moved from gcc/.gdbinit with 100% similarity]

index d8181ef68605bbff6e6a54cd0b0b9667f7c61956..abe8ba769b4ed158f044f5dea9e17ad1657d209d 100644 (file)
@@ -1,3 +1,11 @@
+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
index a78183ef931ebd37e613656058db6adc24b0288b..304fbd13bf51e2463304b6936d0610e4a0b1acb6 100644 (file)
@@ -2363,7 +2363,7 @@ distclean: clean $(INTL_DISTCLEAN) lang.distclean
        -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
index c6ab580dbcc653974aac4e2eb8f4edc4fc930edb..e30f26511aa5c7d781b37f7747c2ffd50478d6fa 100755 (executable)
@@ -6670,23 +6670,21 @@ do
        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.
index 59387926084f18cc631b03e5c797fdd24abc67cb..26d9e1e43176752d35a45ef5f9549677eeeb1355 100644 (file)
@@ -1707,23 +1707,21 @@ do
        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.
similarity index 100%
rename from gcc/.gdbinit
rename to gcc/gdbinit.in
This page took 0.101534 seconds and 5 git commands to generate.