From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29985 invoked by alias); 17 Jun 2002 14:36:10 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29971 invoked from network); 17 Jun 2002 14:36:05 -0000 Received: from unknown (HELO saturn.billgatliff.com) (209.251.101.200) by sources.redhat.com with SMTP; 17 Jun 2002 14:36:05 -0000 Received: by saturn.billgatliff.com (Postfix, from userid 500) id EFE48141F3E; Mon, 17 Jun 2002 09:36:04 -0500 (CDT) Date: Mon, 17 Jun 2002 07:36:00 -0000 From: "William A. Gatliff" To: gdb@sources.redhat.com Subject: Re: Cygwin, gdb, ocd, raven, mpc555 Message-ID: <20020617093604.B4380@saturn.billgatliff.com> Reply-To: bgat@billgatliff.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from mw@truninger.com on Mon, Jun 17, 2002 at 09:16:18AM +0200 X-SW-Source: 2002-06/txt/msg00124.txt.bz2 Martin: Ah yes, the double-edged sword of proprietary backends to gdb... :^( 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