diff options
author | Joel Brobecker <brobecker@adacore.com> | 2019-07-13 18:00:32 -0700 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2019-07-13 18:00:32 -0700 |
commit | 48b550c28afd21b382e21e56b7ba246b3bf49d4b (patch) | |
tree | 6919a5ba66ca569a816dc5c006158522c0534919 /opcodes/fr30-ibld.c | |
parent | a48654b6d4ed558d632dca3d895e8ad2f0dd57a6 (diff) | |
download | binutils-gdb-48b550c28afd21b382e21e56b7ba246b3bf49d4b.tar.gz |
adjust src-release following the renaming of gdb/common/ to gdb/gdbsupport/
A recent change renamed the common/ directory into gdbsupport/ in gdb.
This causes problems in the getver function in the src-release script
which doesn't find the create-version.sh script anymore. As a result,
it falls back on using the version.in file verbatim, meaning that
the "DATE" placeholder doesn't get replaced with the snapshot date,
and the "-git" suffix doesn't get stripped. More precisely, we get
snapshots called "gdb-8.3.50-DATE-git.tar" instead of (e.g.)
"gdb-8.3-20190712.tar".
This commit fixes the issue by adding support for this situation.
I left the support for $tool/common/create-version.sh, because
the sim still uses that directory structure.
ChangeLog:
* src-release (getver): If $tool/gdbsupport/create-version.sh
exists, use that to determine the version number.
Diffstat (limited to 'opcodes/fr30-ibld.c')
0 files changed, 0 insertions, 0 deletions