aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-10-20 16:10:42 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-10-20 16:10:42 -0400
commit2eb20436fae06676fcffd96fef63ec6e14a2cacf (patch)
tree0c62dd728ecc9cff21739a3bb518951c00a2810d /gdb
parenta9b45cb77662d0bb8d312140eee94146f34bd3ce (diff)
downloadgdb-2eb20436fae06676fcffd96fef63ec6e14a2cacf.zip
gdb-2eb20436fae06676fcffd96fef63ec6e14a2cacf.tar.gz
gdb-2eb20436fae06676fcffd96fef63ec6e14a2cacf.tar.bz2
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
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/infrun.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 916342e..0089dc7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 8ae39a2..0a41bb3 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -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)