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/
Elan,
This was a problem with the 4.18 GDB. It was fixed in the HHL releases.
It is fixed in GDB 5.0x. from MontaVista.
Cal Erickson
Elan Feingold wrote:
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
--
===========================================================================
Cal Erickson MontaVista Software Inc.
Linux Consultant 1237 E. Arques Ave.
Phone (408) 328-0304 Sunnyvale CA 94085
Fax (408) 328-9204 web http://www.mvista.com
===========================================================================
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
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:
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.
I've had luck building gdb-5.0 for powerpc-linux and used it to
debug a PPC linux kernel via a serial port, as well as use it (in
conjunction with gdbserver) to debug application code over the
network. I used the following to configure:
../gdb-5.0/configure --target=powerpc-linux
--
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/