diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/darwin-nat.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7eb3b92..cd71dc3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2019-05-16 Tom Tromey <tromey@adacore.com> + + * darwin-nat.c (thread_info_from_private_thread_info): Add struct + keyword to foreach. + 2019-05-15 Simon Marchi <simon.marchi@efficios.com> * linux-thread-db.c (try_thread_db_load_1): Change return type diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index e3368ce..8282ef2 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -1706,7 +1706,7 @@ darwin_attach_pid (struct inferior *inf) static struct thread_info * thread_info_from_private_thread_info (darwin_thread_info *pti) { - for (thread_info *it : all_threads ()) + for (struct thread_info *it : all_threads ()) { darwin_thread_info *iter_pti = get_darwin_thread_info (it); |