This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin, gdb, ocd, raven, mpc555


Martin:


<rant>

Ah yes, the double-edged sword of proprietary backends to gdb...  :^(

</rant>

One solution, if your budget will stand for it, is to go to the
Abatron BDI2000/gdb.  It speaks gdb's native protocol over ethernet,
i.e. it's an ethernet-to-BDM+JTAG bridge that looks like a remote
debugging target.  The firmware in the bridge isn't Free, but at least
it speaks a Free protocol.

I'm using the CPU32 version, which uses BDM on the target side and
works like a champ.  I've run it against every released version of gdb
since 5.0 and it seems to do fine without any modification to gdb
whatsoever.  I suspect the same would be true for PPC.

The hardware unit is about $2k, which seems cost-effective for the
serious user who doesn't want to spend time mucking around with DLLs
and the like.  It's cost-effective to me, anyway, and I bought it with
my own money.  And since my workstation choices are Solaris and Linux,
the Wiggler isn't really an option anyway.

I don't have any financial interests in Abatron, I'm just a satisfied
user.  I bought mine through http://ultsol.com.

b.g.




On Mon, Jun 17, 2002 at 09:16:18AM +0200, Martin Winistörfer wrote:
> 
> Hi,
> 
> I read several mails on this mailing list about ocd and
> got finally really confused. I would like to set up a system
> with winnt, cygwin, gdb as debugger, a raven interface from
> Macraigor and as target an MPC555.
> 
> I got to the conclusion to download the gdb-5.0 version
> from www.ocdemon.com as some guys were told on the
> list. This version supports ocd as well as the raven interface.
> 
> But I found out the this gdb-5.0 does not support the the
> "set architecture powerpc:MPC8XX" option. So I can´t set the IMMR register.
> This is the first register I have to set (in the gdbinit file) before I can
> set
> every other register. So this gdb-5.0 is useless without the possibility to
> set the IMMR.  It of course supports the "target ocd raven 0"
> option to set the proper target. The strange thing is, macraigor as well
> as ocdemon say this gdb-5.0 works with mpc555. So I suppose someone
> is running on a MPC5XX or MPC8XX platform with this gdb-5.0. But
> how do they set the IMMR?
> 
> I now downloaded gdb-5.1.1 and compiled it. Now I can set the MPC8XX
> architecture but not the "target ocd raven 0"!!!!! I know there was a
> discussion
> about the wiggler.dll. And I also know that the ocd files (ocd.c, ppc_bdm.c)
> have been modified (thats porbably the reason why the raven target doesn´t
> work)
> and it seems to my that it works only with the wiggler.
> 
> Well but what shall I do now do build up my system? Can anyone help me?
> 
> I tought maybe I can remove the current ocd files in the gdb-5.1.1 source
> code
> and replace it with the modified ocd files from www.ocdemon.com. But it
> seems not to go so easily. I´m not a hacker which can do this easily.
> 
> Thanks for every help,
> 
> Martin Winistörfer
> 
> 

-- 
Bill Gatliff
bgat@billgatliff.com


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