Update create-version.sh to use common/version.h
This changes create-version.sh to have the generated file use common/version.h as the file name. gdb/ChangeLog 2019-01-25 Tom Tromey <tom@tromey.com> * common/create-version.sh: Use common/version.h.
This commit is contained in:
parent
e10620d3b9
commit
2f5c153e0c
@ -1,3 +1,7 @@
|
||||
2019-01-25 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* common/create-version.sh: Use common/version.h.
|
||||
|
||||
2019-01-24 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* infrun.c (signal_stop, signal_print, signal_program)
|
||||
|
@ -30,7 +30,7 @@ output="$4"
|
||||
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/version.in > version.tmp
|
||||
echo '#include "version.h"' >> version.c-tmp
|
||||
echo '#include "common/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
|
||||
echo 'const char target_name[] = "'"$target_alias"'";' >> version.c-tmp
|
||||
|
Loading…
x
Reference in New Issue
Block a user