This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Using GDB on VME
- To: cperkon at fh-landshut dot de
- Subject: Re: Using GDB on VME
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 18 Sep 2001 00:57:07 -0400
- Cc: GDB Mailinglist <gdb at sourceware dot cygnus dot com>
- References: <3BA0C183.5D0EF34A@fh-landshut.de>
> I'm like to use the gdb to debug a Motorola ColdFire CPU as target.
> My host system is Sun SPARC (Solaris 8). The connection between the host
> an the target is a VME-Bus.
>
> My problem on this constellation is, that I do not know how to tell GDB
> to connect to my target. I didn't find any informations about how to
> configure GDB on a target connected else then a serial cable.
> All the papers I found in the net discusses the possbilty of debugging
> remote systems on serial cables. I'm agree with the necessity to have a
> stub on a target system, which is not configured for communications with
> the host.
> In my case the target and the host are conncted permanently. (And they
> twaddle a lot... [:)] )
> So I've a established connection I'd like to use for my debugging
> project - and I wonder if I could not use it.
> The only thing I need sounds so simple: I just need to connect the gdb
> to the VME-device driver. But I don`t know how.
two possabilities come to mind:
have the VME-device driver provide a TCP port that GDB could connect to.
have the VME-device driver grab a tty/pty and use that as the serial
iterface.
andrew