support biarch gcore?

Jon Zhou
2010-07-05T04:54:39Z

Hi there

Regarding this case, does the current release solve it ? I just tried the patch but looks it doesn't work

Thanks
jon

http://sourceware.org/ml/gdb/2009-03/msg00010.html

Re: Problem viewing gcore of 32 bit binary on 64 bit SLES 10.1, gdb 6.6
From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
To: Shane G <pachoo at gmail dot com>
Cc: gdb at sourceware dot org
Date: Tue, 3 Mar 2009 00:10:28 +0100
Subject: Re: Problem viewing gcore of 32 bit binary on 64 bit SLES 10.1, gdb 6.6
References: <985ad4e70903021500u594a4c4w30eff9ae287f5e8d@mail.gmail.com>

--------------------------------------------------------------------------------

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