Make thread_still_needs_step_over consider stepping_over_watchpoint too
authorPedro Alves <palves@redhat.com>
Fri, 7 Aug 2015 16:23:57 +0000 (17:23 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 7 Aug 2015 16:23:57 +0000 (17:23 +0100)
commit6c4cfb244b408f980be24ea2175bc58baf74a6f9
tree452e3d92b8d2dfe5b0ed1a28795e9bb694b76560
parent567420d10895611e03d5ee65e6b24c16a69a6e99
Make thread_still_needs_step_over consider stepping_over_watchpoint too

I noticed that even though keep_going knows to start a step over for a
watchpoint, thread_still_needs_step_over forgets it.

gdb/ChangeLog:
2015-08-07  Pedro Alves  <palves@redhat.com>

* infrun.c (thread_still_needs_step_over): Rename to ...
(thread_still_needs_step_over_bp): ... this.
(enum step_over_what): New.
(thread_still_needs_step_over): Reimplement.
gdb/ChangeLog
gdb/infrun.c