Don't rely on ecs->wait_for_more.
authorPedro Alves <palves@redhat.com>
Wed, 9 Jul 2008 22:36:51 +0000 (22:36 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 9 Jul 2008 22:36:51 +0000 (22:36 +0000)
commit59f0d5d9531817d3bb09aeef8fd33515b51a7cba
treee31df612e649faece54b417c6d799be545b9f9e7
parent0d1e5fa71a5d8e2f5df7494830a5a3053eeaec71
Don't rely on ecs->wait_for_more.

* infrun.c (proceed): Clear the stepping state, set
previous_inferior_ptid and clear infwait state.
(wait_for_inferior): Don't clear the stepping state, set
previous_inferior_ptid, or clear the infwait state here.
(fetch_inferior_event): Don't clear the stepping state, set
previous_inferior_ptid, or clear the infwait state here.  Don't
condition on wait_for_more.
gdb/ChangeLog
gdb/infrun.c