From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24033 invoked by alias); 14 Oct 2010 03:11:17 -0000 Received: (qmail 24025 invoked by uid 22791); 14 Oct 2010 03:11:16 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-ww0-f43.google.com (HELO mail-ww0-f43.google.com) (74.125.82.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Oct 2010 03:11:02 +0000 Received: by wwe15 with SMTP id 15so5697665wwe.12 for ; Wed, 13 Oct 2010 20:11:00 -0700 (PDT) Received: by 10.227.151.148 with SMTP id c20mr9543593wbw.15.1287025860022; Wed, 13 Oct 2010 20:11:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.169.14 with HTTP; Wed, 13 Oct 2010 20:10:39 -0700 (PDT) In-Reply-To: References: From: Hui Zhu Date: Thu, 14 Oct 2010 03:11:00 -0000 Message-ID: Subject: Re: About the initialization of 'struct linux_record_tdep' To: xingxing pan Cc: gdb Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00046.txt.bz2 Why not? Maybe you can work on it first. :) Hui On Thu, Oct 14, 2010 at 09:46, 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? > > Thank you. >