Using GDB on VME
Andrew Cagney
ac131313@cygnus.com
Mon Sep 17 21:57:00 GMT 2001
> 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
More information about the Gdb
mailing list