From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cristian Alonso To: Elena Zannoni Cc: gdb-patches@sourceware.cygnus.com Subject: RE: Debugging PowerPC 860 embedded target with Abatron BDI 2000: Remo te packet too long errors. Date: Thu, 29 Nov 2001 09:16:00 -0000 Message-id: <41FAD0CB3B6BD3118BE600C04F43DB20E8839B@CORREO> X-SW-Source: 2001-11/msg00560.html 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). > > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17988 invoked by alias); 29 Nov 2001 17:16:21 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17870 invoked from network); 29 Nov 2001 17:16:12 -0000 Received: from unknown (HELO correo.teldat.es) (212.95.195.134) by hostedprojects.ges.redhat.com with SMTP; 29 Nov 2001 17:16:12 -0000 Received: by CORREO with Internet Mail Service (5.5.2653.19) id ; Thu, 29 Nov 2001 18:23:49 +0100 Message-ID: <41FAD0CB3B6BD3118BE600C04F43DB20E8839B@CORREO> From: Cristian Alonso To: Elena Zannoni Cc: gdb-patches@sourceware.cygnus.com Subject: RE: Debugging PowerPC 860 embedded target with Abatron BDI 2000: Remo te packet too long errors. Date: Mon, 19 Nov 2001 13:02:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-SW-Source: 2001-11/txt/msg00345.txt.bz2 Message-ID: <20011119130200.LHtS8NawqJ_FpQcEQGO6DDzQPwx2y6q2mNJDi2CDMfQ@z> 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). > >