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] [PATCH] [PATCH] gdbserver minor build fixes

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [PATCH] [PATCH] gdbserver minor build fixes
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Wed, 20 Apr 2005 10:36:34 +0000
Delivery-date: Wed, 20 Apr 2005 11:03:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1337, 2005/04/20 11:36:34+01:00, cw@xxxxxxxx

        [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.



 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(-)


diff -Nru a/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure 
b/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure
--- a/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure    2005-04-20 
07:03:36 -04:00
+++ b/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure    2005-04-20 
07:03:36 -04:00
@@ -3475,7 +3475,7 @@
 
 
 GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_thread_depfiles"
-GDBSERVER_LIBS="$srv_libs -lxc"
+GDBSERVER_LIBS="$srv_libs -L../../../../libxc/ -L../../../../libxutil/ -lxc 
-lxutil"
 
 
 
diff -Nru a/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in 
b/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in
--- a/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in 2005-04-20 
07:03:36 -04:00
+++ b/tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in 2005-04-20 
07:03:36 -04:00
@@ -107,7 +107,7 @@
 
 
 GDBSERVER_DEPFILES="$srv_regobj $srv_tgtobj $srv_thread_depfiles"
-GDBSERVER_LIBS="$srv_libs -lxc"
+GDBSERVER_LIBS="$srv_libs -L../../../../libxc/ -L../../../../libxutil/ -lxc 
-lxutil"
 
 AC_SUBST(GDBSERVER_DEPFILES)
 AC_SUBST(GDBSERVER_LIBS)
diff -Nru a/tools/gdb/gdbbuild b/tools/gdb/gdbbuild
--- a/tools/gdb/gdbbuild        2005-04-20 07:03:36 -04:00
+++ b/tools/gdb/gdbbuild        2005-04-20 07:03:36 -04:00
@@ -1,9 +1,12 @@
-#!/bin/csh -f
-setenv XENROOT `bk root`
+#!/bin/sh
+
+XENROOT=`bk root`
+export XENROOT
 
 cd $XENROOT/tools/gdb
 rm -rf gdb-6.2.1  gdb-6.2.1-linux-i386-xen
-wget ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2
+# FIXME:cw this should be smarter
+wget -c ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2
 tar xjf gdb-6.2.1.tar.bz2
 
 cd $XENROOT/tools/gdb/gdb-6.2.1-xen-sparse
@@ -12,4 +15,9 @@
 mkdir $XENROOT/tools/gdb/gdb-6.2.1-linux-i386-xen
 cd $XENROOT/tools/gdb/gdb-6.2.1-linux-i386-xen
 ../gdb-6.2.1/configure
-gmake -j4
+# some people don't have gmake
+if which gmake ; then
+    gmake -j4
+else
+    make -j4
+fi

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [PATCH] [PATCH] gdbserver minor build fixes, BitKeeper Bot <=