From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21750 invoked by alias); 2 Mar 2009 23:10:45 -0000 Received: (qmail 21742 invoked by uid 22791); 2 Mar 2009 23:10:45 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 02 Mar 2009 23:10:39 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n22NAbC4015938 for ; Mon, 2 Mar 2009 18:10:37 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n22NAbnH001723 for ; Mon, 2 Mar 2009 18:10:38 -0500 Received: from host0.dyn.jankratochvil.net (sebastian-int.corp.redhat.com [172.16.52.221]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n22NAa9O023842 for ; Mon, 2 Mar 2009 18:10:37 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id n22NAWP2017837; Tue, 3 Mar 2009 00:10:34 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.2/Submit) id n22NASSw017819; Tue, 3 Mar 2009 00:10:28 +0100 Date: Mon, 02 Mar 2009 23:10:00 -0000 From: Jan Kratochvil To: Shane G Cc: gdb@sourceware.org Subject: Re: Problem viewing gcore of 32 bit binary on 64 bit SLES 10.1, gdb 6.6 Message-ID: <20090302231027.GA16759@host0.dyn.jankratochvil.net> References: <985ad4e70903021500u594a4c4w30eff9ae287f5e8d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <985ad4e70903021500u594a4c4w30eff9ae287f5e8d@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00010.txt.bz2 On Tue, 03 Mar 2009 00:00:57 +0100, Shane G wrote: > I'm unable to view any usable information from a gcore that I've run > against a 32 bit binary running on a 64 bit version of SLES 10.1. from your description IMO the core file is primarily generated wrong by gcore. If you somewhere get a correct 32bit core file expecting gdb-x86_64 probably reads it fine on your system. > This GDB was configured as "x86_64-suse-linux"... At least in http://download.opensuse.org/repositories/home:/dgollub/openSUSE_Factory/src/gdb-6.8-14.80.src.rpm I see no gcore biarch patch and FSF GDB does not support biarch gcore (in this case i386-on-x86_64). You may port there the patch: http://cvs.fedora.redhat.com/viewvc/rpms/gdb/devel/gdb-6.5-gcore-i386-on-amd64.patch?revision=1.6 Regards, Jan