convert to_thread_address_space to use TARGET_DEFAULT_FUNC
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-06-04 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.
This commit is contained in:
parent
03388bb71c
commit
8eaff7cd13
4 changed files with 44 additions and 23 deletions
|
@ -772,7 +772,8 @@ struct target_ops
|
|||
The default implementation always returns the inferior's
|
||||
address space. */
|
||||
struct address_space *(*to_thread_address_space) (struct target_ops *,
|
||||
ptid_t);
|
||||
ptid_t)
|
||||
TARGET_DEFAULT_FUNC (default_thread_address_space);
|
||||
|
||||
/* Target file operations. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue