ia64/xen-unstable

changeset 4589:6b0edacf8b40

bitkeeper revision 1.1337 (426630b2jBKjnL7WBIWHGPtgL50rqg)

[PATCH] [PATCH] gdbserver minor build fixes

gdb-6.2.1-xen-sparse/gdb/gdbserver/configure | 2 +-
gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in | 2 +-
gdbbuild | 16 ++++++++++++----
3 files changed, 14 insertions(+), 6 deletions(-)

More cleanups are possible, I'll send those at a later stage.
author cw@f00f.org[kaf24]
date Wed Apr 20 10:36:34 2005 +0000 (2005-04-20)
parents b1cb9f7f34f9
children 35357e323f14
files BitKeeper/etc/logging_ok tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in tools/gdb/gdbbuild
line diff
     1.1 --- a/BitKeeper/etc/logging_ok	Wed Apr 20 10:25:15 2005 +0000
     1.2 +++ b/BitKeeper/etc/logging_ok	Wed Apr 20 10:36:34 2005 +0000
     1.3 @@ -20,6 +20,7 @@ cl349@arcadians.cl.cam.ac.uk
     1.4  cl349@firebug.cl.cam.ac.uk
     1.5  cl349@freefall.cl.cam.ac.uk
     1.6  cl349@labyrinth.cl.cam.ac.uk
     1.7 +cw@f00f.org
     1.8  cwc22@centipede.cl.cam.ac.uk
     1.9  cwc22@donkeykong.cl.cam.ac.uk
    1.10  djm@djmnc4000.(none)
     2.1 --- a/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure	Wed Apr 20 10:25:15 2005 +0000
     2.2 +++ b/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure	Wed Apr 20 10:36:34 2005 +0000
     2.3 @@ -3475,7 +3475,7 @@ USE_THREAD_DB=
     2.4  
     2.5  
     2.6  GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_thread_depfiles"
     2.7 -GDBSERVER_LIBS="$srv_libs -lxc"
     2.8 +GDBSERVER_LIBS="$srv_libs -L../../../../libxc/ -L../../../../libxutil/ -lxc -lxutil"
     2.9  
    2.10  
    2.11  
     3.1 --- a/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in	Wed Apr 20 10:25:15 2005 +0000
     3.2 +++ b/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in	Wed Apr 20 10:36:34 2005 +0000
     3.3 @@ -107,7 +107,7 @@ USE_THREAD_DB=
     3.4  
     3.5  
     3.6  GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_thread_depfiles"
     3.7 -GDBSERVER_LIBS="$srv_libs -lxc"
     3.8 +GDBSERVER_LIBS="$srv_libs -L../../../../libxc/ -L../../../../libxutil/ -lxc -lxutil"
     3.9  
    3.10  AC_SUBST(GDBSERVER_DEPFILES)
    3.11  AC_SUBST(GDBSERVER_LIBS)
     4.1 --- a/tools/gdb/gdbbuild	Wed Apr 20 10:25:15 2005 +0000
     4.2 +++ b/tools/gdb/gdbbuild	Wed Apr 20 10:36:34 2005 +0000
     4.3 @@ -1,9 +1,12 @@
     4.4 -#!/bin/csh -f
     4.5 -setenv XENROOT `bk root`
     4.6 +#!/bin/sh
     4.7 +
     4.8 +XENROOT=`bk root`
     4.9 +export XENROOT
    4.10  
    4.11  cd $XENROOT/tools/gdb
    4.12  rm -rf gdb-6.2.1  gdb-6.2.1-linux-i386-xen
    4.13 -wget ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2
    4.14 +# FIXME:cw this should be smarter
    4.15 +wget -c ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2
    4.16  tar xjf gdb-6.2.1.tar.bz2
    4.17  
    4.18  cd $XENROOT/tools/gdb/gdb-6.2.1-xen-sparse
    4.19 @@ -12,4 +15,9 @@ cd $XENROOT/tools/gdb/gdb-6.2.1-xen-spar
    4.20  mkdir $XENROOT/tools/gdb/gdb-6.2.1-linux-i386-xen
    4.21  cd $XENROOT/tools/gdb/gdb-6.2.1-linux-i386-xen
    4.22  ../gdb-6.2.1/configure
    4.23 -gmake -j4
    4.24 +# some people don't have gmake
    4.25 +if which gmake ; then
    4.26 +    gmake -j4
    4.27 +else
    4.28 +    make -j4
    4.29 +fi