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: gdb over 68360 BDM


> On Sat, 16 Aug 1997, Francis Valentinis wrote:
> 
> > I remember reading somewhere that Motorola CPU32 BDM support
> > had been integrated as a target type in gdb, allowing remote 
> > debugging via the CPU32 BDM port using a standard BDM cable.
> > 
> > ....
> > 
> > Could anyone shed some light on this?
> > 
> 
>   ftp://ftp.lpr.e-technik.tu-muenchen.de/pub/bdm/

This link is correct for the BDM patches for 68332 or other "simple" CPU32
controllers and for x86-Linux with the PD BDM interface on the printer
port.

However, as the subject says, the original poster has been looking for BDM
support for a 68360 system, which is slightly different: Before debugging a
68360 the mbar register has to be set. As this is a special register which
requires temporary changing SFC/DFC, mbar support must be added in the GDB
backend.

This feature is not yet in the above mentioned patches. I am working on a
new release, and actually have a working 68360 debugger, but this has not
been released yet. If anybody needs this very urgently, mail me.

Let me also point you to the work of Eric Norum at Univ. Sasketchuan (sp?),
Canada, who built another Linux GDB/BDM system. His system has already
68360 support. Sorry, no precise link at hand.

Greetings
gm
-- 
Gunter Magin                                       magin[AT]skil.camelot.de