diff options
Diffstat (limited to 'gdb/infrun.h')
-rw-r--r-- | gdb/infrun.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/infrun.h b/gdb/infrun.h index 2067fd5..c7c8555 100644 --- a/gdb/infrun.h +++ b/gdb/infrun.h @@ -65,13 +65,13 @@ infrun_debug_show_threads (const char *title, ThreadRange threads) INFRUN_SCOPED_DEBUG_ENTER_EXIT; infrun_debug_printf ("%s:", title); - for (thread_info *thread : threads) + for (thread_info &thread : threads) infrun_debug_printf (" thread %s, executing = %d, resumed = %d, " "state = %s", - thread->ptid.to_string ().c_str (), - thread->executing (), - thread->resumed (), - thread_state_string (thread->state)); + thread.ptid.to_string ().c_str (), + thread.executing (), + thread.resumed (), + thread_state_string (thread.state)); } } @@ -256,7 +256,8 @@ extern void print_stop_event (struct ui_out *uiout, bool displays = true); /* Pretty print the results of target_wait, for debugging purposes. */ extern void print_target_wait_results (ptid_t waiton_ptid, ptid_t result_ptid, - const struct target_waitstatus &ws); + const struct target_waitstatus &ws, + process_stratum_target *proc_target); extern int signal_stop_state (int); |