convert to_thread_address_space to use TARGET_DEFAULT_FUNC
authorTom Tromey <tromey@redhat.com>
Fri, 21 Feb 2014 17:33:42 +0000 (10:33 -0700)
committerTom Tromey <tromey@redhat.com>
Wed, 4 Jun 2014 15:24:27 +0000 (09:24 -0600)
commit8eaff7cd138d8517f8c2fbc8be9b8c6eaf649bd9
tree93cb713503e1e533b60619692d6529ed82bfca18
parent03388bb71c1a1d1c613bb963f3d9287cfd100138
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.
gdb/ChangeLog
gdb/target-delegates.c
gdb/target.c
gdb/target.h