From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14998 invoked by alias); 4 Dec 2003 00:10:50 -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 14990 invoked from network); 4 Dec 2003 00:10:49 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 4 Dec 2003 00:10:49 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1ARh4w-0005YN-8G; Wed, 03 Dec 2003 19:10:46 -0500 Date: Thu, 04 Dec 2003 00:10:00 -0000 From: Daniel Jacobowitz To: Marc Paloma Cc: gdb@sources.redhat.com Subject: Re: offline core file analysis from a PPC 440GX target on my Solaris hostsystem Message-ID: <20031204001044.GA18798@nevyn.them.org> Mail-Followup-To: Marc Paloma , gdb@sources.redhat.com References: <20031204000322.98248.qmail@web9608.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031204000322.98248.qmail@web9608.mail.yahoo.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-12/txt/msg00075.txt.bz2 On Wed, Dec 03, 2003 at 04:03:22PM -0800, Marc Paloma wrote: > Greetings, > > Is it possible to configure a version of GDB for > "--host=sparc-solaris2.8 and > --target=powerpc-ibm-vxworks5.5" that can analyze a > core file from an IBM PPC 440GX embedded system > offline? Currently, I'm getting the following error > from GDB 5.3: > > (gdb) core-file 440gxdump > GDB can't read core files on this machine. > > (1) Is there any version of GDB which is aware of the > IBM PPC 440GX processor architecture? I am aware of > WindRiver having a version of GDB however, > their version of GDB does not support the gdb corefile > functionality. I'm not interested in remote online > debugging of the 440GX. However, I would like a way > to build a version of GDB which can analyze a core > file from a 440GX memory dump and be able to do a > backtrace, info registers, frame into the stack, and > look at local/global variables. I do not believe that any PPC VxWorks target supports core files. You could try a powerpc-linux debugger but (A) I believe you'll need 6.0 and (B) it is unlikely that it will understand the VxWorks dump notes. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer