diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-08-19 13:57:28 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-08-19 13:57:28 +0000 |
commit | 7f7efbd95fbc488424ef541bc1ddb5f3e1964bbb (patch) | |
tree | 7795a0588856ff20d9cc3816e51133826debf87f /gdb/infrun.c | |
parent | 9908b56683c3fce81b58ff5ee888741790f516d0 (diff) | |
download | gdb-7f7efbd95fbc488424ef541bc1ddb5f3e1964bbb.zip gdb-7f7efbd95fbc488424ef541bc1ddb5f3e1964bbb.tar.gz gdb-7f7efbd95fbc488424ef541bc1ddb5f3e1964bbb.tar.bz2 |
* infrun.c (resume): If the thread is placed to the deferred step
queue, mark it as running.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 19b3229..5d42004 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -995,7 +995,11 @@ a command like `return' or `jump' to continue execution.")); { /* Got placed in displaced stepping queue. Will be resumed later when all the currently queued displaced stepping - requests finish. */ + requests finish. The thread is not executing at this point, + and the call to set_executing will be made later. But we + need to call set_running here, since from frontend point of view, + the thread is running. */ + set_running (inferior_ptid, 1); discard_cleanups (old_cleanups); return; } |