This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RE: Debugging PowerPC 860 embedded target with Abatron BDI 2000: Remo te packet too long errors.
- From: Cristian Alonso <CALONSO at teldat dot es>
- To: Elena Zannoni <ezannoni at cygnus dot com>
- Cc: gdb-patches at sourceware dot cygnus dot com
- Date: Thu, 29 Nov 2001 18:23:48 +0100
- Subject: RE: Debugging PowerPC 860 embedded target with Abatron BDI 2000: Remo te packet too long errors.
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).
>
>