Update thread_control_state::trap_expected comments
authorPedro Alves <palves@redhat.com>
Wed, 17 Jun 2020 10:56:43 +0000 (11:56 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 17 Jun 2020 10:56:43 +0000 (11:56 +0100)
commitb25e22fd1698b600310fc56f01b6005b5a3f6227
tree8b78053a001bc4dfcdaa47819f823d18260a57fb
parenta78a19b15254de31c3d38b7e27469aaef0a30e97
Update thread_control_state::trap_expected comments

The comments describing trap_expected are out of date.  It
predates displaced stepping and non-stop mode ("keep other threads
stopped").  It predates stepping over watchpoints with breakpoints
inserted (keep_going_pass_signal).  Says the variable is cleared
in normal_stop, when it isn't.  This fixes it.

gdb/ChangeLog:
2020-06-17  Pedro Alves  <palves@redhat.com>

* gdbthread.h (thread_control_state) <trap_expected> Update
comments.
gdb/ChangeLog
gdb/gdbthread.h