forked from Imagelibrary/binutils-gdb
gdbserver: remove lwpid_of(thread)
This function doesn't seem so useful. Use `thread_info:🆔:lwp` directly. Change-Id: Ib4a86eeeee6c1342bc1c092f083589ce28009be1 Reviewed-By: Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
This commit is contained in:
@@ -144,14 +144,6 @@ pid_of (const thread_info *thread)
|
||||
return thread->id.pid ();
|
||||
}
|
||||
|
||||
/* Get the lwp of THREAD. */
|
||||
|
||||
static inline long
|
||||
lwpid_of (const thread_info *thread)
|
||||
{
|
||||
return thread->id.lwp ();
|
||||
}
|
||||
|
||||
/* Switch the current thread. */
|
||||
|
||||
void switch_to_thread (thread_info *thread);
|
||||
|
||||
Reference in New Issue
Block a user