Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: "Kevin \"Squail\" Endres" <kevine@wildseed.com>,
	"'Kevin Buettner'" <kevinb@redhat.com>,
	"'Daniel Jacobowitz'" <drow@mvista.com>,
	Richard.Earnshaw@arm.com
Cc: gdb@sources.redhat.com
Subject: Re: cross targeted gdb and corefiles
Date: Thu, 16 May 2002 15:33:00 -0000	[thread overview]
Message-ID: <1020516223307.ZM19790@localhost.localdomain> (raw)
In-Reply-To: "Kevin \"Squail\" Endres" <kevine@wildseed.com> "RE: cross targeted gdb and corefiles" (May 16,  3:27pm)

On May 16,  3:27pm, Kevin \Squail\ Endres wrote:

> 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??)

The trick is to not depend on the headers at all.

One way to do this is to define (in the tdep.c file) the necessary
structs entirely in terms of chars.  (This includes adding in any ABI
mandated padding between fields.)

Kevin


  reply	other threads:[~2002-05-16 22:33 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-16 15:28 Kevin "Squail" Endres
2002-05-16 15:33 ` Kevin Buettner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-05-16 17:18 Kevin "Squail" Endres
2002-05-16 16:28 Kevin "Squail" Endres
2002-05-17  8:06 ` Daniel Jacobowitz
2002-05-16 16:05 Kevin "Squail" Endres
2002-05-16 16:17 ` Kevin Buettner
2002-05-16 15:56 Kevin "Squail" Endres
2002-05-16 15:55 Kevin "Squail" Endres
2002-05-16 15:43 Kevin "Squail" Endres
2002-05-16 15:53 ` Kevin Buettner
2002-05-16 15:01 Kevin "Squail" Endres
2002-05-16 15:23 ` Kevin Buettner
2002-05-16 16:18   ` Jason R Thorpe
2002-05-17  8:20 ` Richard Earnshaw
2002-05-16 11:35 Kevin "Squail" Endres
2002-05-16 10:28 Kevin "Squail" Endres
2002-05-16 10:10 Kevin "Squail" Endres
2002-05-16 10:25 ` Richard Earnshaw
2002-05-16 11:07   ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1020516223307.ZM19790@localhost.localdomain \
    --to=kevinb@redhat.com \
    --cc=Richard.Earnshaw@arm.com \
    --cc=drow@mvista.com \
    --cc=gdb@sources.redhat.com \
    --cc=kevine@wildseed.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox