This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Help with Remote debbugging of PowerPC
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Murray <atkinson_murray at hotmail dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 04 Apr 2002 11:54:31 -0500
- Subject: Re: Help with Remote debbugging of PowerPC
- References: <a55db1c1.0203212259.7772e007@posting.google.com>
> Can anyone help with a problem I'm having getting GDB talking to a
> remote target. I'm trying to get GDB working with an application
> running on a proprietary board with a Motorola MPC755. The comms is
> through shared memory, so I have written a TCP/IP socket to shared
> memory comms program, and use the 'target remote <host>:<port>'
> command in GDB to start things off.
Best thing to do first is download an up-to-date version of GDB. See:
http://sources.redhat.com/gdb/current/
If you still have problems, remember to include the GDB version info
(displayed when GDB starts).
> [...]
> I am running GDB under Solaris 2.8. Do I need to build gdb for the
> power-pc target or does it automatically determine the target type ?
At present this doesn't happen :-(
You'll need to build a GDB configured for your target:
..../configure --target=powerpc-eabi
for instance. That is likely the problem.
> Is there any more documentation on remote debugging other than the GDB
> manual at gnu.org ?
Not really. It was recently made its own chapter (so it is easier to
find) but still needs significant work.
Andrew