On Fri, Aug 17, 2007 at 02:11:58PM -0500, Larry Osborn
wrote:
>
> Hello All,
>
> I'm new to gdb so I apologize in advance if these
questions are
> lame. I'm trying to connect a JTAG device to GDB. This
device does
> not support either serial or tcp/ip so the remote
connection won't
> work. The interface is actually PCI. I was wondering if
the
> gdbserver would work. It is not clear to me from the
documentation
> if the server has to run on the embedded target or on
the host. My
gdbserver is specifically for remote debugging of userspace
programs
on Unix-like (or, now, Windows-like) systems.
> desire is to have the debugger run on a window host,
connected to
> JTAG hardware, and then connected to a PowerPC target.
If you can
> point me to what I should read or any tips on this
subject would be
> very helpful.
You need a "stub" which translates from the JTAG
device's interface to
GDB's remote protocol. You'll have to check with your tools
vendor or
JTAG vendor to see whether one exists; usually these are
proprietary
applications, since vendors are not willing to publish specs
for their
JTAG devices. I know CodeSourcery's tools support a bunch
of JTAG
units, but none which are PCI cards.
--
Daniel Jacobowitz
CodeSourcery
|