From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11507 invoked by alias); 30 Mar 2005 04:51:14 -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 11192 invoked from network); 30 Mar 2005 04:50:48 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 30 Mar 2005 04:50:48 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DGVBL-00031v-WA; Tue, 29 Mar 2005 23:51:56 -0500 Date: Wed, 30 Mar 2005 04:51:00 -0000 From: Daniel Jacobowitz To: Jon Ringle Cc: gdb@sources.redhat.com Subject: Re: arm core analysis on x86 host Message-ID: <20050330045155.GA11603@nevyn.them.org> Mail-Followup-To: Jon Ringle , gdb@sources.redhat.com References: <200503281829.19775.jon.ringle@comdial.com> <200503291139.15566.jon.ringle@comdial.com> <20050329165316.GA11679@nevyn.them.org> <200503292107.17776.jon.ringle@comdial.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200503292107.17776.jon.ringle@comdial.com> User-Agent: Mutt/1.5.6+20040907i X-SW-Source: 2005-03/txt/msg00294.txt.bz2 On Tue, Mar 29, 2005 at 09:07:17PM -0500, Jon Ringle wrote: > Daniel, > > Is the problem that the osabi for the file and target don't match? > > (gdb) file ippbx.gdb > find_arch_by_info: info.bfd_arch_info arm > find_arch_by_info: info.byte_order 1 (little) > find_arch_by_info: info.osabi 5 (GNU/Linux) > find_arch_by_info: info.abfd 0x849e558 > find_arch_by_info: info.tdep_info 0x0 > find_arch_by_info: Previous architecture 0x0848e430 (arm) selected > Reading symbols > from /home/ringlej/mp1000/trunk-fixes/Soundpipe/ippbx/ippbx.gdb...done. > (gdb) target core ./core > find_arch_by_info: info.bfd_arch_info arm > find_arch_by_info: info.byte_order 1 (little) > find_arch_by_info: info.osabi 21 (ARM APCS) > find_arch_by_info: info.abfd 0x84a0450 > find_arch_by_info: info.tdep_info 0x0 > find_arch_by_info: New architecture 0x08571958 (arm) selected You should try to see how this works on PPC. I don't know. -- Daniel Jacobowitz CodeSourcery, LLC