gdb: fix two comments in infrun
These comments are stale, they refer to non-existent parameters. Fix that. gdb/ChangeLog: * infrun.c (displaced_step_in_progress_thread): Fix comment. (displaced_step_in_progress): Fix comment. Change-Id: I7a39f1338fbfbf73153b49cbca0345d495d12762
This commit is contained in:
parent
0d01fbe64f
commit
a46d184353
2 changed files with 7 additions and 3 deletions
|
@ -1500,8 +1500,7 @@ displaced_step_in_progress_any_inferior ()
|
|||
return false;
|
||||
}
|
||||
|
||||
/* Return true if thread represented by PTID is doing a displaced
|
||||
step. */
|
||||
/* Return true if THREAD is doing a displaced step. */
|
||||
|
||||
static bool
|
||||
displaced_step_in_progress_thread (thread_info *thread)
|
||||
|
@ -1511,7 +1510,7 @@ displaced_step_in_progress_thread (thread_info *thread)
|
|||
return get_displaced_stepping_state (thread->inf)->step_thread == thread;
|
||||
}
|
||||
|
||||
/* Return true if process PID has a thread doing a displaced step. */
|
||||
/* Return true if INF has a thread doing a displaced step. */
|
||||
|
||||
static bool
|
||||
displaced_step_in_progress (inferior *inf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue