From 48b550c28afd21b382e21e56b7ba246b3bf49d4b Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Sat, 13 Jul 2019 18:00:32 -0700 Subject: 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. --- ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 1b7f860..52d97d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-07-13 Joel Brobecker + + * src-release (getver): If $tool/gdbsupport/create-version.sh + exists, use that to determine the version number. + 2019-06-21 Andreas Schwab * src-release.sh (GDB_SUPPORT_DIRS): Add gnulib. -- cgit v1.1