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/
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/
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/