[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Put gdb version in a variable in gdbbuild script.
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |