forked from Imagelibrary/binutils-gdb
gdbserver: make thread_target_data a method of thread_info
Make the field private, change the free function to be a method. Change-Id: I05010e7d1bd58ce3895802eb263c029528427758 Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
@@ -715,7 +715,7 @@ extern linux_process_target *the_linux_target;
|
||||
static inline lwp_info *
|
||||
get_thread_lwp (thread_info *thr)
|
||||
{
|
||||
return static_cast<lwp_info *> (thread_target_data (thr));
|
||||
return static_cast<lwp_info *> (thr->target_data ());
|
||||
}
|
||||
|
||||
/* Information about a signal that is to be delivered to a thread. */
|
||||
|
||||
Reference in New Issue
Block a user