From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20652 invoked by alias); 9 Jul 2014 13:08:15 -0000 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 Received: (qmail 20642 invoked by uid 89); 9 Jul 2014 13:08:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f175.google.com Received: from mail-wi0-f175.google.com (HELO mail-wi0-f175.google.com) (209.85.212.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 09 Jul 2014 13:08:13 +0000 Received: by mail-wi0-f175.google.com with SMTP id ho1so2726953wib.2 for ; Wed, 09 Jul 2014 06:08:10 -0700 (PDT) X-Received: by 10.194.205.65 with SMTP id le1mr42157811wjc.67.1404911290595; Wed, 09 Jul 2014 06:08:10 -0700 (PDT) Received: from [192.168.0.102] (bl16-23-176.dsl.telepac.pt. [188.81.23.176]) by mx.google.com with ESMTPSA id u10sm103290301wjz.43.2014.07.09.06.08.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 09 Jul 2014 06:08:09 -0700 (PDT) Message-ID: <53BD3EB7.4010904@gmail.com> Date: Wed, 09 Jul 2014 13:08:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Gary Benson , gdb-patches@sourceware.org CC: Mark Kettenis Subject: Re: [PATCH 3/7 v2] Merge ps_get_thread_area References: <1403878351-22974-1-git-send-email-gbenson@redhat.com> <1403878351-22974-4-git-send-email-gbenson@redhat.com> In-Reply-To: <1403878351-22974-4-git-send-email-gbenson@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-07/txt/msg00180.txt.bz2 On 06/27/2014 03:12 PM, Gary Benson wrote: > This commit adds a new helper, x86_linux_get_thread_area, to > hold the common parts of the ps_get_thread_area functions in > i386-linux-nat.c and amd64-linux-nat.c. > > This patch is unchanged from the original version in this series. > > gdb/ > 2014-06-27 Gary Benson > > * amd64-linux-nat.c (x86_linux_get_thread_area): New function. > (ps_get_thread_area): Delegate to the above in 32-bit mode. > * i386-linux-nat.c (x86_linux_get_thread_area): New function. > (ps_get_thread_area): Delegate to the above. Looks good to me, thanks. -- Pedro Alves