ia64/xen-unstable

changeset 6962:fc4375af5854

Fix gdb build script.
author kaf24@firebug.cl.cam.ac.uk
date Mon Sep 19 14:06:49 2005 +0000 (2005-09-19)
parents 3133e64d0462
children ec01850d0ee9
files .hgignore tools/debugger/gdb/gdbbuild
line diff
     1.1 --- a/.hgignore	Mon Sep 19 13:24:31 2005 +0000
     1.2 +++ b/.hgignore	Mon Sep 19 14:06:49 2005 +0000
     1.3 @@ -86,6 +86,9 @@
     1.4  ^tools/check/\..*$
     1.5  ^tools/console/xenconsoled$
     1.6  ^tools/console/xenconsole$
     1.7 +^tools/debugger/gdb/gdb-6\.2\.1\.tar\.bz2$
     1.8 +^tools/debugger/gdb/gdb-6\.2\.1/.*$
     1.9 +^tools/debugger/gdb/gdb-6\.2\.1-linux-i386-xen/.*$
    1.10  ^tools/debugger/pdb/pdb$
    1.11  ^tools/debugger/pdb/linux-[0-9.]*-module/.*\.ko$
    1.12  ^tools/debugger/pdb/linux-[0-9.]*-module/.*\.mod.c$
    1.13 @@ -156,6 +159,7 @@
    1.14  ^tools/xenstore/xs_stress$
    1.15  ^tools/xenstore/xs_test$
    1.16  ^tools/xenstore/xs_watch_stress$
    1.17 +^tools/xentrace/xenctx$
    1.18  ^tools/xentrace/xentrace$
    1.19  ^xen/BLOG$
    1.20  ^xen/TAGS$
     2.1 --- a/tools/debugger/gdb/gdbbuild	Mon Sep 19 13:24:31 2005 +0000
     2.2 +++ b/tools/debugger/gdb/gdbbuild	Mon Sep 19 14:06:49 2005 +0000
     2.3 @@ -1,20 +1,17 @@
     2.4  #!/bin/sh
     2.5  
     2.6 -XENROOT=`hg root`
     2.7 -export XENROOT
     2.8 -
     2.9 -cd $XENROOT/tools/debugger/gdb
    2.10 -rm -rf gdb-6.2.1  gdb-6.2.1-linux-i386-xen
    2.11 -# FIXME:cw this should be smarter
    2.12 -wget -c ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2
    2.13 +rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen
    2.14 +[ -a gdb-6.2.1.tar.bz2 ] || wget -c ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2
    2.15  tar xjf gdb-6.2.1.tar.bz2
    2.16  
    2.17 -cd $XENROOT/tools/debugger/gdb/gdb-6.2.1-xen-sparse
    2.18 +cd gdb-6.2.1-xen-sparse
    2.19  ./mkbuildtree ../gdb-6.2.1
    2.20  
    2.21 -mkdir $XENROOT/tools/debugger/gdb/gdb-6.2.1-linux-i386-xen
    2.22 -cd $XENROOT/tools/debugger/gdb/gdb-6.2.1-linux-i386-xen
    2.23 +cd ..
    2.24 +mkdir gdb-6.2.1-linux-i386-xen
    2.25 +cd gdb-6.2.1-linux-i386-xen
    2.26  ../gdb-6.2.1/configure
    2.27 +
    2.28  # some people don't have gmake
    2.29  if which gmake ; then
    2.30      gmake -j4