Fix host_name and target_name generation by common/create-version.sh.
authorJoel Brobecker <brobecker@gnat.com>
Mon, 24 Jun 2013 22:03:51 +0000 (22:03 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 24 Jun 2013 22:03:51 +0000 (22:03 +0000)
commitb9b26a166a203fda2e1422a2981831196cbd6598
tree10836f0b92bbb0edf3e734f2e37e935692855787
parent477330fc7d21eb6b5fa4b2adfe11d71b27c85970
Fix host_name and target_name generation by common/create-version.sh.

This new script has one small snafoo, which prevented the $host_alias
and $target_alias from being expanded during the generation of the
version.c file.  As a result, the version info yields:

    This GDB was configured as "--host=$host_alias --target=$target_alias".
                                       ^^^^^^^^^^^          ^^^^^^^^^^^^^

This patch fixes this issue.

gdb/ChangeLog:

        * common/create-version.sh: Fix expansion of $host_alias
        and $target_alias in generation of HOST_NAME and TARGET_NAME
        (resp.).
gdb/ChangeLog
gdb/common/create-version.sh