68302 debugging problem

Bogic Petrovic boggy at elab.tmf.bg.ac.yu
Thu Jun 8 02:36:32 UTC 2000


Thanks!

Zoltan Kocsi wrote:
> 
>  > Hi!
>  >
>  >  How can I connect gdb and MC68302 (without BDM support)?
>  >  Can I use serial or Ethernet link?
>  >  Does anyone try this?
> 
> In the GDB distribution you'll find the relevant stubs.
> You basically link the stub into your code running on
> your target, provide a few functions (mainly character
> I/O) and you can debug through the serial line.
> 
> By the way, this is an excerpt from the README file that comes
> with the gdb-4.18 distribution:
> 
> > [... ]
> >
> > Remote debugging
> > =================
> >
> > The files m68k-stub.c, i386-stub.c, and sparc-stub.c are examples of
> > remote stubs to be used with remote.c.  They are designed to run
> > standalone on an m68k, i386, or SPARC cpu and communicate properly with
> > the remote.c stub over a serial line.
> >
> > [... ]
> 
> It is often quite useful to read the README-s :-)
> 
> The comments at the beginning of m68k-stub.c explains what to do.
> I don't remember the details (it was a long time ago I used it)
> but I know that it was quite simple.
> 
> Best Regards,
> 
> Zoltan




More information about the users mailing list