[RFC] 01/10 Add "executing" property

Pedro Alves pedro@codesourcery.com
Tue May 6 15:49:00 GMT 2008


The "running" property being added is a frontend view of the thread.
While doing a step for instance, the inferior starts/stops several
times while single-stepping.  We only clear the "running" state of
the inferior when it does a normal_stop.  This is to prevent bombarding
the frontend with a bunch of internal events.

This patch adds a new field, that altough similar to "running" 
has a different usage.  It replaces the current target_executing
global with a similar per-thread concept.  We can then use the
is_executing check whenever we need to be sure the selected thread
is stopped or executing.

-- 
Pedro Alves
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 001-is_executing.diff
Type: text/x-diff
Size: 20153 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080506/7a3968ff/attachment.bin>


More information about the Gdb-patches mailing list