Update comments

These functions were modified in the previous patch series, but I forgot
to update some comments.

gdb/gdbserver/ChangeLog:

	* linux-low.c (resume_status_pending_p): Update comment.
	(need_step_over_p): Update comment.
This commit is contained in:
Simon Marchi
2017-12-02 20:36:44 -05:00
parent e2b4407579
commit 8f86d7aa85
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2017-12-02 Simon Marchi <simon.marchi@polymtl.ca>
* linux-low.c (resume_status_pending_p): Update comment.
(need_step_over_p): Update comment.
2017-12-02 Simon Marchi <simon.marchi@polymtl.ca>
* linux-low.c (proceed_one_lwp): Return void, change parameter

View File

@ -4625,8 +4625,8 @@ linux_set_resume_request (thread_info *thread, thread_resume *resume, size_t n)
lwp->resume = NULL;
}
/* find_inferior callback for linux_resume.
Set *FLAG_P if this lwp has an interesting status pending. */
/* find_thread callback for linux_resume. Return true if this lwp has an
interesting status pending. */
static bool
resume_status_pending_p (thread_info *thread)
@ -4760,7 +4760,7 @@ need_step_over_p (thread_info *thread)
lwpid_of (thread), paddress (pc));
/* We've found an lwp that needs stepping over --- return 1 so
that find_inferior stops looking. */
that find_thread stops looking. */
current_thread = saved_thread;
return true;