From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19496 invoked by alias); 1 Feb 2013 06:37:44 -0000 Received: (qmail 19300 invoked by uid 22791); 1 Feb 2013 06:37:42 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-pa0-f42.google.com (HELO mail-pa0-f42.google.com) (209.85.220.42) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Feb 2013 06:37:36 +0000 Received: by mail-pa0-f42.google.com with SMTP id rl6so2139951pac.29 for ; Thu, 31 Jan 2013 22:37:35 -0800 (PST) X-Received: by 10.68.231.137 with SMTP id tg9mr29232967pbc.45.1359700655200; Thu, 31 Jan 2013 22:37:35 -0800 (PST) Received: from bubble.grove.modra.org ([101.166.26.37]) by mx.google.com with ESMTPS id t6sm8142318paz.11.2013.01.31.22.37.30 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Jan 2013 22:37:34 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 9DA9AEA1D8F; Fri, 1 Feb 2013 17:07:25 +1030 (CST) Date: Fri, 01 Feb 2013 06:37:00 -0000 From: Alan Modra To: Pedro Alves Cc: binutils@sourceware.org, jan.kratochvil@redhat.com, hongjiu.lu@intel.com, gdb-patches@sourceware.org, sergiodj@redhat.com Subject: Re: [PATCH 1/2] New entry points for writing Linux NT_PRPSINFO notes. Message-ID: <20130201063725.GC30945@bubble.grove.modra.org> Mail-Followup-To: Pedro Alves , binutils@sourceware.org, jan.kratochvil@redhat.com, hongjiu.lu@intel.com, gdb-patches@sourceware.org, sergiodj@redhat.com References: <510AA7A3.4010702@redhat.com> <20130131230438.17941.90460.stgit@brno.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130131230438.17941.90460.stgit@brno.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2013-02/txt/msg00002.txt.bz2 On Thu, Jan 31, 2013 at 11:04:38PM +0000, Pedro Alves wrote: > * Makefile.in (SOURCE_HFILES): Add `elf-linux-psinfo.h'. > * elf-bfd.h (elf_internal_linux_prpsinfo): New structure > declaration. > (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64) > (elfcore_write_ppc32_linux_prpsinfo32): New declarations. > * elf-linux-psinfo.h: New file. > * elf.c: Include elf-linux-psinfo.h. > (elfcore_write_linux_prpsinfo32, elfcore_write_linux_prpsinfo64): > New functions. > * elf32-ppc.c: Include `elf-linux-psinfo.h'. > (elf_external_ppc_linux_prpsinfo32): New structure declaration. > (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): New macro. > (elfcore_write_ppc_linux_prpsinfo32): New function. Looks good to me. -- Alan Modra Australia Development Lab, IBM