debuggers.hg

view tools/gdb/gdbbuild @ 4627: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 756991cc6c70
children
line source
1 #!/bin/sh
3 XENROOT=`bk root`
4 export XENROOT
6 cd $XENROOT/tools/gdb
7 rm -rf gdb-6.2.1 gdb-6.2.1-linux-i386-xen
8 # FIXME:cw this should be smarter
9 wget -c ftp://ftp.gnu.org/gnu/gdb/gdb-6.2.1.tar.bz2
10 tar xjf gdb-6.2.1.tar.bz2
12 cd $XENROOT/tools/gdb/gdb-6.2.1-xen-sparse
13 ./mkbuildtree ../gdb-6.2.1
15 mkdir $XENROOT/tools/gdb/gdb-6.2.1-linux-i386-xen
16 cd $XENROOT/tools/gdb/gdb-6.2.1-linux-i386-xen
17 ../gdb-6.2.1/configure
18 # some people don't have gmake
19 if which gmake ; then
20 gmake -j4
21 else
22 make -j4
23 fi