Debug PowerPC application with GDB over network on a i386

3 messages, 3 authors, 2000-07-10 · open the first message on its own page

Debug PowerPC application with GDB over network on a i386

From: Raphael Bossek <hidden>
Date: 2000-07-09 13:00:22

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 [off-list ref] [ICQ #40047651]

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

RE: Debug PowerPC application with GDB over network on a i386

From: Frank Smith <hidden>
Date: 2000-07-09 11:11:43

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 [off-list ref] [ICQ #40047651]

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

Re: Debug PowerPC application with GDB over network on a i386

From: Graham Stoney <hidden>
Date: 2000-07-10 02:57:56

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help