summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-04-11 21:05:48 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-04-11 21:05:48 (GMT)
commit2a6e9ce59a09b51fe0cabe324fa63947280a84fb (patch)
treec0e949fe2791e9b74be3fcf9efd513f0c4b0035b /scripts/build
parent9ccad74f0240bf13c932df1470cf255f454656a0 (diff)
debug/gdb: remove snapshot version
Diffstat (limited to 'scripts/build')
-rw-r--r--scripts/build/debug/300-gdb.sh19
1 files changed, 6 insertions, 13 deletions
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index afa783a..da6002f 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -6,13 +6,6 @@
# config options for this.
CT_DEBUG_GDB_NCURSES_VERSION="5.7"
-do_debug_gdb_suffix() {
- case "${CT_GDB_VERSION}" in
- snapshot) ;;
- *) echo "-${CT_GDB_VERSION}";;
- esac
-}
-
do_debug_gdb_parts() {
do_gdb=
do_insight=
@@ -40,9 +33,9 @@ do_debug_gdb_get() {
do_debug_gdb_parts
if [ "${do_gdb}" = "y" ]; then
- CT_GetFile "gdb$(do_debug_gdb_suffix)" \
- {ftp,http}://ftp.gnu.org/pub/gnu/gdb \
- ftp://sources.redhat.com/pub/gdb/{{,old-}releases,snapshots/current}
+ CT_GetFile "gdb-${CT_GDB_VERSION}" \
+ {ftp,http}://ftp.gnu.org/pub/gnu/gdb \
+ ftp://sources.redhat.com/pub/gdb/{,old-}releases
fi
if [ "${do_insight}" = "y" ]; then
@@ -63,8 +56,8 @@ do_debug_gdb_extract() {
do_debug_gdb_parts
if [ "${do_gdb}" = "y" ]; then
- CT_Extract "gdb$(do_debug_gdb_suffix)"
- CT_Patch "gdb$(do_debug_gdb_suffix)"
+ CT_Extract "gdb-${CT_GDB_VERSION}"
+ CT_Patch "gdb-${CT_GDB_VERSION}"
fi
if [ "${do_insight}" = "y" ]; then
@@ -81,7 +74,7 @@ do_debug_gdb_extract() {
do_debug_gdb_build() {
local -a extra_config
- gdb_src_dir="${CT_SRC_DIR}/gdb$(do_debug_gdb_suffix)"
+ gdb_src_dir="${CT_SRC_DIR}/gdb-${CT_GDB_VERSION}"
insight_src_dir="${CT_SRC_DIR}/insight-${CT_GDB_VERSION}"
# Version 6.3 and below behave badly with gdbmi