Cross GDB and core files

Elan Feingold elan at nxnetworks.com
Thu Sep 6 07:35:57 EST 2001


Hi,

I'm trying to get gdb compiled with host of 386-linux and target of
ppc-linux, mostly for debugging core files.  The ppc_8xx-gdb that came with
hardhat doesn't work, when I run it on a core file I get:

...
warning: couldn't find general purpose registers in core file.
warning: wrong size fpregset struct in core file.
...

And if I try to build gdb from scratch using
"./configure --target=ppc-linux" I get a cross gdb that has no clue how to
read PPC ELF core files.

Help.

-elan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list