From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25216 invoked by alias); 14 Oct 2010 01:46:13 -0000 Received: (qmail 25206 invoked by uid 22791); 14 Oct 2010 01:46:11 -0000 X-SWARE-Spam-Status: No, hits=-1.7 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-iw0-f169.google.com (HELO mail-iw0-f169.google.com) (209.85.214.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 14 Oct 2010 01:46:03 +0000 Received: by iwn1 with SMTP id 1so10668565iwn.0 for ; Wed, 13 Oct 2010 18:46:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.161.68 with SMTP id q4mr7776064ibx.79.1287020761027; Wed, 13 Oct 2010 18:46:01 -0700 (PDT) Received: by 10.231.117.37 with HTTP; Wed, 13 Oct 2010 18:46:00 -0700 (PDT) Date: Thu, 14 Oct 2010 01:46:00 -0000 Message-ID: Subject: About the initialization of 'struct linux_record_tdep' From: xingxing pan To: gdb Content-Type: text/plain; charset=ISO-8859-1 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/msg00044.txt.bz2 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.