mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
darwin-nat.c: fix broken build caused by typing issues from 1ad8737b
1ad8737b is gdb: change inf_threads_iterator to yield references
Change-Id: Ic9478f4a292c3309481b16ace24ee23e82bbed4a
Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
@@ -1692,10 +1692,10 @@ thread_info_from_private_thread_info (darwin_thread_info *pti)
|
||||
{
|
||||
for (struct thread_info &it : all_threads ())
|
||||
{
|
||||
darwin_thread_info *iter_pti = get_darwin_thread_info (it);
|
||||
darwin_thread_info *iter_pti = get_darwin_thread_info (&it);
|
||||
|
||||
if (iter_pti->gdb_port == pti->gdb_port)
|
||||
return it;
|
||||
return ⁢
|
||||
}
|
||||
|
||||
gdb_assert_not_reached ("did not find gdb thread for darwin thread");
|
||||
|
||||
Reference in New Issue
Block a user