This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] convert to_thread_address_space to use TARGET_DEFAULT_FUNC


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]