List Info

Thread: restore hangs up




restore hangs up
user name
2006-05-17 00:43:14
On Tue, May 16, 2006 at 06:32:28PM -0600, Shaun Jackman
wrote:
> On arm-elf-gdb 6.4 for target rdi, the restore command
hangs up. The
> `Restoring binary' message is the last thing I see.
GDB does not
> respond to Ctrl-C. I see that RDI support has been
removed from CVS.
> So, three questions:
> 
> 1. Any idea how I can diagnose/work-around this bug in
GDB 6.4?

No, since we have no idea what the bug is.

> 2. Can the restore command display some progress
information?

You could certainly hack it to; I don't know if it would be
generally
useful.

> 3. With a CVS version of gdb (no RDI), is there a
recommended way to
> communicate with RDI targets such as the Jeeni JTAG
device?

Use a third-party program which converts RDI to the GDB
remote
protocol.  There's at least two; one formerly distributed
by Cygnus
that you can probably still find (I'm afraid I don't
remember the name)
and one in CodeSourcery's ARM releases, which are publicly
available.
There might be others, too.

-- 
Daniel Jacobowitz
CodeSourcery
restore hangs up
user name
2006-05-17 16:02:46
On 5/16/06, Daniel Jacobowitz <drowfalse.org> wrote:
> On Tue, May 16, 2006 at 06:32:28PM -0600, Shaun Jackman
wrote:
...
> > 3. With a CVS version of gdb (no RDI), is there a
recommended way to
> > communicate with RDI targets such as the Jeeni
JTAG device?
>
> Use a third-party program which converts RDI to the GDB
remote
> protocol.  There's at least two; one formerly
distributed by Cygnus
> that you can probably still find (I'm afraid I don't
remember the name)
> and one in CodeSourcery's ARM releases, which are
publicly available.
> There might be others, too.

Fernando,

Do you know anything about this Cygnus GDB/RDI translation
utility?

I looked into the CodeSourcery utility, rdi-stub. It
requires a
dl-solib (SORDI) that consumes the RDI data. The only one I
know of is
ARM's Armulator. I need one that communicates with a TCP
port, but I'm
not sure one exists.

Cheers,
Shaun
restore hangs up
user name
2006-05-17 16:55:38
On Wed, May 17, 2006 at 10:02:46AM -0600, Shaun Jackman
wrote:
> On 5/16/06, Daniel Jacobowitz <drowfalse.org> wrote:
> >On Tue, May 16, 2006 at 06:32:28PM -0600, Shaun
Jackman wrote:
> ...
> >> 3. With a CVS version of gdb (no RDI), is
there a recommended way to
> >> communicate with RDI targets such as the Jeeni
JTAG device?
> >
> >Use a third-party program which converts RDI to the
GDB remote
> >protocol.  There's at least two; one formerly
distributed by Cygnus
> >that you can probably still find (I'm afraid I
don't remember the name)
> >and one in CodeSourcery's ARM releases, which are
publicly available.
> >There might be others, too.
> 
> Fernando,
> 
> Do you know anything about this Cygnus GDB/RDI
translation utility?
> 
> I looked into the CodeSourcery utility, rdi-stub. It
requires a
> dl-solib (SORDI) that consumes the RDI data. The only
one I know of is
> ARM's Armulator. I need one that communicates with a
TCP port, but I'm
> not sure one exists.

You're supposed to have one of these from wherever you got
the RDI
device.  The DLL interface is the only one ARM supports or
documents,
as far as I remember.  What it actually speaks looks like
ADP, the
underlying proprietary protocol.

It's possible that I am mistaken and the ADP DLL is
supposed to come
from the ARM tools rather than the device.  I'm not sure
what to
suggest, then.  You may need to ask EPI about this; their
FAQ hasn't
been updated in years, but does reference "target
rdi".

-- 
Daniel Jacobowitz
CodeSourcery
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )