From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1797 invoked by alias); 16 May 2002 22:28:11 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 1780 invoked from network); 16 May 2002 22:28:10 -0000 Received: from unknown (HELO neptune.kirkland.local) (12.104.72.61) by sources.redhat.com with SMTP; 16 May 2002 22:28:10 -0000 Received: by neptune.kirkland.local with Internet Mail Service (5.5.2650.21) id ; Thu, 16 May 2002 15:28:08 -0700 Message-ID: <43CB1396676FD4119F03001083FD2994F5F224@neptune.kirkland.local> From: "Kevin \"Squail\" Endres" To: 'Kevin Buettner' , "Kevin \"Squail\" Endres" , 'Daniel Jacobowitz' , Richard.Earnshaw@arm.com Cc: gdb@sources.redhat.com Subject: RE: cross targeted gdb and corefiles Date: Thu, 16 May 2002 15:28:00 -0000 MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2002-05/txt/msg00201.txt.bz2 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