Debugging PowerPC 860 embedded target with Abatron BDI 2000: Remo te packet too long errors.

Cristian Alonso CALONSO@teldat.es
Thu Nov 29 09:16:00 GMT 2001


Thanks a lot Elena. 
It worked great with the command 'set architecture powerpc:MPC8xx' 
I have to confess I had no idea about this 'set achitecture' command... :(

My default architecture was rs6000:6000 which obviously was wrong. I took a
look at rs6000-tdep.c and bfd/cpu-powerpc.c and they look ok to me.

Thanks again for your quick response,
Cristian Alonso Aldama
Development Group Manager
R&D Department
e-mail: calonso@teldat.es 
http://www.teldat.es



-----Mensaje original-----
De: Elena Zannoni [ mailto:ezannoni@cygnus.com ]
Enviado el: jueves 29 de noviembre de 2001 16:50
Para: Cristian Alonso
CC: gdb-patches@sourceware.cygnus.com
Asunto: Re: Debugging PowerPC 860 embedded target with Abatron BDI 2000:
Remo te packet too long errors.



Hi, have you tried changing the default architecture that gdb thinks
it is dealing with?

If your current architecture (use 'show architecture') is powerpc:common,
the
register set is smaller. Try 'set architecture powerpc:860'

Look in rs6000-tdep.c at the 'variants' array.

Hope this helps a bit
Elena

Cristian Alonso writes:
 > Hi,
 > I am using an Abatron (Swiss company that makes BDM's which work whith
gdb)
 > BDI2000 to debug an embedded target with a PowerPC 860 CPU using
Insight-5.1
 > (last prerelease snapshot available). 
 > 
 > 



More information about the Gdb-patches mailing list