Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Joseph S. Myers" <joseph@codesourcery.com>
To: xingxing pan <forandom@gmail.com>
Cc: gdb <gdb@sourceware.org>
Subject: Re: About the initialization of 'struct linux_record_tdep'
Date: Thu, 14 Oct 2010 16:40:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.64.1010141639130.2442@digraph.polyomino.org.uk> (raw)
In-Reply-To: <AANLkTin0mGE8vyjy9Cj_j7+nxR+QaHP+M-F+c4q4xocd@mail.gmail.com>

On Thu, 14 Oct 2010, xingxing pan wrote:

> Hi. I'm just porting the process record function to an ARM similar arch.
> To initialize the struct linux_record_tdep, one has to collect the
> size of various types.
> Is there some way to do this beside diving into the kernel source or
> system including files?
> Why not finish the collecting during the configure stage?

You don't generally have target headers available when configuring GDB, 
only those for the host system, and it is also possible that a single GDB 
configuration supports multiple target ABIs (32-bit and 64-bit say).

-- 
Joseph S. Myers
joseph@codesourcery.com


  parent reply	other threads:[~2010-10-14 16:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14  1:46 xingxing pan
2010-10-14  3:11 ` Hui Zhu
2010-10-14 16:40 ` Joseph S. Myers [this message]
2010-10-20 13:08   ` Hui Zhu

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=Pine.LNX.4.64.1010141639130.2442@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=forandom@gmail.com \
    --cc=gdb@sourceware.org \
    /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