This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] convert to_thread_address_space to use TARGET_DEFAULT_FUNC
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>, gdb-patches at sourceware dot org
- Date: Wed, 21 May 2014 19:15:12 +0100
- Subject: Re: [PATCH] convert to_thread_address_space to use TARGET_DEFAULT_FUNC
- Authentication-results: sourceware.org; auth=none
- References: <1400685640-27786-1-git-send-email-tromey at redhat dot com>
On 05/21/2014 04:20 PM, Tom Tromey wrote:
> This converts to_thread_address_space to use TARGET_DEFAULT_FUNC.
>
> This method was one of a handful not using the normal target
> delegation approach. The only rationale here is consistency in the
> target vector.
>
> Built and regtested on x86-64 Fedora 20.
>
> 2014-05-21 Tom Tromey <tromey@redhat.com>
>
> * target-delegates.c: Rebuild.
> * target.c (default_thread_address_space): New function.
> (target_thread_address_space): Simplify.
> * target.h (struct target_ops) <to_thread_address_space>: Add
> TARGET_DEFAULT_FUNC.
Looks fine.
Thanks,
--
Pedro Alves