This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
# HG changeset patch # User "BenoÃt THÃBAUDEAU" <benoit.thebaudeau@advansee.com> # Date 1306868583 -7200 # Node ID 9e3cbe13deae566d9ec0c31f38afe238f7c9660d # Parent 213c4dc5316c83baffe7e431cd70b73c8c8b835b gdb: use the PKGVERSION and BUGURL options This patch makes gdb benefit from the TOOLCHAIN_PKGVERSION and TOOLCHAIN_BUGURL options. Signed-off-by: "BenoÃt THÃBAUDEAU" <benoit.thebaudeau@advansee.com> diff --git a/config/debug/gdb.in b/config/debug/gdb.in --- a/config/debug/gdb.in +++ b/config/debug/gdb.in @@ -72,6 +72,10 @@ config GDB_7_0_or_later bool + select GDB_HAS_PKGVERSION_BUGURL + +config GDB_HAS_PKGVERSION_BUGURL + bool config GDB_VERSION string diff --git a/config/toolchain.in b/config/toolchain.in --- a/config/toolchain.in +++ b/config/toolchain.in @@ -73,7 +73,8 @@ help Specify a string that identifies your package. You may wish to include a build number or build date. This version string will be included in - the output of gcc --version, and also in binutils, eglibc. + the output of gcc --version, and also in binutils, eglibc, gdb and + gdbserver. This is passed to the configure flag --with-pkgversion. diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh +++ b/scripts/build/debug/300-gdb.sh @@ -98,6 +98,11 @@ 6.2*|6.3) extra_config+=("--disable-gdbmi");; esac + if [ "${CT_GDB_HAS_PKGVERSION_BUGURL}" = "y" ]; then + [ -n "${CT_TOOLCHAIN_PKGVERSION}" ] && extra_config+=("--with-pkgversion=${CT_TOOLCHAIN_PKGVERSION}") + [ -n "${CT_TOOLCHAIN_BUGURL}" ] && extra_config+=("--with-bugurl=${CT_TOOLCHAIN_BUGURL}") + fi + if [ "${CT_GDB_CROSS}" = "y" ]; then local -a cross_extra_config
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |