OSDN Git Service

Don't rely on ecs->wait_for_more.
authorPedro Alves <pedro@codesourcery.com>
Wed, 9 Jul 2008 22:36:51 +0000 (22:36 +0000)
committerPedro Alves <pedro@codesourcery.com>
Wed, 9 Jul 2008 22:36:51 +0000 (22:36 +0000)
commit37ea67e612e9f286ca331ce1ef796b6bcd3b2916
treeef441dcca3f6b357d47eb2f7dec3e4b611e0410f
parent4b659a2272ef08ec11098e3087e65248f9860491
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