From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31213 invoked by alias); 26 Nov 2003 21:27:13 -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 31155 invoked from network); 26 Nov 2003 21:27:10 -0000 Received: from unknown (HELO lax-gate2.raytheon.com) (199.46.200.231) by sources.redhat.com with SMTP; 26 Nov 2003 21:27:10 -0000 Received: from ds02t00.directory.ray.com (ds02t00.directory.ray.com [147.25.154.117]) by lax-gate2.raytheon.com (8.12.10/8.12.10) with ESMTP id hAQLR9fj024830 for ; Wed, 26 Nov 2003 13:27:09 -0800 (PST) Received: from ds02t00.directory.ray.com (localhost [127.0.0.1]) by ds02t00.directory.ray.com (8.12.10/8.12.1) with ESMTP id hAQLR8o3008728 for ; Wed, 26 Nov 2003 21:27:08 GMT Received: Received: from electra.rsc.raytheon.com (electra.RSC.RAYTHEON.COM [147.19.81.176]) by ds02t00.directory.ray.com (8.12.10/8.12.9) with ESMTP id hAQLR7p1008722 sender sawitt@zeus.rsc.raytheon.com for ; Wed, 26 Nov 2003 21:27:07 GMT Received: from [147.19.81.175] (helo=zeus.rsc.raytheon.com ident=mail) by electra.rsc.raytheon.com with esmtp (Exim 3.35 #1 (Debian)) id 1AP7Bj-0006A7-00 for ; Wed, 26 Nov 2003 13:27:07 -0800 Received: from sawitt (helo=localhost) by zeus.rsc.raytheon.com with local-esmtp (Exim 3.35 #1 (Debian)) id 1AP7Bj-00063U-00 for ; Wed, 26 Nov 2003 13:27:07 -0800 Date: Wed, 26 Nov 2003 21:27:00 -0000 From: "Stephen A. Witt" X-X-Sender: sawitt@zeus.rsc.raytheon.com To: gdb@sources.redhat.com Subject: GDB can't read core Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-11/txt/msg00266.txt.bz2 I'm working on an IXP425-based system (actually right now the IXDP-425 board from Intel) and have built a cross-toolchain using Dan Kegel's crosstool script. I've added a "cross" gdb (gdb-6.0) built to execute on an i386 but with the target set to arm-unknown-linux-gnu. I'm trying to get this gdb to look at a core file generated on my target board whan an app segfaulted. I transferred the core file back to my development machine and run gdb and tried to get it to read the core file. The following is the error I get: $ arm-unknown-linux-gnu-gdb -c ./core GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-unknown-linux-gnu". GDB can't read core files on this machine. (gdb) I've searched around and found some references to this problem, but never did see a definitive answer (at least that I could understand). So, should it be possible to debug core files in this way? Any tips on how to proceed? Thanks...