linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* RE: Debug PowerPC application with GDB over network on a i386
  2000-07-09 13:00 Debug PowerPC application with GDB over network on a i386 Raphael Bossek
@ 2000-07-09 11:11 ` Frank Smith
  2000-07-10  2:57 ` Graham Stoney
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Smith @ 2000-07-09 11:11 UTC (permalink / raw)
  To: Raphael Bossek, linuxppc-embedded; +Cc: smith


Hi Raphael,

I've used DDD on an x86 host, talking over rsh to
a gdb running on the powerpc target.

It works, but sometimes the communication between the
host and the target isn't very responsive-- I think
there's probably buffereing issues involved.

To try it out, just read the DDD docs. I believe the
invocation of ddd is something like

ddd --host USER@TARGET BINARY


Frank.


> -----Original Message-----
> From: owner-linuxppc-embedded@lists.linuxppc.org
> [mailto:owner-linuxppc-embedded@lists.linuxppc.org]On Behalf Of Raphael
> Bossek
> Sent: Sunday, July 09, 2000 7:57 AM
> To: linuxppc-embedded@lists.linuxppc.org
> Subject: Debug PowerPC application with GDB over network on a i386
>
>
>
> hi all,
>
> is it possible to use a graphical GDB frontend, e.g. DDD, on a i386 and
> debug application running on the PowerPC hardware where gdb is
> running too.
> I'm not talking about debugging the kernel, only simple applications!
> I thing about using the LAN interface for both GDB's... Using someone
> such a environment successfully here ?!
>
> --
> Raphael Bossek <raphael.bossek@solutions4linux.de> [ICQ #40047651]
>
>
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Debug PowerPC application with GDB over network on a i386
@ 2000-07-09 13:00 Raphael Bossek
  2000-07-09 11:11 ` Frank Smith
  2000-07-10  2:57 ` Graham Stoney
  0 siblings, 2 replies; 3+ messages in thread
From: Raphael Bossek @ 2000-07-09 13:00 UTC (permalink / raw)
  To: linuxppc-embedded


hi all,

is it possible to use a graphical GDB frontend, e.g. DDD, on a i386 and
debug application running on the PowerPC hardware where gdb is running too.
I'm not talking about debugging the kernel, only simple applications!
I thing about using the LAN interface for both GDB's... Using someone
such a environment successfully here ?!

--
Raphael Bossek <raphael.bossek@solutions4linux.de> [ICQ #40047651]

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Debug PowerPC application with GDB over network on a i386
  2000-07-09 13:00 Debug PowerPC application with GDB over network on a i386 Raphael Bossek
  2000-07-09 11:11 ` Frank Smith
@ 2000-07-10  2:57 ` Graham Stoney
  1 sibling, 0 replies; 3+ messages in thread
From: Graham Stoney @ 2000-07-10  2:57 UTC (permalink / raw)
  To: Raphael Bossek; +Cc: linuxppc-embedded


Raphael Bossek writes:
> is it possible to use a graphical GDB frontend, e.g. DDD, on a i386 and
> debug application running on the PowerPC hardware where gdb is running too.
> I'm not talking about debugging the kernel, only simple applications!
> I thing about using the LAN interface for both GDB's... Using someone
> such a environment successfully here ?!

Yes, you run gdbserver on the embedded system. It worked fine for me under
gdb-4.18. I haven't had the need to try it again under gdb-5.0. You can get
the precompiled gdbserver from:
    ftp://ftp.ppc.kernel.org/pub/linuxppc/embedded/gdbserver.tgz

Regards,
Graham
--
Graham Stoney
Principal Hardware/Software Engineer
Canon Information Systems Research Australia
Ph: +61 2 9805 2909  Fax: +61 2 9805 2929

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-07-10  2:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-09 13:00 Debug PowerPC application with GDB over network on a i386 Raphael Bossek
2000-07-09 11:11 ` Frank Smith
2000-07-10  2:57 ` Graham Stoney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).