WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Put gdb version in a variable in gdbbuild

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Put gdb version in a variable in gdbbuild script.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 22 Jan 2007 11:00:19 -0800
Delivery-date: Mon, 22 Jan 2007 11:00:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1169481507 0
# Node ID ded2d8dcef52cf08b50ad4689f8f0bf29f143cb9
# Parent  f3670081945342a91aabd9c5198b0ec9161653fe
Put gdb version in a variable in gdbbuild script.
Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>
---
 tools/debugger/gdb/gdbbuild |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff -r f36700819453 -r ded2d8dcef52 tools/debugger/gdb/gdbbuild
--- a/tools/debugger/gdb/gdbbuild       Mon Jan 22 15:57:19 2007 +0000
+++ b/tools/debugger/gdb/gdbbuild       Mon Jan 22 15:58:27 2007 +0000
@@ -2,19 +2,21 @@
 
 set -e
 
+GDB_VERSION=6.2.1
+
 [ "$GDB_MIRROR" ] || GDB_MIRROR="ftp://ftp.gnu.org/gnu/gdb/";
 
-rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen
-[ -a gdb-6.2.1.tar.bz2 ] || wget -c "$GDB_MIRROR/gdb-6.2.1.tar.bz2"
-tar xjf gdb-6.2.1.tar.bz2
+rm -rf gdb-$GDB_VERSION gdb-$GDB_VERSION-linux-i386-xen
+[ -a gdb-$GDB_VERSION.tar.bz2 ] || wget -c 
"$GDB_MIRROR/gdb-$GDB_VERSION.tar.bz2"
+tar xjf gdb-$GDB_VERSION.tar.bz2
 
-cd gdb-6.2.1-xen-sparse
-bash ./mkbuildtree ../gdb-6.2.1
+cd gdb-$GDB_VERSION-xen-sparse
+bash ./mkbuildtree ../gdb-$GDB_VERSION
 
 cd ..
-mkdir gdb-6.2.1-linux-i386-xen
-cd gdb-6.2.1-linux-i386-xen
-../gdb-6.2.1/configure
+mkdir gdb-$GDB_VERSION-linux-i386-xen
+cd gdb-$GDB_VERSION-linux-i386-xen
+../gdb-$GDB_VERSION/configure
 
 # Use $MAKE if set, else use gmake if present, otherwise use make
 if [ "$MAKE" ]; then

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Put gdb version in a variable in gdbbuild script., Xen patchbot-unstable <=