This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB doesn't display thread_id while debugging a core file
On Mon, 2008-04-14 at 23:10 -0400, Daniel Jacobowitz wrote:
> On Mon, Apr 14, 2008 at 08:04:52PM -0700, Icarus Sparry wrote:
> > If I understand what Daniel was saying correctly, the libthread_db file
> > would be an x86 shared library, but it would be configured to handle
> > ppc32 elf core files, in the same way as the executable
> > powerpc-linux-gdb program that currently we have running on the x86
> > machines.
>
> No. You would have to rely on the native x86 library luckily doing
> the right thing.
And that's highly unlikely. Data structures would likely
have different fields and sizes and such.
If someone wanted to make a project of building a cross-libthread-db,
I'm sure it could be done -- but it would be a project.