[PATCH 3/7 v2] Merge ps_get_thread_area
Pedro Alves
alves.ped@gmail.com
Wed Jul 9 13:08:00 GMT 2014
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
More information about the Gdb-patches
mailing list