This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: cross targeted gdb and corefiles
- From: "Kevin \"Squail\" Endres" <kevine at wildseed dot com>
- To: 'Kevin Buettner' <kevinb at redhat dot com>, "Kevin \"Squail\" Endres" <kevine at wildseed dot com>, 'Daniel Jacobowitz' <drow at mvista dot com>, Richard dot Earnshaw at arm dot com
- Cc: gdb at sources dot redhat dot com
- Date: Thu, 16 May 2002 15:27:59 -0700
- Subject: RE: cross targeted gdb and corefiles
Yep had just figured out to move the supply_* (and the nwfpe*) functions
from arm-linux-nat.c to arm-linux-tdep.c. I did assume that the kernel
headers needed to be from an arm configured kernel so i set the prefix to
the root of my cross toolchain whemn i configured.
everything builds but when i try to read an arm core i get a warning about
the size of the gregset struct in the core (so possibly i am truly not
including the correct headers??)
trying a few more things...
sany help is GREATLY appreciated....
:]k
-----Original Message-----
From: Kevin Buettner [mailto:kevinb@redhat.com]
Sent: Thursday, May 16, 2002 3:24 PM
To: Kevin "Squail" Endres; 'Daniel Jacobowitz'; Richard.Earnshaw@arm.com
Cc: gdb@sources.redhat.com
Subject: Re: cross targeted gdb and corefiles
On May 16, 3:01pm, Kevin \Squail\ Endres wrote:
> i moved the supply_* functions from i386-nat (only ones i could find in
the
> gdb source)to arm-linux-tdep.c.
> (given that there is no fp on arm - is the supply_fpregset really
> necessary???)
I haven't been following this closely, but I think you need to move the
supply_* functions from the arm version of the nat.c file to the arm
tdep.c file.
You have to make sure that there aren't any host dependencies though.
I.e, you can't make use of system header files.
Kevin