]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
move version.in from gdb/common back to gdb
authorTom Tromey <tromey@redhat.com>
Fri, 28 Jun 2013 18:59:51 +0000 (18:59 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 28 Jun 2013 18:59:51 +0000 (18:59 +0000)
This reverts part of the earlier version.in change.  It moves
version.in back to the gdb directory.  This works around the CVS bug
we've found.

gdb
* Makefile.in (version.c): Use version.in, not
common/version.in.
* common/create-version.sh: Likewise.
* common/version.in: Move...
* version.in: ...here.
gdb/doc
* Makefile.in (version.subst): Use version.in, not
common/version.in.
* gdbint.texinfo (Versions and Branches, Releasing GDB):
Likewise.
gdb/gdbserver
* Makefile.in (version.c): Use version.in, not
common/version.in.
sim/common
* Make-common.in (version.c): Use version.in, not
common/version.in.
* create-version.sh: Likewise.
sim/ppc:
* Make-common.in (version.c): Use version.in, not
common/version.in.

14 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/common/create-version.sh
gdb/doc/ChangeLog
gdb/doc/Makefile.in
gdb/doc/gdbint.texinfo
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/version.in [moved from gdb/common/version.in with 100% similarity]
sim/common/ChangeLog
sim/common/Make-common.in
sim/common/create-version.sh
sim/ppc/ChangeLog
sim/ppc/Makefile.in

index c2a878ff10e32a64c14ac0811a9380340ca42f58..adcaf5d184761b1b004aac298cb66223d485530d 100644 (file)
@@ -1,3 +1,11 @@
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (version.c): Use version.in, not
+       common/version.in.
+       * common/create-version.sh: Likewise.
+       * common/version.in: Move...
+       * version.in: ...here.
+
 2013-06-28  Pedro Alves  <palves@redhat.com>
 
        * infrun.c (set_observer_mode): Don't declare pagination_enabled
index c27c03a6b44454319ffe6b89987e0886c6878277..aca5dbfc88d97dacc7716bbec48c3d81e31aa181 100644 (file)
@@ -1421,7 +1421,7 @@ $(srcdir)/copying.c: @MAINTAINER_MODE_TRUE@ $(srcdir)/../COPYING3 $(srcdir)/copy
                < $(srcdir)/../COPYING3 > $(srcdir)/copying.tmp
        mv $(srcdir)/copying.tmp $(srcdir)/copying.c
 
-version.c: Makefile common/version.in $(srcdir)/../bfd/version.h $(srcdir)/common/create-version.sh
+version.c: Makefile version.in $(srcdir)/../bfd/version.h $(srcdir)/common/create-version.sh
        $(SHELL) $(srcdir)/common/create-version.sh $(srcdir) \
            $(host_alias) $(target_alias) version.c
 
index 53d6173f26819c230b630953c90ab32fcf12ffa3..0bdd0fd873f1be92bf194dce87058cd67fc2cce1 100755 (executable)
@@ -34,7 +34,7 @@ fi
 
 rm -f version.c-tmp $output version.tmp
 date=`sed -n -e 's/^.* BFD_VERSION_DATE \(.*\)$/\1/p' $srcdir/../bfd/version.h`
-sed -e "s/DATE/$date/" < $srcdir/common/version.in > version.tmp
+sed -e "s/DATE/$date/" < $srcdir/version.in > version.tmp
 echo '#include "version.h"' >> version.c-tmp
 echo 'const char version[] = "'"`sed q version.tmp`"'";' >> version.c-tmp
 echo 'const char host_name[] = "'"$host_alias"'";' >> version.c-tmp
index afd66e63832060948ce578273320009e76ae588d..31beba84621dbcf5e5c331add57f78abb9ca7229 100644 (file)
@@ -1,3 +1,10 @@
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (version.subst): Use version.in, not
+       common/version.in.
+       * gdbint.texinfo (Versions and Branches, Releasing GDB):
+       Likewise.
+
 2013-06-27  Pedro Alves  <palves@redhat.com>
 
        * gdbint.texinfo (Algorithms) <Stepping over runtime loader
index d4ab738f8df1b2441db9893cc3f842da686af88d..ba8dd39a20b3654f6c2252db07a047867387f4ee 100644 (file)
@@ -396,9 +396,9 @@ GDBvn.texi : version.subst
        fi
        mv GDBvn.new GDBvn.texi
 
-version.subst: $(gdbdir)/common/version.in $(gdbdir)/../bfd/version.h
+version.subst: $(gdbdir)/version.in $(gdbdir)/../bfd/version.h
        date=`sed -n -e 's/^.* BFD_VERSION_DATE \(.*\)$$/\1/p' $(gdbdir)/../bfd/version.h`; \
-       sed -e "s/DATE/$$date/" < $(gdbdir)/common/version.in > version.subst
+       sed -e "s/DATE/$$date/" < $(gdbdir)/version.in > version.subst
 
 # Updated atomically
 .PRECIOUS: GDBvn.texi
index 749e121332b5341f45024ece3e614e5d610ad0af..60805adfa683142bbaafe0fb7399b8ad81f9fe4d 100644 (file)
@@ -6677,7 +6677,7 @@ Specific Information, gdb, Debugging with @value{GDBN}}).
 @section Versions
 
 @value{GDBN}'s version is determined by the file
