This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/7 v2] Merge ps_get_thread_area
- From: Pedro Alves <alves dot ped at gmail dot com>
- To: Gary Benson <gbenson at redhat dot com>, gdb-patches at sourceware dot org
- Cc: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Date: Wed, 09 Jul 2014 14:08:07 +0100
- Subject: Re: [PATCH 3/7 v2] Merge ps_get_thread_area
- Authentication-results: sourceware.org; auth=none
- References: <1403878351-22974-1-git-send-email-gbenson at redhat dot com> <1403878351-22974-4-git-send-email-gbenson at redhat dot com>
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 <gbenson@redhat.com>
>
> * 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