aboutsummaryrefslogtreecommitdiff
path: root/gdb/common
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-06-28 18:59:51 +0000
committerTom Tromey <tromey@redhat.com>2013-06-28 18:59:51 +0000
commitd6c2da544627e23c87003859209152903dc7fcbc (patch)
treec1cd4490cf0324ad4a14333dfeb4fbef1507ed1d /gdb/common
parent74da6f00a3ba65e1f2d359a59829d796d1ec3a8e (diff)
downloadgdb-d6c2da544627e23c87003859209152903dc7fcbc.zip
gdb-d6c2da544627e23c87003859209152903dc7fcbc.tar.gz
gdb-d6c2da544627e23c87003859209152903dc7fcbc.tar.bz2
move version.in from gdb/common back to gdb
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.
Diffstat (limited to 'gdb/common')
-rwxr-xr-xgdb/common/create-version.sh2
-rw-r--r--gdb/common/version.in1
2 files changed, 1 insertions, 2 deletions
diff --git a/gdb/common/create-version.sh b/gdb/common/create-version.sh
index 53d6173..0bdd0fd 100755
--- a/gdb/common/create-version.sh
+++ b/gdb/common/create-version.sh
@@ -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
diff --git a/gdb/common/version.in b/gdb/common/version.in
deleted file mode 100644
index 99adaca..0000000
--- a/gdb/common/version.in
+++ /dev/null
@@ -1 +0,0 @@
-7.6.50.DATE-cvs