This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: m68k embedded in Sun sparc workstation



een@curtech.curtech.com said:
> I'm trying to build a cross GDB that can access a m68k processor
> (actually an MC68360) plugged into the SBUS of a sparc workstation.

I've done that sort of thing for an i960 on a PCI card. You are right
that it is not a small job, but not an enourmous one either. You can
look at what I did by downloading

	ftp://ftp.picturel.com/pub/source/ucr/ucr-1.0/ucr-1.0.tar.gz

and looking in the ucr/source/ucr/gdb directory. There is a patch to
gdb 4.16 that communicates with the GDB stub class in source/libgdb.

You can also look at the remote.c file in the gdb source distribution
for some ideas how things work.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."