gdb/infcmd: update the comment for 'attach_post_wait'

gdb/ChangeLog:
2021-04-22  Tankut Baris Aktemur  <tankut.baris.aktemur@intel.com>

	* infcmd.c (attach_post_wait): Update the function comment.
This commit is contained in:
Tankut Baris Aktemur 2021-04-22 17:22:38 +02:00
parent 27d0790a58
commit 6fee5eee88
2 changed files with 7 additions and 3 deletions

View file

@ -2467,8 +2467,8 @@ enum attach_post_wait_mode
};
/* Called after we've attached to a process and we've seen it stop for
the first time. If ASYNC_EXEC is true, re-resume threads that
should be running. Else if ATTACH, */
the first time. Resume, stop, or don't touch the threads according
to MODE. */
static void
attach_post_wait (int from_tty, enum attach_post_wait_mode mode)
@ -2486,7 +2486,7 @@ attach_post_wait (int from_tty, enum attach_post_wait_mode mode)
/* The user requested an `attach&', so be sure to leave threads
that didn't get a signal running. */
/* Immediatelly resume all suspended threads of this inferior,
/* Immediately resume all suspended threads of this inferior,
and this inferior only. This should have no effect on
already running threads. If a thread has been stopped with a
signal, leave it be. */