mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
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:
@@ -1,3 +1,8 @@
|
||||
2020-10-21 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* infrun.c (displaced_step_in_progress_thread): Fix comment.
|
||||
(displaced_step_in_progress): Fix comment.
|
||||
|
||||
2020-10-21 Simon Marchi <simon.marchi@polymtl.ca>
|
||||
|
||||
* gdbarch.sh (make_corefile_notes): Return unique pointer.
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user