Decide whether we may have removed breakpoints based on step_over_info
authorPedro Alves <palves@redhat.com>
Wed, 15 Oct 2014 19:18:29 +0000 (20:18 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 15 Oct 2014 19:18:29 +0000 (20:18 +0100)
commit6cc83d2a4000e89e4f6f2eb33ffade2d72acfa0f
tree9415d62e45ee263efd81457fcb1f6ab234065655
parenta2abc7de6804e7e9882a86375767b24a6c215f28
Decide whether we may have removed breakpoints based on step_over_info

... instead of trap_expected.

Gets rid of one singlestep_breakpoints_inserted_p reference, and is
generally more to the point.

gdb/
2014-10-15  Pedro Alves  <palves@redhat.com>

* infrun.c (step_over_info_valid_p): New function.
(resume): Use step_over_info_valid_p instead of checking the
threads's trap_expected flag.
gdb/ChangeLog
gdb/infrun.c