-@file{gdb/common/version.in} and takes one of the following forms:
+@file{gdb/version.in} and takes one of the following forms:
 
 @table @asis
 @item @var{major}.@var{minor}
@@ -6781,7 +6781,7 @@ branch tag, denoting the head of the branch, does not need this.}
 @cindex vendor branches
 
 To avoid version conflicts, vendors are expected to modify the file
-@file{gdb/common/version.in} to include a vendor unique alphabetic identifier
+@file{gdb/version.in} to include a vendor unique alphabetic identifier
 (an official @value{GDBN} release never uses alphabetic characters in
 its version identifier).  E.g., @samp{6.2widgit2}, or @samp{6.2 (Widgit
 Inc Patch 2)}.
@@ -6830,7 +6830,7 @@ The @value{GDBN} module @code{gdb} should be specified when creating a
 branch (branches of individual files should be avoided).  @xref{Tags}.
 
 @item a branch shall be branded using @file{version.in}
-The file @file{gdb/common/version.in} shall be modified so that it identifies
+The file @file{gdb/version.in} shall be modified so that it identifies
 the branch @var{owner} and branch @var{name}, e.g.,
 @samp{6.2.50.20030303_owner_name} or @samp{6.2 (Owner Name)}.
 
@@ -7108,16 +7108,16 @@ $  echo $u $v$V
 5.1 5_2
 $  cd /tmp
 $  echo cvs -f -d :ext:sourceware.org:/cvs/src co \
--r gdb_$V-branch src/gdb/common/version.in
+-r gdb_$V-branch src/gdb/version.in
 cvs -f -d :ext:sourceware.org:/cvs/src co
- -r gdb_5_2-branch src/gdb/common/version.in
+ -r gdb_5_2-branch src/gdb/version.in
 $  ^echo ^^
-U src/gdb/common/version.in
+U src/gdb/version.in
 $  cd src/gdb
-$  echo $u.90-DATE-cvs > common/version.in
-$  cat common/version.in
+$  echo $u.90-DATE-cvs > version.in
+$  cat version.in
 5.1.90-DATE-cvs
-$  cvs -f commit common/version.in
+$  cvs -f commit version.in
 @end smallexample
 
 @itemize @bullet
@@ -7317,18 +7317,18 @@ to get it updated.}
 @file{INSTALL} from the core documentation.  This might be worth
 pursuing.}
 
-@item gdb/common/version.in
+@item gdb/version.in
 
 @smallexample
-$  echo $v > gdb/src/gdb/common/version.in
-$  cat gdb/src/gdb/common/version.in
+$  echo $v > gdb/src/gdb/version.in
+$  cat gdb/src/gdb/version.in
 5.2
-$  emacs gdb/src/gdb/common/version.in
+$  emacs gdb/src/gdb/version.in
 ...
 c-x 4 a
 ... Bump to version ...
 c-x c-s c-x c-c
-$  cp gdb/src/gdb/common/version.in insight/src/gdb/common/version.in 
+$  cp gdb/src/gdb/version.in insight/src/gdb/version.in 
 $  cp gdb/src/gdb/ChangeLog insight/src/gdb/ChangeLog 
 @end smallexample
 
@@ -7573,7 +7573,7 @@ In particular you'll need to commit any changes to:
 @item
 @file{gdb/ChangeLog}
 @item
-@file{gdb/common/version.in}
+@file{gdb/version.in}
 @item
 @file{gdb/NEWS}
 @item
@@ -7600,9 +7600,9 @@ Insight is used since that contains more of the release than
 Just put something in the @file{ChangeLog} so that the trunk also
 indicates when the release was made.
 
-@subsubheading Restart @file{gdb/common/version.in}
+@subsubheading Restart @file{gdb/version.in}
 
