gdb: fix comment of get_displaced_stepping_state
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 20 Oct 2020 20:10:42 +0000 (16:10 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 20 Oct 2020 20:10:42 +0000 (16:10 -0400)
The comment mentions PID instead of INF, fix that.

gdb/ChangeLog:

* infrun.c (get_displaced_stepping_state): Fix comment.

Change-Id: Id9554807c50792db1fcdb7c14590397d1fa6f8f7

gdb/ChangeLog
gdb/infrun.c

index 916342e79fc9d5d84f0cad63f619931677307f05..0089dc7829293e2160fe2b489077cc2da22b0ac4 100644 (file)
@@ -1,3 +1,7 @@
+2020-10-20  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * infrun.c (get_displaced_stepping_state): Fix comment.
+
 2020-10-20  Andreas Schwab  <schwab@linux-m68k.org>
 
        * cli/cli-cmds.c (_initialize_cli_cmds): Fix alias command help.
index 8ae39a2877b3152b10c65437833884fb631c4248..0a41bb31cc3b49c6b4eee84f5178853f02752b12 100644 (file)
@@ -1477,7 +1477,7 @@ step_over_info_valid_p (void)
 
 displaced_step_closure::~displaced_step_closure () = default;
 
-/* Get the displaced stepping state of process PID.  */
+/* Get the displaced stepping state of inferior INF.  */
 
 static displaced_step_inferior_state *
 get_displaced_stepping_state (inferior *inf)