Use do_target_resume when stepping past permanent breakpoint too
authorPedro Alves <palves@redhat.com>
Wed, 1 Apr 2015 14:24:54 +0000 (14:24 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 1 Apr 2015 13:29:05 +0000 (14:29 +0100)
commit1ac806b8a7d0c09a0052751262f37336fb06bf6f
tree6c38c3a4472e72d814ab91deff0329dc619225e5
parent2ee52aa4283145a0f9417986b2f3d7f91e61b1b0
Use do_target_resume when stepping past permanent breakpoint too

We can use the recently added do_target_resume do simplify the code a
bit here.

Tested on x86_64 Fedora 20.

gdb/ChangeLog:
2015-04-01  Pedro Alves  <palves@redhat.com>

* infrun.c (resume) <step past permanent breakpoint>: Use
do_target_resume.
gdb/ChangeLog
gdb/infrun.c