From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10747 invoked by alias); 4 Dec 2003 00:03:29 -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 10695 invoked from network); 4 Dec 2003 00:03:24 -0000 Received: from unknown (HELO web9608.mail.yahoo.com) (216.136.129.187) by sources.redhat.com with SMTP; 4 Dec 2003 00:03:24 -0000 Message-ID: <20031204000322.98248.qmail@web9608.mail.yahoo.com> Received: from [161.114.32.111] by web9608.mail.yahoo.com via HTTP; Wed, 03 Dec 2003 16:03:22 PST Date: Thu, 04 Dec 2003 00:03:00 -0000 From: Marc Paloma Subject: offline core file analysis from a PPC 440GX target on my Solaris hostsystem To: gdb@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-12/txt/msg00074.txt.bz2 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. (2) If I create a separate ELF formatted file of my embedded application (to read in the symbols) and a separate corefile of when the application halted (corefile), could I analyze the dump file offline using GDB on my Solaris workstation (i.e. not connected to the 440GX processor). If so, how would I configure the --target settings (i.e. --target=powerpc-???-???) and what other code modifications must I endure in order to get this to work. I'm new to GDB debugging and corefile analysis so I apoligize if more clarification on my part is necessary. Andrew Cagney recommended I send my inquires here so any help or insight would be very much appreciated. -Marc Paloma __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/