-If @file{gdb/common/version.in} does not have the string @samp{DATE} then
+If @file{gdb/version.in} does not have the string @samp{DATE} then
 builds will not include the checkout date in their resulting version.
 Having committed all the release changes it can be set to
 @file{5.2.0_DATE-cvs} which will restart things.
index b515af4e50e157767455c26a90069bf3035a5942..8f7348033476a1b766bbdd32f7338767628b4675 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (version.c): Use version.in, not
+       common/version.in.
+
 2013-06-28  Mircea Gherzan  <mircea.gherzan@intel.com>
 
        * configure.ac (version_host, version_target): Set and AC_SUBST them.
index 9053cf8634a1426c582c57604fc6058eebf77e9d..db4e08689c1e7026dea8fa8b3f5c4959335676cc 100644 (file)
@@ -391,7 +391,7 @@ am--refresh:
 
 force:
 
-version.c: Makefile $(srcdir)/../common/version.in $(srcdir)/../../bfd/version.h $(srcdir)/../common/create-version.sh
+version.c: Makefile $(srcdir)/../version.in $(srcdir)/../../bfd/version.h $(srcdir)/../common/create-version.sh
        $(SHELL) $(srcdir)/../common/create-version.sh $(srcdir)/.. \
            $(version_host) $(version_target) version.c
 
similarity index 100%
rename from gdb/common/version.in
rename to gdb/version.in
index cc0e9aa35567c6573d1ac6991b6ea379bab59c66..19ee5c470c11ef8898cadf7c388eabbb266cbb13 100644 (file)
@@ -1,3 +1,9 @@
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * Make-common.in (version.c): Use version.in, not
+       common/version.in.
+       * create-version.sh: Likewise.
+
 2013-06-24  Joel Brobecker  <brobecker@adacore.com>
 
        * create-version.sh: New script. Adapted from
index 769f782df47d42e78935a6be039c1de093a481eb..afa3894aa380a63ae6a8de04fdc56daad735dec1 100644 (file)
@@ -300,7 +300,7 @@ stamp-tvals: gentmap
        $(SHELL) $(srcroot)/move-if-change tmp-tmap.c targ-map.c
        touch stamp-tvals
 
-version.c: Makefile $(srccom)/create-version.sh ../../bfd/version.h ../../gdb/common/version.in
+version.c: Makefile $(srccom)/create-version.sh ../../bfd/version.h ../../gdb/version.in
        $(SHELL) $(srccom)/create-version.sh $(srccom) version.c
 
 #
index aaf2ab359fac841b487d465d986cc3132a155ca1..746427738a2dd7b129374b712c412e134622a64c 100755 (executable)
@@ -26,7 +26,7 @@ output="$2"
 
 rm -f version.c-tmp $output version.tmp
 date=`sed -n -e 's/^.* BFD_VERSION_DATE \(.*\)$/\1/p' $srcdir/../../bfd/version.h`
-sed -e "s/DATE/$date/" < $srcdir/../../gdb/common/version.in > version.tmp
+sed -e "s/DATE/$date/" < $srcdir/../../gdb/version.in > version.tmp
 echo '#include "version.h"' >> version.c-tmp
 echo 'const char version[] = "'"`sed q version.tmp`"'";' >> version.c-tmp
 mv version.c-tmp $output
index 2f7da02972db63a99e3dc3e4eca75ee6b0399666..8415cb43e70daa7b7109ddb6aa952f35236e4b5d 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * Make-common.in (version.c): Use version.in, not
+       common/version.in.
+
 2013-06-24  Joel Brobecker  <brobecker@adacore.com>
 
        * Makefile.in (srccom): New variable.
index 1652b248160bda51df086d7c2ffe6ee21bed707c..75bb9c3e63c9f170dc1fb14e6aad94b9f277a578 100644 (file)
@@ -563,7 +563,7 @@ $(TARGETLIB): tmp-igen tmp-dgen tmp-hw tmp-pk tmp-defines $(LIB_OBJ) $(GDB_OBJ)
        $(AR) $(AR_FLAGS) $(TARGETLIB) $(LIB_OBJ) $(GDB_OBJ)
        $(RANLIB) $(TARGETLIB)
 
-version.c: Makefile $(srccom)/create-version.sh ../../bfd/version.h ../../gdb/common/version.in
+version.c: Makefile $(srccom)/create-version.sh ../../bfd/version.h ../../gdb/version.in
        $(SHELL) $(srccom)/create-version.sh $(srccom) version.c
 version.o: version.c $(version_h)