* RE: help building gdb 6.7.1 for windows CE ARM
@ 2007-12-10 22:24 Pedro Alves
2007-12-12 21:41 ` build script for gdb 6.7.1 for mingw32ce Steve DeLaney
0 siblings, 1 reply; 3+ messages in thread
From: Pedro Alves @ 2007-12-10 22:24 UTC (permalink / raw)
To: gdb, onramp123
Steve DeLaney wrote:
> I am attempting a build of gdb 6.7.1 for windows CE ARM target using
> mingw32ce the objective is to have gdbserver on target providing a "target
> remote x" interface to the host development gdb. in other words a standard
> session configuration.
>
> can anyone help with the --target and --host configure options ?
>
Build gdb with --target=arm-wince-mingw32ce
Build gdbserver with --host=arm-wince-mingw32ce
> I think there is a bfd patch but not sure if it is located in the patches
> archive ?
>
I had never submitted it upstream ...
... until now:
http://sourceware.org/ml/binutils/2007-12/msg00051.html
--
Pedro Alves
^ permalink raw reply [flat|nested] 3+ messages in thread
* build script for gdb 6.7.1 for mingw32ce
2007-12-10 22:24 help building gdb 6.7.1 for windows CE ARM Pedro Alves
@ 2007-12-12 21:41 ` Steve DeLaney
0 siblings, 0 replies; 3+ messages in thread
From: Steve DeLaney @ 2007-12-12 21:41 UTC (permalink / raw)
To: 'Pedro Alves', gdb
Thanks to all the help from Pedro on this. I'm including a build script
that
patches gdb 6.7.1 and builds gdb and gdbserver. not sure the best way to
post this so I'll just include it inline for now.
#!/bin/bash
# build-gdb-6.7.1-mingw32ce
# built with mingw32ce distro 0.51
#
src=gdb-6.7.1
patchfile=mingw32ce.patch
echo "UNTAR $src DISTRO"
tar xvzf $src.tar.gz
echo "PATCHING $src DISTRO for mingw32ce"
cd $src/bfd
# using bfd patch submitted by Pedro 2007-12-10
patch < ../../mingw32ce.patch
cd ../..
echo "BUILDING GDB"
mkdir build-gdb
cd build-gdb
../$src/configure --target=arm-wince-mingw32ce --prefix=/opt/mingw32ce
make
make install
cd ..
echo "GDB BUILD COMPLETE"
echo "BUILDING GDBSERVER"
mkdir build-gdbserver
cd build-gdbserver
../$src/gdb/gdbserver/configure --host=arm-wince-mingw32ce
make
arm-wince-mingw32ce-strip gdbserver.exe -o gdbserver-stripped.exe
echo "GDBSERVER BUILD COMPLETE"
echo "copy gdbserver-stripped.exe to the device and rename it gdbserver.exe"
cd ..
-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of Pedro Alves
Sent: Monday, December 10, 2007 2:25 PM
To: gdb@sourceware.org; onramp123@yahoo.com
Subject: RE: help building gdb 6.7.1 for windows CE ARM
Steve DeLaney wrote:
> I am attempting a build of gdb 6.7.1 for windows CE ARM target using >
mingw32ce the objective is to have gdbserver on target providing a "target
> remote x" interface to the host development gdb. in other words a
standard > session configuration.
>
> can anyone help with the --target and --host configure options ?
>
Build gdb with --target=arm-wince-mingw32ce Build gdbserver with
--host=arm-wince-mingw32ce
> I think there is a bfd patch but not sure if it is located in the patches
> archive ?
>
I had never submitted it upstream ...
... until now:
http://sourceware.org/ml/binutils/2007-12/msg00051.html
--
Pedro Alves
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: BDI interfering with gdbserver on PPC target
@ 2007-12-10 16:40 Steve DeLaney
2007-12-10 17:32 ` help building gdb 6.7.1 for windows CE ARM Steve DeLaney
0 siblings, 1 reply; 3+ messages in thread
From: Steve DeLaney @ 2007-12-10 16:40 UTC (permalink / raw)
To: 'Daniel Jacobowitz'; +Cc: gdb
Well it took a while but finally isolated this issue. It's a little
esoteric perhaps but for future reference BDI can be controlled with the
config file by disabling VECTOR CATCH
Similarly a Xilinx XMD JTAG debugger had the same problem. in that case it's
a matter of writing a PPC405 SPR DBCR0 to configure internal debug.
-----Original Message-----
From: gdb-owner@sourceware.org [mailto:gdb-owner@sourceware.org] On Behalf
Of Daniel Jacobowitz
Sent: Thursday, November 22, 2007 7:48 PM
To: Steve DeLaney
Cc: gdb@sourceware.org
Subject: Re: BDI interfering with gdbserver on PPC target
On Wed, Nov 21, 2007 at 04:12:02PM -0800, Steve DeLaney wrote:
> can it be that BDI is interfering with the trap instruction?
Yes, this happens on a lot of different targets. There's nothing we can do
about it - you'd have to talk to the kernel folks or the BDI supplier.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-12-12 21:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-10 22:24 help building gdb 6.7.1 for windows CE ARM Pedro Alves
2007-12-12 21:41 ` build script for gdb 6.7.1 for mingw32ce Steve DeLaney
-- strict thread matches above, loose matches on Subject: below --
2007-12-10 16:40 BDI interfering with gdbserver on PPC target Steve DeLaney
2007-12-10 17:32 ` help building gdb 6.7.1 for windows CE ARM Steve DeLaney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox