Query to find out the state of the target
Øyvind Harboe
oyvind.harboe@zylin.com
Wed Nov 17 19:48:00 GMT 2004
I'm trying to figure out what command to issue to GDB to find
out the state of the target. Presumably the complete list of GDB target
states are "running", "suspended" or "disconnected".
"info remote-process" is unsuitable, because it isn't supported by all
types of targets(e.g. deeply embedded targets typically have no
process).
The reason why I'd like to find out the state of the target, is to
update the GUI state in my embedded Eclipse CDT GUI plugin accordingly.
After the execution of the .gdbinit script, the state of the target will
be unknown as the user can place it in all three states...
http://www.zylin.com/embeddedcdt.html
--
Øyvind Harboe
http://www.zylin.com
More information about the Gdb
mailing list