2011-05-20 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Fri, 20 May 2011 16:31:31 +0000 (16:31 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 20 May 2011 16:31:31 +0000 (16:31 +0000)
commit09cee04be9e51b992fd835e7fa671d3b65448a6b
treefe2d3c07280753606639cd25a9d182906b5ff68f
parent751b8ce122ef06e9bd673542e7876f44dcd0165c
2011-05-20  Pedro Alves  <pedro@codesourcery.com>

gdb/
* infcmd.c: Include "inf-loop.h".
(step_once): When stepping into an inline subroutine, pretend the
target has run.  If the target can async, switch the inferior
event loop to INF_EXEC_COMPLETE.
* inferior.h (user_visible_resume_ptid): Declare.
* infrun.c (user_visible_resume_ptid): New function, factored out
from `resume'.
(resume): Use it.
* mi/mi-main.c (mi_execute_async_cli_command): Remove assertion
that the current thread is running.  Merge async and sync
branches.
gdb/ChangeLog
gdb/infcmd.c
gdb/inferior.h
gdb/infrun.c
gdb/mi/mi-main.c