gdb: fix comment of get_displaced_stepping_state

The comment mentions PID instead of INF, fix that.

gdb/ChangeLog:

	* infrun.c (get_displaced_stepping_state): Fix comment.

Change-Id: Id9554807c50792db1fcdb7c14590397d1fa6f8f7
This commit is contained in:
Simon Marchi 2020-10-20 16:10:42 -04:00
parent a9b45cb776
commit 2eb20436fa
2 changed files with 5 additions and 1 deletions

View 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.

View 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)