* Cross gdb for ARM
@ 2002-11-12 10:08 Robert Schwebel
2002-11-12 10:12 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Robert Schwebel @ 2002-11-12 10:08 UTC (permalink / raw)
To: gdb
Hi,
which version of gdb/gdbserver is currently recommended for StrongARM?
I've tried 5.2 and 5.2.1, but both do not work. I can start the program
on the target remotely with "run", but I cannot set breakpoints. It
simply continues running and doesn't stop.
I also wanted to try CVS, but it doesn't compile at the moment:
----------8<----------
make[4]: Entering directory
`/home/robert/embedded/cvs/gdb/sid/component/glue'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.
-I../../include -I./../../include -g -O2 -c glue.cxx
rm -f .libs/glue.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../../include -I./../../include
-g -O2 -Wp,-MD,.deps/glue.pp -c -fPIC -DPIC -DPIC glue.cxx -o
.libs/glue.lo
glue.cxx:391: `glue_components::bus_prober::~bus_prober()' has already
been declared in `glue_components::bus_prober'
2002-11-13make[4]: *** [glue.lo] Error 1
make[4]: Leaving directory
`/home/robert/embedded/cvs/gdb/sid/component/glue'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/robert/embedded/cvs/gdb/sid/component'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/home/robert/embedded/cvs/gdb/sid/component'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/robert/embedded/cvs/gdb/sid'
make: *** [all-sid] Error 2
----------8<----------
Robert
--
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Braunschweiger Str. 79, 31134 Hildesheim, Germany
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
Visit us at the SPS/IPC/Drives 2002 in Nuernberg!
Hall 5, Booth 154 +++ Please contact us for details.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Cross gdb for ARM
2002-11-12 10:08 Cross gdb for ARM Robert Schwebel
@ 2002-11-12 10:12 ` Daniel Jacobowitz
2002-11-12 11:59 ` Wendy Peikes
2002-11-13 2:23 ` Stuart Hughes
0 siblings, 2 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-11-12 10:12 UTC (permalink / raw)
To: Robert Schwebel; +Cc: gdb
On Tue, Nov 12, 2002 at 07:08:18PM +0100, Robert Schwebel wrote:
> Hi,
>
> which version of gdb/gdbserver is currently recommended for StrongARM?
> I've tried 5.2 and 5.2.1, but both do not work. I can start the program
> on the target remotely with "run", but I cannot set breakpoints. It
> simply continues running and doesn't stop.
5.2 should work. More details?
> I also wanted to try CVS, but it doesn't compile at the moment:
Get a 5.3 or trunk snapshot from the
sources.redhat.com/pub/gdb/snapshots directory; that won't include SID.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Cross gdb for ARM
2002-11-12 10:12 ` Daniel Jacobowitz
@ 2002-11-12 11:59 ` Wendy Peikes
2002-11-13 2:23 ` Stuart Hughes
1 sibling, 0 replies; 4+ messages in thread
From: Wendy Peikes @ 2002-11-12 11:59 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: Robert Schwebel, gdb
Daniel, Robert et al:
We at Cisco managed to get an ARM cross gdb working on 5.0
even though the FSF code was missing quite a bit. I'm
interested in helping anyone else out with ARM x-gdb issues
or donating parts of it to the FSF (after it clears paperwork here).
Might I be able to help you out here? The code was written by
myself (GDB Support) and Mickey Sartin (who works on the ARM
backend).
Wendy Peikes
Cisco Systems
GDB Support
Daniel Jacobowitz wrote:
> On Tue, Nov 12, 2002 at 07:08:18PM +0100, Robert Schwebel wrote:
> > Hi,
> >
> > which version of gdb/gdbserver is currently recommended for StrongARM?
> > I've tried 5.2 and 5.2.1, but both do not work. I can start the program
> > on the target remotely with "run", but I cannot set breakpoints. It
> > simply continues running and doesn't stop.
>
> 5.2 should work. More details?
>
> > I also wanted to try CVS, but it doesn't compile at the moment:
>
> Get a 5.3 or trunk snapshot from the
> sources.redhat.com/pub/gdb/snapshots directory; that won't include SID.
>
> --
> Daniel Jacobowitz
> MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Cross gdb for ARM
2002-11-12 10:12 ` Daniel Jacobowitz
2002-11-12 11:59 ` Wendy Peikes
@ 2002-11-13 2:23 ` Stuart Hughes
1 sibling, 0 replies; 4+ messages in thread
From: Stuart Hughes @ 2002-11-13 2:23 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: Robert Schwebel, gdb
Daniel Jacobowitz wrote:
>
> On Tue, Nov 12, 2002 at 07:08:18PM +0100, Robert Schwebel wrote:
> > Hi,
> >
> > which version of gdb/gdbserver is currently recommended for StrongARM?
> > I've tried 5.2 and 5.2.1, but both do not work. I can start the program
> > on the target remotely with "run", but I cannot set breakpoints. It
> > simply continues running and doesn't stop.
>
> 5.2 should work. More details?
>
> > I also wanted to try CVS, but it doesn't compile at the moment:
>
> Get a 5.3 or trunk snapshot from the
> sources.redhat.com/pub/gdb/snapshots directory; that won't include SID.
Hi Robert,
FWIW, I've been doing something similar, with gdb/gdbserver 5.2 and with
the 5.3 CVS branch (the main difference is that the 5.3 has thread
support, which Daniel did. I tried this on mips and it works great, but
I've not tried it on arm yet).
As far as the not stopping goes, this may be the same problem that I
reported a week ago (look for software single step in the archives).
With Daniel's assistance, I've been able to isolate the problem (same on
5.2 and 5.3), and I have a fix. Once I've cleaned up and checked it,
I'll send an patch and an explanation to the list (replying to software
single step thread), hopefully I should get that done today.
Regards, Stuart
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-11-13 10:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-12 10:08 Cross gdb for ARM Robert Schwebel
2002-11-12 10:12 ` Daniel Jacobowitz
2002-11-12 11:59 ` Wendy Peikes
2002-11-13 2:23 ` Stuart Hughes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox