diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/infrun.c | 5 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 89dff4b..75e7ee1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/infrun.c b/gdb/infrun.c index 942c3df..c2acea6 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -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) |